[GENERAL] Btree indizes, FILLFACTOR, vacuum_freeze_min_age and CLUSTER

2009-05-11 Thread Philipp Marek
Hello everybody, we're using postgresql 8.3 for some logging framework. There are several tables for each day (which are inherited from a common base), which - are filled during the day, - after midnight the indizes are changed to FILLFACTOR=100, and - the tables get CLUSTERed by the most import

Re: [GENERAL] Btree indizes, FILLFACTOR, vacuum_freeze_min_age and CLUSTER

2009-05-11 Thread Scott Marlowe
On Mon, May 11, 2009 at 12:20 AM, Philipp Marek wrote: > Hello everybody, > > we're using postgresql 8.3 for some logging framework. > > There are several tables for each day (which are inherited from a common > base), which > - are filled during the day, > - after midnight the indizes are changed

Re: [GENERAL] Btree indizes, FILLFACTOR, vacuum_freeze_min_age and CLUSTER

2009-05-11 Thread Alvaro Herrera
Philipp Marek wrote: > A few days before we found the machine much slower, because of the autovacuum > processes that were started automatically ["autovacuum: VACUUM ... (to > prevent > wraparound)"]. > > After several days we killed that, and, as a quick workaround, changed > "autovacuum_fre

Re: [GENERAL] Btree indizes, FILLFACTOR, vacuum_freeze_min_age and CLUSTER

2009-05-11 Thread Philipp Marek
Hello Alvaro, On Montag, 11. Mai 2009, Alvaro Herrera wrote: > Philipp Marek wrote: > > A few days before we found the machine much slower, because of the > > autovacuum processes that were started automatically ["autovacuum: VACUUM > > ... (to prevent wraparound)"]. > > > > After several days we

Re: [GENERAL] Btree indizes, FILLFACTOR, vacuum_freeze_min_age and CLUSTER

2009-05-13 Thread Alvaro Herrera
Philipp Marek wrote: > Hello everybody, > > we're using postgresql 8.3 for some logging framework. > > There are several tables for each day (which are inherited from a common > base), which > - are filled during the day, > - after midnight the indizes are changed to FILLFACTOR=100, and > - the

Re: [GENERAL] Btree indizes, FILLFACTOR, vacuum_freeze_min_age and CLUSTER

2009-05-13 Thread Philipp Marek
On Mittwoch, 13. Mai 2009, Alvaro Herrera wrote: > > we're using postgresql 8.3 for some logging framework. > > > > There are several tables for each day (which are inherited from a common > > base), which > > - are filled during the day, > > - after midnight the indizes are changed to FILLFACTOR=1

Re: [GENERAL] Btree indizes, FILLFACTOR, vacuum_freeze_min_age and CLUSTER

2009-05-14 Thread Alvaro Herrera
Philipp Marek wrote: > On Mittwoch, 13. Mai 2009, Alvaro Herrera wrote: > > > we're using postgresql 8.3 for some logging framework. > > > > > > There are several tables for each day (which are inherited from a common > > > base), which > > > - are filled during the day, > > > - after midnight the

Re: [GENERAL] Btree indizes, FILLFACTOR, vacuum_freeze_min_age and CLUSTER

2009-05-14 Thread Philipp Marek
On Donnerstag, 14. Mai 2009, Alvaro Herrera wrote: > Philipp Marek wrote: > > On Mittwoch, 13. Mai 2009, Alvaro Herrera wrote: > > > Do say, do you have any long-running transactions, or "idle" > > > transactions? Maybe someone opened a terminal somewhere and left it > > > open for days? Have a l

Re: [GENERAL] Btree indizes, FILLFACTOR, vacuum_freeze_min_age and CLUSTER

2009-05-14 Thread Philipp Marek
On Donnerstag, 14. Mai 2009, Philipp Marek wrote: > On Donnerstag, 14. Mai 2009, Alvaro Herrera wrote: > > Philipp Marek wrote: > > > On Mittwoch, 13. Mai 2009, Alvaro Herrera wrote: > > > > Do say, do you have any long-running transactions, or "idle" > > > > transactions? Maybe someone opened a t