Re: Abnormal storage consumption with autovacuum enabled

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nicola Mauri <nicola(dot)mauri(at)saga(dot)it>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Abnormal storage consumption with autovacuum enabled
Date: 2007-05-24 16:40:06
Message-ID: 6032.1180024806@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Nicola Mauri <nicola(dot)mauri(at)saga(dot)it> writes:
> Data stored in the database didn't groove very much in the last months
> (pg_dump still generates a 4GB compressed file), but data files now
> occupies 20 GB on disk.
> I know that a vacuum full or a full dump/restore is needed to reclaim
> filesystem space. However, my question is: how this could have been
> happened?

What do you have max_fsm_pages set to? If it's too small, you'll get
bloat regardless of whether autovac is doing its thing.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2007-05-24 18:31:22 Re: Role based database access
Previous Message Emma H.G. 2007-05-24 16:33:53 Developer help