Re: autovacuum

From: Robin Iddon <robin(at)edesix(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: autovacuum
Date: 2006-06-15 11:20:19
Message-ID: 44914273.9030308@edesix.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


> How do I know if autovacuum is reclaiming space or is my max_fsm setting
> plain wrong. (I understand that autovacuum marks tuples for reuse, but
> shouldn't pg_total_relation_size take that into account)
>
You can find out if your FSM settings are big enough by running vacuumdb
-av (and yes, it needs to be -a) - obviously you might choose not to run
this when the database is busy doing something else.

Capture the output - at the very end it will tell you whether or not
your FSM settings are adequate to map the reusable space in the database.

You might also want to read the documentation on autovacuum's logging
output options - this may tell you what you want to know - prior to 8.1
autovacuum was documented in (on my system)
/usr/doc/postgres-x.x.x/contrib/README.pg_autovacuum - post 8.1 it's
part of the main distribution and should be documented in the main PG docs.

Hope this helps,
Robin

In response to

  • autovacuum at 2006-06-14 16:52:48 from Sriram Dandapani

Browse pgsql-admin by date

  From Date Subject
Next Message Michael Fuhr 2006-06-15 13:11:51 Re: database physical storage
Previous Message Praveen Kumar N 2006-06-15 04:56:59 database physical storage