Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id D86672E35CC for ; Fri, 14 Dec 2007 03:30:10 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 26002-02 for ; Fri, 14 Dec 2007 03:30:05 -0400 (AST) Received: from mail.trinitydigital.com.au (mail.trinitydigital.com.au [202.134.38.99]) by postgresql.org (Postfix) with ESMTP id 644E62E35C9 for ; Fri, 14 Dec 2007 03:30:06 -0400 (AST) Received: from localhost (unknown [202.134.38.101]) by mail.trinitydigital.com.au (Postfix) with ESMTP id B9E22CAB; Fri, 14 Dec 2007 18:28:54 +1100 (EST) Received: from mail.trinitydigital.com.au ([202.134.38.99]) by localhost (spam-filter.trinitydigital.com.au [202.134.38.101]) (amavisd-new, port 10024) with LMTP id 14962-01-17; Fri, 14 Dec 2007 18:28:23 +1100 (EST) Received: from [172.17.73.18] (C-61-68-172-247.bur.connect.net.au [61.68.172.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.trinitydigital.com.au (Postfix) with ESMTP id 47D8BD0; Fri, 14 Dec 2007 18:28:38 +1100 (EST) Message-ID: <47623103.7030700@pws.com.au> Date: Fri, 14 Dec 2007 18:30:11 +1100 From: Russell Smith User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: Simon Riggs CC: Kevin Grittner , pgsql-performance@postgresql.org Subject: Re: Heavy write activity on first vacuum of fresh TOAST data References: <4760FF69.EE98.0025.0@wicourts.gov> <1197562283.4255.1829.camel@ebony.site> <47611B9D.EE98.0025.0@wicourts.gov> <1197569564.4255.1855.camel@ebony.site> <47614D86.EE98.0025.0@wicourts.gov> <1197582010.4255.1912.camel@ebony.site> In-Reply-To: <1197582010.4255.1912.camel@ebony.site> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Trinity Digital Spam Filter X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/206 X-Sequence-Number: 28022 Simon Riggs wrote: > On Thu, 2007-12-13 at 15:19 -0600, Kevin Grittner wrote: > >> What impact would lack of the hint bits have until a vacuum? >> > > Vacuum isn't important here. Its the first idiot to read the data that > gets hit. > > Given vacuum must then touch every page, is there a win in only setting hint bits on pages where vacuum has to do some other work on the page? As vacuum is causing significant IO load for data that may not be accessed for some time. The question becomes what is the impact of not setting hint bits? Is it better or worse than the IO caused by vacuum? Regards Russell Smith