From: | Szabolcs BALLA <szballa(at)confinsystems(dot)com> |
---|---|
To: | Postgresql Admin <pgsql-admin(at)postgresql(dot)org> |
Subject: | Autovacuum probably not working? |
Date: | 2006-04-28 09:07:29 |
Message-ID: | 4451DB51.9080403@confinsystems.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Hi,
I delete 30M record from the db (8.1.0). I made query about size of the
tables, but after 1 day the size of the tables not changed. (Autovacuum
settings was original)
So, I change the autovacuum setting but after another day the size not
changed.
autovacuum_naptime = 10
autovacuum_vacuum_threshold = 1000
autovacuum_analyze_threshold = 500
autovacuum_vacuum_scale_factor = 0.1
autovacuum_analyze_scale_factor = 0.1
autovacuum_vacuum_cost_delay = -1
autovacuum_vacuum_cost_limit = -1
SELECT datname, age(datfrozenxid) FROM pg_database;
datname | age
-------------+------------
template1 | 1157096287
template0 | 171736920
db_h_old | 1157091762
So, my questions: What can I do to get "clean" db with autovacuum?
I don't want to run vacuum full analyze manually because it takes too
much time!
Is it possible to see which table the autovacuum is working on?
Thanks,
Szabek
From | Date | Subject | |
---|---|---|---|
Next Message | jonathan.lister | 2006-04-28 10:13:13 | Is there an efficient way to check whether a particular index or constraint exists? |
Previous Message | David Garamond | 2006-04-28 07:17:30 | Restoring a database as another user |