Re: TOAST behavior in 8.3 and 8.4

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: TOAST behavior in 8.3 and 8.4
Дата
Msg-id 4BC4798502000025000307F4@gw.wicourts.gov
обсуждение исходный текст
Ответ на TOAST behavior in 8.3 and 8.4  (Lewis Kapell <lkapell@setonhome.org>)
Ответы Re: TOAST behavior in 8.3 and 8.4  (Lewis Kapell <lkapell@setonhome.org>)
Список 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 по дате отправления:

Предыдущее
От: Lewis Kapell
Дата:
Сообщение: TOAST behavior in 8.3 and 8.4
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: TOAST behavior in 8.3 and 8.4