Re: [GENERAL] Recreating indices safely

2001-09-20 Thread Denis Perchine
On Wednesday 19 September 2001 11:25, Tom Lane wrote: > Denis Perchine <[EMAIL PROTECTED]> writes: > > BTW, using begin; lock table; create index;drop index;commit; is not > > working, > > ?? > > regression=# create table foo (f1 text); > CREATE > re

Re: [GENERAL] Recreating indices safely

2001-09-19 Thread Denis Perchine
On Wednesday 19 September 2001 11:25, Tom Lane wrote: > Denis Perchine <[EMAIL PROTECTED]> writes: > > BTW, using begin; lock table; create index;drop index;commit; is not > > working, > > ?? > > regression=# create table foo (f1 text); > CREATE > re

Re: [GENERAL] Re: Perfomance decreasing

2001-08-20 Thread Denis Perchine
updates it is not an issue too (I mean if do not update more than 25% of DB each day). Actually for anyone listening for such advices I would recommend to create a test installation, and stress test it before go to production. Interbase has its own problems. -- Sincerely Yours, Denis Perchi

Re: [GENERAL] memory leaks fixed?

2001-04-08 Thread Denis Perchine
There are some still. Although not that large as mentioned in the comments. If you have long-running cursor, and tables involved in this cursor are heavily updated, you will end with 200Mb postmaster in 1-2 days. -- Sincerely Yours, Denis Perchine -- E-Mail: [EMAIL PROT

[GENERAL] Postgres eats up memory when using cursors

2001-02-28 Thread Denis Perchine
. -- Sincerely Yours, Denis Perchine -- E-Mail: [EMAIL PROTECTED] HomePage: http://www.perchine.com/dyp/ FidoNet: 2:5000/120.5 --

Re: [GENERAL] postgres load

2001-02-21 Thread Denis Perchine
jump from 8 in load to 32 without any real reason > nor too > much requests. > > I already do vacuum even on the fly ifever that can decrease > load, but > nothing... > > I've done many indexed also... > > Can someone hel

Re: [GENERAL] Re: Load a database into memory

2001-01-25 Thread Denis Perchine
records take a so long time ? :-/ Which queries? Could you please provide explain of them? Could you please provide execution stats for them under load? -- Sincerely Yours, Denis Perchine -- E-Mail: [EMAIL PROTECTED] HomePage: http://www.perchine.com/dyp/ FidoNet: 2:5000/120.5 --

Re: [GENERAL] Problems with order by, limit, and indices

2001-01-07 Thread Denis Perchine
EXPLAIN Cost is something really wierd Why? -- Sincerely Yours, Denis Perchine -- E-Mail: [EMAIL PROTECTED] HomePage: http://www.perchine.com/dyp/ FidoNet: 2:5000/120.5 --

Re: [GENERAL] Problems with order by, limit, and indices

2001-01-06 Thread Denis Perchine
n select * from users where variant_id=5 AND active='f' order by rcptdate,variant_id,active limit 60; NOTICE: QUERY PLAN: Limit (cost=13005.10..13005.10 rows=60 width=145) -> Sort (cost=13005.10..13005.10 rows=3445 width=145) -> Index Scan using users_rcptdate_vid_key on users (cost=0.00..12658.35 rows=3445 width=145) EXPLAIN -- Sincerely Yours, Denis Perchine -- E-Mail: [EMAIL PROTECTED] HomePage: http://www.perchine.com/dyp/ FidoNet: 2:5000/120.5 --

Re: [GENERAL] overhead of "small" large objects

2000-12-11 Thread Denis Perchine
type, > and pg_index, plus the indexes on those tables, but that doesn't seem > like it'd amount to anything close to 8K per LO. > > 7.1 avoids this problem by keeping all LOs in one big table. Or you can use my patch for the same functionality in 7.0.x. You can get

[GENERAL] My patches are now on a webpage.

2000-12-08 Thread Denis Perchine
link is: http://www.perchine.com/dyp/pg/ -- Sincerely Yours, Denis Perchine -- E-Mail: [EMAIL PROTECTED] HomePage: http://www.perchine.com/dyp/ FidoNet: 2:5000/120.5 --

Re: [GENERAL] Problems during doing reindex on 7.0.3

2000-11-13 Thread Denis Perchine
On 14 November 2000 07:33, Hiroshi Inoue wrote: > Denis Perchine wrote: > > Hello, > > > > I have very interesting problem. I have quite highly loaded database. > > Once a day I create new indices, and after that drop old ones. Ido this > > one by one. > > Y

[GENERAL] ERROR: Index 1821202 does not exist

2000-11-09 Thread Denis Perchine
Hello, any ideas what this message mean? ERROR: Index 1821202 does not exist -- Sincerely Yours, Denis Perchine -- E-Mail: [EMAIL PROTECTED] HomePage: http://www.perchine.com/dyp/ FidoNet: 2:5000/120.5 --

Re: [GENERAL] Large objects

2000-11-02 Thread Denis Perchine
> On Thu, Nov 02, 2000 at 05:35:04PM +0600, Denis Perchine wrote: > > Except on case... When you would like to be sure in transaction safety... > > Ok, but not for image galery. Again... If you can accept that you will have half of image, it's OK. If not... -- Sincerely Y

Re: [GENERAL] Large objects

2000-11-02 Thread Denis Perchine
> > Really, you can show images from database, BUT > there are no much reasons put in database something, for which you can't > say WHERE field=some_thing > Better place images into filesystem. Except on case... When you would like to be sure in tr

Re: [GENERAL] Query caching

2000-11-01 Thread Denis Perchine
y. But I don't think PHP and others have this > possibility. But Cold Fusion costs 1300$ :( No, PHP has this. -- Sincerely Yours, Denis Perchine -- E-Mail: [EMAIL PROTECTED] HomePage: http://www.perchine.com/dyp/ FidoNet: 2:5000/120.5 --

[GENERAL] Fwd: Postgres update

2000-10-28 Thread Denis Perchine
ix_limits_sid_type: Pages 81; Tuples 9404: Deleted 279. CPU 0.01s/0.02u sec. psql:/home/www/www.webmailstation.com/sql/vacuum.limits.sql:1: ERROR: Parent tuple was not found --- -- Sincerely Yours, Denis Perchine -- E

Re: [GENERAL] Using BLOBs with PostgreSQL

2000-10-09 Thread Denis Perchine
rforms. I'm leery > > of database-specific APIs. > > As far as I have listen, it looks like a nice way to optimize searches > in > blobs. Don't know anything else. > > Saludos... :-) -- Sincerely Yours, Denis Perchine -- E-Mail: [EMAIL PROTECTED] HomePage: http://www.perchine.com/dyp/ FidoNet: 2:5000/120.5 --

