Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 28FCE65036D; Wed, 13 Aug 2008 22:28:46 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 43441-07; Wed, 13 Aug 2008 22:28:35 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id 1368A6502D2; Wed, 13 Aug 2008 22:28:40 -0300 (ADT) Received: from perhan.alvh.no-ip.org (190-95-19-36.bk17-dsl.surnet.cl [190.95.19.36]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m7E1VQYv007310 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Aug 2008 18:31:30 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 39CE047C9A; Wed, 13 Aug 2008 21:28:34 -0400 (CLT) Date: Wed, 13 Aug 2008 21:28:34 -0400 From: Alvaro Herrera To: Tom Lane Cc: pgsql-performance@postgresql.org, Pg Hackers Subject: Re: [HACKERS] autovacuum: use case for indenpedent TOAST table autovac settings Message-ID: <20080814012834.GG4672@alvh.no-ip.org> References: <20080813212838.GA4683@alvh.no-ip.org> <18539.1218675190@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18539.1218675190@sss.pgh.pa.us> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Wed, 13 Aug 2008 18:31:30 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200808/162 X-Sequence-Number: 31043 Tom Lane wrote: > Alvaro Herrera writes: > > Does anyone see a need for having TOAST tables be individually > > configurable for autovacuum? I've finally come around to looking at > > being able to use ALTER TABLE for autovacuum settings, and I'm wondering > > if we need to support that case. > > It seems like we'll want to do it somehow. Perhaps the cleanest way is > to incorporate toast-table settings in the reloptions of the parent > table. Otherwise dump/reload is gonna be a mess. Yeah, Magnus was suggesting this syntax: ALTER TABLE foo SET toast_autovacuum_enable = false; and the like. My question is whether there is interest in actually having support for this, or should we just inherit the settings from the main table. My gut feeling is that this may be needed in some cases, but perhaps I'm overengineering the thing. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support