Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id ADF726501A6; Thu, 14 Aug 2008 06:43:53 -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 98837-04; Thu, 14 Aug 2008 06:43:46 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail136021.authsmtp.net (outmail136021.authsmtp.net [62.13.136.21]) by postgresql.org (Postfix) with ESMTP id 23BAF64FE0F; Thu, 14 Aug 2008 06:43:49 -0300 (ADT) Received: from mail-c188.authsmtp.com (mail-c188.authsmtp.com [62.13.128.25]) by punt5.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id m7E9hghd064269; Thu, 14 Aug 2008 10:43:42 +0100 (BST) Received: from [192.168.0.3] (85-211-19-153.dyn.gotadsl.co.uk [85.211.19.153]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id m7E9hfCI033843; Thu, 14 Aug 2008 10:43:41 +0100 (BST) Subject: Re: [HACKERS] autovacuum: use case for indenpedent TOAST table autovac settings From: Simon Riggs To: Tom Lane Cc: Alvaro Herrera , pgsql-performance@postgresql.org, Pg Hackers In-Reply-To: <21063.1218677426@sss.pgh.pa.us> References: <20080813212838.GA4683@alvh.no-ip.org> <18539.1218675190@sss.pgh.pa.us> <20080814012834.GG4672@alvh.no-ip.org> <21063.1218677426@sss.pgh.pa.us> Content-Type: text/plain Date: Thu, 14 Aug 2008 10:51:01 +0100 Message-Id: <1218707461.5343.435.camel@ebony.2ndQuadrant> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 Content-Transfer-Encoding: 7bit X-Server-Quench: 7af7a368-69e5-11dd-aecc-001871e930f4 X-AuthRoute: OCdxZQATClZOTQEd DAteCiNZVAwpPBRK HVkIKg5MJUcNSQVJ NksachtFaQFbbExW HGQLW1xEUV17XWB/ bwgfZQBDYEtPQQRj TklMQU1QEQdtHhxP WxlrW0EkBHxGe314 YUUsX3dZXgp9JBB6 E01SHXAAbDJldWEe BBRFJlYHIx5Kfh5N bVEqXXANN2FJBC9q VzwTFhsSEA9kHWxm eiw3A3UoZHNDFyMg QA4LFigyGB9NWj4+ ZxcvMVNUEkELekQ0 PVYnQV8UPhkOQjF5 NnpxYk5FLlMFSmIi EB9dQ0cVWCZQXTtd BBIzSigg X-Authentic-SMTP: 61633235383639.cat.dmpriest.net.uk:1186/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system! 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/165 X-Sequence-Number: 31046 On Wed, 2008-08-13 at 21:30 -0400, Tom Lane wrote: > Alvaro Herrera writes: > > Tom Lane wrote: > >> 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. > > > 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. > > It seems reasonable to inherit the parent's settings by default, in any > case. So you could do that now and then extend the feature later if > there's real demand. Yeh, I can't really see a reason why you'd want to treat toast tables differently with regard to autovacuuming. It's one more setting to get wrong, so no thanks. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support