Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id D728C6357F2 for ; Tue, 13 Apr 2010 16:37:44 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 32067-07-3 for ; Tue, 13 Apr 2010 19:37:29 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id 7DB096357F5 for ; Tue, 13 Apr 2010 16:37:33 -0300 (ADT) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Tue, 13 Apr 2010 14:37:32 -0500 Message-Id: <4BC481A902000025000307F9@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Tue, 13 Apr 2010 14:37:29 -0500 From: "Kevin Grittner" To: "Lewis Kapell" Cc: Subject: Re: TOAST behavior in 8.3 and 8.4 References: <4BC4BBD4.40706@setonhome.org> <4BC4798502000025000307F4@gw.wicourts.gov> <4BC4C592.7020400@setonhome.org> In-Reply-To: <4BC4C592.7020400@setonhome.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.077 tagged_above=-10 required=5 tests=AWL=-0.167, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201004/169 X-Sequence-Number: 34263 Lewis Kapell wrote: > In tuptoaster.h, just above the declaration of > TOAST_TUPLES_PER_PAGE, there is a comment which begins: "while > these can be modified without initdb..." > > Does this mean that if I reduce the value of TOAST_TUPLE_THRESHOLD > and rebuild, I can use an existing database cluster without having > to run initdb again? Yes, but it's *possible* that some table which would now seem to qualify for a toast table, based on the new threshold, would not yet have one. That would be benign; it just wouldn't be able to toast values for that table unless you recreated it. You can check pg_class to find out which tables currently have toast tables. -Kevin