Re: [GENERAL] Problem with nested query

2000-10-03 Thread Denis Perchine
> Denis Perchine <[EMAIL PROTECTED]> writes: > > As far as you can see it uses sequence scan for inner select. This is > > quite strange as if I do this select with a constant it will use index > > scan: > > Are the two tables' "email" fie

[GENERAL] Using one of the indices to make query faster

2000-08-02 Thread Denis Perchine
on the first column and calculate all others this will be much faster than sequence scan. Any thoughts? -- Sincerely Yours, Denis Perchine -- E-Mail: [EMAIL PROTECTED] HomePage: http://www.perchine.com/dyp/ FidoNet: 2:5000/120.5 --

[GENERAL] Functional indices with const params.

2000-08-02 Thread Denis Perchine
Hello, is it possible to create functional indices with constant params? I tried to do create index ix_s_m on stats(date_part('month', sent_date)); And get ERROR: parser: parse error at or near "'" If it is not possible is there any workarounds for this? -- Sincer

[GENERAL] Quoting routines in libpq

2000-07-17 Thread Denis Perchine
Hello, Just a small question: why there is not any quoting routine in libpq. This is very handy to have one. And also it is quite hard always write quoting routing for database if you want to have cross database code. -- Sincerely Yours, Denis Perchine -- E

Re: [GENERAL] libpq error codes

2000-06-21 Thread Denis Perchine
hile processing the request. > regression=# > > which looks pretty reasonable. > > I should also point out that in the current system, normal shutdown > (via pg_ctl stop or 'kill' on the postmaster) produces no such result > because extant backends are allow

[GENERAL] libpq error codes

2000-06-20 Thread Denis Perchine
nd I should try to reconnect. Any ideas how this can be implemented? -- Sincerely Yours, Denis Perchine -- E-Mail: [EMAIL PROTECTED] HomePage: http://www.perchine.com/dyp/ FidoNet: 2:5000/120.5 --

Re: [GENERAL] DateStyle is Postgres with US (NonEuropean) conventions

2000-06-15 Thread Denis Perchine
> i have start postgresql doingpostmaster -i & > > and this is what i am getting in the shell. > > NOTICE: DateStyle is Postgres with US (NonEuropean) conventions > NOTICE: DateStyle is Postgres with US (NonEuropean) conventions > NOTICE: DateStyle is Postgres with US (NonEuropean) conve

[GENERAL] Problem when doing join from multiple views

2000-06-12 Thread Denis Perchine
-> Index Scan using dicts_id_key on dicts (cost=0.00..2.02 rows=1 width=16) -> Index Scan using dicts_id_key on dicts (cost=0.00..2.02 rows=1 width=16) -> Index Scan using dicts_id_key on dicts (cost=0.00..2.02 rows=1 width=16) -> Index Scan using dicts_id_key on dicts (cost=0.00..2.02 rows=1 width=16) EXPLAIN Again... Lot's of index scans on the same table... Is it possible to do one scan and avoid lot's of index scans? Sorry to bother, but I created views to avoid multiple scans... But... DISCLAMER: after any change vacuum analyze was made. :-))) Just to avoid some questions. -- Sincerely Yours, Denis Perchine -- E-Mail: [EMAIL PROTECTED] HomePage: http://www.perchine.com/dyp/ FidoNet: 2:5000/120.5 --