Re: Btree indizes, FILLFACTOR, vacuum_freeze_min_age and CLUSTER

From: Philipp Marek <philipp(dot)marek(at)emerion(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Btree indizes, FILLFACTOR, vacuum_freeze_min_age and CLUSTER
Date: 2009-05-15 06:31:12
Message-ID: 200905150831.12793.philipp.marek@emerion.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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 terminal somewhere and left it
> > > > open for days? Have a look at pg_stat_activity.
> > >
> > > Yes, I have two terminal windows for different users/schemas in the
> > > same DB open - but they're set to auto-commit, and have no tables open
> > > or locked.
> >
> > Please close them and try again.
>
> I'll try this tonight.
Well, that doesn't seem to help either.

* I had vacuum_freeze_min_age=0 set for the session doing CLUSTER.
* No session were open during the CLUSTER.

Result:
* Indizes are not compacted.
Compared to an earlier night with a similar number of records two btree-
indizes went from 300M to ~400M (roughly).

Regards,

Phil

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Luca Ferrari 2009-05-15 07:09:22 drop table but file still exists
Previous Message Martin Gainty 2009-05-15 00:47:58 Re: Failure during initdb - creating dictionaries ... FATAL: could not access file "$libdir/libdict_snowball": No such file or directory