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 253CE11F602F for ; Fri, 28 Apr 2006 09:03:36 -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 49249-06 for ; Fri, 28 Apr 2006 09:03:21 -0300 (ADT) X-Greylist: delayed 02:55:49.967489 by SQLgrey- Received: from galagonx.fixdial.interware.hu (galagonx.fixdial.interware.hu [195.70.45.31]) by postgresql.org (Postfix) with ESMTP id E8BF011F603C for ; Fri, 28 Apr 2006 09:03:19 -0300 (ADT) Received: from szballa-xp.intra ([172.20.80.67]) by galagonx.fixdial.interware.hu with esmtp (Exim 3.36 #1 (Debian)) id 1FZRgr-0001KP-00; Fri, 28 Apr 2006 14:03:17 +0200 Message-ID: <44520485.1050002@confinsystems.com> Date: Fri, 28 Apr 2006 14:03:17 +0200 From: Szabolcs BALLA User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Robin Iddon , pgsql-admin@postgresql.org Subject: Re: Autovacuum probably not working? References: <4451DB51.9080403@confinsystems.com> <4451FEB3.7070801@edesix.com> In-Reply-To: <4451FEB3.7070801@edesix.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200604/326 X-Sequence-Number: 21495 Robin Iddon írta: > Szabolcs BALLA wrote: > >> 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 >> >> > > Check your FSM sizes in postgresql.conf ... > > Robin > > shared_buffers = 153600 work_mem = 524288 maintenance_work_mem = 786432 max_fsm_pages = 510000 max_fsm_relations = 10000 Cost-Based Vacuum Delay is on default settings. So, i thing my settings are ok. What do you think? Thanks, Szabek