Re: [GENERAL] tuple data size and compression

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: [GENERAL] tuple data size and compression
Дата
Msg-id 1318a0d6-9b8f-f49b-8ada-af3f760b6b32@aklaver.com
обсуждение исходный текст
Ответ на [GENERAL] tuple data size and compression  (Tom DalPozzo <t.dalpozzo@gmail.com>)
Ответы Re: [GENERAL] tuple data size and compression
Список pgsql-general
On 12/15/2016 07:17 AM, Tom DalPozzo wrote:
> Hi,
> it's not clear to me when tuple data (max 1000 bytes total) get
> compressed on disk and when not.
> I tried with pg_column_size to find the tuple's size but I get ambiguous
> results.

What is the table definition?

Maybe this will help?:

https://www.postgresql.org/docs/9.5/static/storage-toast.html

> It seems to work but sometimes the tuples seem compressed and sometime not.
> I tried both with constant data and random bytes.
>
> Thanks
> Pupillo
>
>


--
Adrian Klaver
adrian.klaver@aklaver.com


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] pg_dump and quoted identifiers
Следующее
От: Francisco Olarte
Дата:
Сообщение: Re: [GENERAL] pg_dump and quoted identifiers