Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id EE4F52E01E5 for ; Fri, 7 Mar 2008 09:19:36 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 48967-02 for ; Fri, 7 Mar 2008 09:19:34 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id A4E032E01D2 for ; Fri, 7 Mar 2008 09:19:34 -0400 (AST) Received: from perhan.alvh.no-ip.org (190-95-27-98.bk17-dsl.surnet.cl [190.95.27.98]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m27DJrHO030659 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Mar 2008 05:19:58 -0800 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id CB2F547BF8; Fri, 7 Mar 2008 10:19:25 -0300 (CLST) Date: Fri, 7 Mar 2008 10:19:25 -0300 From: Alvaro Herrera To: Pavel Rotek Cc: pgsql-performance@postgresql.org Subject: Re: Toast space grows Message-ID: <20080307131925.GC11041@alvh.no-ip.org> References: <3556c08c0803070035p6d8b4aa8m6318f54728f61022@mail.gmail.com> <47D10722.4080508@archonet.com> <3556c08c0803070129y6ffabf32i1c8bae445ec460e0@mail.gmail.com> <20080307065314.1248665b.wmoran@collaborativefusion.com> <3556c08c0803070459i8598423t64e0704e48af533@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3556c08c0803070459i8598423t64e0704e48af533@mail.gmail.com> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Fri, 07 Mar 2008 05:19:58 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/158 X-Sequence-Number: 29112 Pavel Rotek escribió: > 2008/3/7, Bill Moran : > > Don't do vacuum full on this table. Do frequent vacuums. The table will > > bloat some, but not 10x the required size, once you find a reasonable > > frequency for vacuums. You might find it practical to manually vacuum > > this table from your application after insert and update operations. > > I perform autovacuum daily. Sorry, this sentence makes no sense. Do you mean that you set autovacuum_naptime=1 day? If so, that's a bad idea -- you should let autovacuum run far more frequently. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support