Re: R: space taken by a row & compressed data

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: R: space taken by a row & compressed data
Дата
Msg-id 23543.1093538069@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: R: space taken by a row & compressed data  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> However, as integers, there would have to be a lot of duplicate values
> before compression would be a win.

Not necessarily.  If for instance most of the values fit in int2, then
the upper zero bytes would be fodder for compression.  (If they *all*
fit in int2 then of course he's missing a trick...)  The fact that they
are successfully using row compression on their old platform indicates
that there's some win available there.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: R: space taken by a row & compressed data
Следующее
От: David Wheeler
Дата:
Сообщение: Re: UTF-8 and LIKE vs =