Re: ZSON, PostgreSQL extension for compressing JSONB

Поиск
Список
Период
Сортировка
От Aleksander Alekseev
Тема Re: ZSON, PostgreSQL extension for compressing JSONB
Дата
Msg-id 20161005155837.GA31519@e733.localdomain
обсуждение исходный текст
Ответ на Re: ZSON, PostgreSQL extension for compressing JSONB  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: ZSON, PostgreSQL extension for compressing JSONB  (Simon Riggs <simon@2ndquadrant.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?
>
> CREATE COMPRESSION DICTIONARY public.simple_dict (
>     WORDS = my_json_schema
> );
>
> Then use the dictionary by referencing the DictionaryId within the
> datatype modifier, e.g. ZSON(357)
>
> That way we can use this for TEXT, XML, JSON etc.. as ZTEXT, ZXML, ZJSON
>
> So it seems like a generally useful thing to me.

Good idea!

What about evolving schema of JSON/JSONB/XML? For instance,
adding/removing keys in new versions of the application. UPDATE
COMPRESSION DICTIONARY?

--
Best regards,
Aleksander Alekseev

Вложения

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: ZSON, PostgreSQL extension for compressing JSONB
Следующее
От: Darren Lafreniere
Дата:
Сообщение: BRIN indexes and ORDER BY