Re: TOAST behavior in 8.3 and 8.4 - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: TOAST behavior in 8.3 and 8.4
Date
Msg-id 4BC4798502000025000307F4@gw.wicourts.gov
Whole thread Raw
In response to TOAST behavior in 8.3 and 8.4  (Lewis Kapell <lkapell@setonhome.org>)
Responses Re: TOAST behavior in 8.3 and 8.4  (Lewis Kapell <lkapell@setonhome.org>)
List pgsql-admin
Lewis Kapell <lkapell@setonhome.org> 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

pgsql-admin by date:

Previous
From: Lewis Kapell
Date:
Subject: TOAST behavior in 8.3 and 8.4
Next
From: Alvaro Herrera
Date:
Subject: Re: TOAST behavior in 8.3 and 8.4