Re: [PERFORM] lots of updates on small table

2005-09-01 Thread Alison Winters
Just to dig up an old thread from last month: In case anyone was wondering we finally got a free day to put in the new version of the software, and it's greatly improved the performance. The solutions we employed were as follows: - recompile everything with ecpg -t for auto-commit - vacuum run b

Re: [PERFORM] lots of updates on small table

2005-07-14 Thread Alison Winters
Hi all, > No wonder, considering that your "less than 10 rows" table contains > something upwards of 10 tuples: > > > INFO: --Relation public.plc_fldio-- > > INFO: Pages 1221: Changed 3, reaped 256, Empty 0, New 0; Tup 108137: Vac > > 4176, Keep/VTL 108133/108133, UnUsed 19, MinLen 84, MaxL

Re: [PERFORM] lots of updates on small table

2005-07-14 Thread Alvaro Herrera
On Thu, Jul 14, 2005 at 08:28:24PM -0400, Alvaro Herrera wrote: > On Fri, Jul 15, 2005 at 09:42:12AM +1000, Alison Winters wrote: > > > INFO: Pages 1221: Changed 3, reaped 256, Empty 0, New 0; Tup 108137: Vac > > 4176, Keep/VTL 108133/108133, UnUsed 19, MinLen 84, MaxLen 84; Re-using: > > Free

Re: [PERFORM] lots of updates on small table

2005-07-14 Thread Alvaro Herrera
On Fri, Jul 15, 2005 at 09:42:12AM +1000, Alison Winters wrote: > > > Our application requires a number of processes to select and update rows > > > from a very small (<10 rows) Postgres table on a regular and frequent > > > basis. These processes often run for weeks at a time, but over the > > >

Re: [PERFORM] lots of updates on small table

2005-07-14 Thread John A Meinel
Alison Winters wrote: > Hi, > > >>>Our application requires a number of processes to select and update rows >>>from a very small (<10 rows) Postgres table on a regular and frequent >>>basis. These processes often run for weeks at a time, but over the >>>space of a few days we find that updates sta

Re: [PERFORM] lots of updates on small table

2005-07-14 Thread Tom Lane
[EMAIL PROTECTED] (Alison Winters) writes: >>> Our application requires a number of processes to select and update rows >>> from a very small (<10 rows) Postgres table on a regular and frequent >>> basis. These processes often run for weeks at a time, but over the >>> space of a few days we find t

Re: [PERFORM] lots of updates on small table

2005-07-14 Thread Alison Winters
Hi, > > Our application requires a number of processes to select and update rows > > from a very small (<10 rows) Postgres table on a regular and frequent > > basis. These processes often run for weeks at a time, but over the > > space of a few days we find that updates start getting painfully sl

Re: [PERFORM] lots of updates on small table

2005-07-14 Thread Rod Taylor
On Thu, 2005-07-14 at 15:08 +1000, Alison Winters wrote: > Hi, > > Our application requires a number of processes to select and update rows > from a very small (<10 rows) Postgres table on a regular and frequent > basis. These processes often run for weeks at a time, but over the Are these long

Re: [PERFORM] lots of updates on small table

2005-07-14 Thread Alvaro Herrera
On Thu, Jul 14, 2005 at 03:08:30PM +1000, Alison Winters wrote: > Hi, > > Our application requires a number of processes to select and update rows > from a very small (<10 rows) Postgres table on a regular and frequent > basis. These processes often run for weeks at a time, but over the > space o