Re: ZSON, PostgreSQL extension for compressing JSONB

Поиск
Список
Период
Сортировка
От Aleksander Alekseev
Тема Re: ZSON, PostgreSQL extension for compressing JSONB
Дата
Msg-id 20161005115651.GD7383@e733.localdomain
обсуждение исходный текст
Ответ на Re: ZSON, PostgreSQL extension for compressing JSONB  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-general
> > I could align ZSON to PostgreSQL code style. I only need to run pgindent
> > and write a few comments. Do you think community would be interested in
> > adding it to /contrib/ ? I mean doesn't ZSON solve a bit too specific
> > problem for this?
>
> I find the references to pglz quite troubling, particularly by reading
> that this data type visibly uses its own compression logic.

ZSON just replaces frequently used strings to 16-bit codes. It also adds
PGLZ_HINT_SIZE (=32 by default, could be also 0) zero bytes in the
beginning to make it more likely that data will be compressed using PGLZ.
After all, who will use ZSON for small documents? Thats all.

Hope it explains references to PGLZ.

--
Best regards,
Aleksander Alekseev

Вложения

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

Предыдущее
От: Aleksander Alekseev
Дата:
Сообщение: Re: ZSON, PostgreSQL extension for compressing JSONB
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: ZSON, PostgreSQL extension for compressing JSONB