Re: TOAST behavior in 8.3 and 8.4

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <pgsql-admin(at)postgresql(dot)org>, "Lewis Kapell" <lkapell(at)setonhome(dot)org>
Subject: Re: TOAST behavior in 8.3 and 8.4
Date: 2010-04-13 19:02:45
Message-ID: 4BC4798502000025000307F4@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Lewis Kapell <lkapell(at)setonhome(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Alvaro Herrera 2010-04-13 19:22:26 Re: TOAST behavior in 8.3 and 8.4
Previous Message Lewis Kapell 2010-04-13 18:45:40 TOAST behavior in 8.3 and 8.4