From: Szabolcs BALLA <szballa@confinsystems.com>
To: Postgresql Admin <pgsql-admin@postgresql.org>
Subject: Autovacuum probably not working?
Date: Fri, 28 Apr 2006 11:07:29 +0200
Message-ID: <4451DB51.9080403@confinsystems.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: szballa@confinsystems.com
Subject: Re: Autovacuum probably not working?
In-Reply-To: <4451DB51.9080403@confinsystems.com>
References: <4451DB51.9080403@confinsystems.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox