pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: pgsql-admin@postgresql.org
To: Lewis Kapell <lkapell@setonhome.org>
Subject: Re: TOAST behavior in 8.3 and 8.4
Date: Tue, 13 Apr 2010 14:02:45 -0500
Message-ID: <4BC4798502000025000307F4@gw.wicourts.gov> (raw)
In-Reply-To: <4BC4BBD4.40706@setonhome.org>
References: <4BC4BBD4.40706@setonhome.org>

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



view thread (5+ messages)  latest in thread

Message-ID: <4BC4798502000025000307F4@gw.wicourts.gov>
Permalink:  ../4BC4798502000025000307F4@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4BC4798502000025000307F4@gw.wicourts.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, lkapell@setonhome.org
  Subject: Re: TOAST behavior in 8.3 and 8.4
  In-Reply-To: <4BC4798502000025000307F4@gw.wicourts.gov>
  References: <4BC4BBD4.40706@setonhome.org> <4BC4798502000025000307F4@gw.wicourts.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox