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

Поиск
Список
Период
Сортировка
От Zoltan Boszormenyi
Тема What's the difference between SET STORAGE MAIN and EXTENDED?
Дата
Msg-id 46E0EFC4.5040606@cybertec.at
обсуждение исходный текст
Ответы Re: What's the difference between SET STORAGE MAIN and EXTENDED?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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/



В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: an other provokative question??
Следующее
От: Greg Smith
Дата:
Сообщение: Re: an other provokative question??