X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 26E7C11F6217 for ; Fri, 28 Apr 2006 06:39:57 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 30437-01 for ; Fri, 28 Apr 2006 06:39:46 -0300 (ADT) X-Greylist: delayed 00:32:14.363009 by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 9E41511F61F4 for ; Fri, 28 Apr 2006 06:39:45 -0300 (ADT) Received: from galagonx.fixdial.interware.hu (galagonx.fixdial.interware.hu [195.70.45.31]) by svr4.postgresql.org (Postfix) with ESMTP id E70FA5B64E2 for ; Fri, 28 Apr 2006 09:07:30 +0000 (GMT) Received: from szballa-xp.intra ([172.20.80.67]) by galagonx.fixdial.interware.hu with esmtp (Exim 3.36 #1 (Debian)) id 1FZOwg-0000DK-00 for ; Fri, 28 Apr 2006 11:07:26 +0200 Message-ID: <4451DB51.9080403@confinsystems.com> Date: Fri, 28 Apr 2006 11:07:29 +0200 From: Szabolcs BALLA User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Postgresql Admin Subject: Autovacuum probably not working? X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200604/324 X-Sequence-Number: 21493 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