Re: ZSON, PostgreSQL extension for compressing JSONB - Mailing list pgsql-general

From Aleksander Alekseev
Subject Re: ZSON, PostgreSQL extension for compressing JSONB
Date
Msg-id 20161005115651.GD7383@e733.localdomain
Whole thread Raw
In response to Re: ZSON, PostgreSQL extension for compressing JSONB  (Michael Paquier <michael.paquier@gmail.com>)
List 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

Attachment

pgsql-general by date:

Previous
From: Aleksander Alekseev
Date:
Subject: Re: ZSON, PostgreSQL extension for compressing JSONB
Next
From: Simon Riggs
Date:
Subject: Re: ZSON, PostgreSQL extension for compressing JSONB