What's the difference between SET STORAGE MAIN and EXTENDED?

From: Zoltan Boszormenyi <zb(at)cybertec(dot)at>
To: pgsql-general(at)postgresql(dot)org
Subject: What's the difference between SET STORAGE MAIN and EXTENDED?
Date: 2007-09-07 06:29:24
Message-ID: 46E0EFC4.5040606@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

according to
http://www.postgresql.org/docs/8.2/interactive/storage-toast.html:

EXTENDED allows both compression and out-of-line storage.
This is the default for most TOAST-able data types.
Compression will be attempted first, then out-of-line storage if the row
is still too big.

MAIN allows compression but not out-of-line storage.
(Actually, out-of-line storage will still be performed for such columns,
but only as a last resort when there is no other way to make the row
small enough.)

At the end of the day, the behaviour is the same, isn't it?

--
----------------------------------
Zoltán Böszörményi
Cybertec Geschwinde & Schönig GmbH
http://www.postgresql.at/

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Smith 2007-09-07 06:37:07 Re: an other provokative question??
Previous Message Tom Lane 2007-09-07 05:51:35 Re: an other provokative question??