Abnormal storage consumption with autovacuum enabled

From: Nicola Mauri <nicola(dot)mauri(at)saga(dot)it>
To: pgsql-admin(at)postgresql(dot)org
Subject: Abnormal storage consumption with autovacuum enabled
Date: 2007-05-24 15:56:10
Message-ID: 4655B59A.7080409@saga.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


I'm using 8.1.4 on linux.
Autovacuum is enable with these settings:

stats_start_collector = on
stats_row_level = on
autovacuum = on
autovacuum_naptime = 60
autovacuum_vacuum_threshold = 1000
autovacuum_analyze_threshold = 500

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?
I'm quite sure that data in tables never reached that size, during
normal operations.
Could be autovacuum not working properly?
How to diagnose or make sure that autovacuum is doing its job?

Thanks in advance!

Nicola

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2007-05-24 15:57:53 Re: anonymous block in Postgres - Hello World
Previous Message Tom Lane 2007-05-24 15:32:49 Re: Can't drop tables ERROR: cache lookup failed for relation 411727