Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 54C67633786 for ; Tue, 13 Apr 2010 16:03:02 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 15680-01 for ; Tue, 13 Apr 2010 19:02:51 +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 C317163322C for ; Tue, 13 Apr 2010 16:02:51 -0300 (ADT) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Tue, 13 Apr 2010 14:02:50 -0500 Message-Id: <4BC4798502000025000307F4@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Tue, 13 Apr 2010 14:02:45 -0500 From: "Kevin Grittner" To: , "Lewis Kapell" Subject: Re: TOAST behavior in 8.3 and 8.4 References: <4BC4BBD4.40706@setonhome.org> In-Reply-To: <4BC4BBD4.40706@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=-0.011 tagged_above=-10 required=5 tests=BAYES_40=-0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201004/166 X-Sequence-Number: 34260 Lewis Kapell wrote: > I don't understand what that '256 bytes' refers to. That is a far > cry from 2kb. I would be grateful if anyone can fill in the > evident gap in my knowledge here. It doesn't try to compress anything unless the tuple (row instance) as a whole is above TOAST_TUPLE_THRESHOLD. In trying to reduce the tuple size, it won't consider compressing column values below a certain size. That is where the 256 versus 32 bytes comes in. -Kevin