Re: Add ZSON extension to /contrib/

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Add ZSON extension to /contrib/
Дата
Msg-id CABUevEzCNUSoGY2O=J5awd26SxuJ7b62UqDqKBey=XTRwkoQFw@mail.gmail.com
обсуждение исходный текст
Ответ на Add ZSON extension to /contrib/  (Aleksander Alekseev <aleksander@timescale.com>)
Ответы Re: Add ZSON extension to /contrib/  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Add ZSON extension to /contrib/  (Matthias van de Meent <boekewurm+postgres@gmail.com>)
Список pgsql-hackers
On Tue, May 25, 2021 at 12:55 PM Aleksander Alekseev
<aleksander@timescale.com> wrote:
>
> Hi hackers,
>
> Back in 2016 while being at PostgresPro I developed the ZSON extension [1]. The extension introduces the new ZSON
type,which is 100% compatible with JSONB but uses a shared dictionary of strings most frequently used in given JSONB
documentsfor compression. These strings are replaced with integer IDs. Afterward, PGLZ (and now LZ4) applies if the
documentis large enough by common PostgreSQL logic. Under certain conditions (many large documents), this saves disk
space,memory and increases the overall performance. More details can be found in README on GitHub. 
>
> The extension was accepted warmly and instantaneously I got several requests to submit it to /contrib/ so people
usingAmazon RDS and similar services could enjoy it too. Back then I was not sure if the extension is mature enough and
ifit lacks any additional features required to solve the real-world problems of the users. Time showed, however, that
peopleare happy with the extension as it is. There were several minor issues discovered, but they were fixed back in
2017.The extension never experienced any compatibility problems with the next major release of PostgreSQL. 
>
> So my question is if the community may consider adding ZSON to /contrib/. If this is the case I will add this thread
tothe nearest CF and submit a corresponding patch. 

If the extension is mature enough, why make it an extension in
contrib, and not instead either enhance the existing jsonb type with
it or make it a built-in type?

--
 Magnus Hagander
 Me: https://www.hagander.net/
 Work: https://www.redpill-linpro.com/



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: CALL versus procedures with output-only arguments
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Fixing the docs for ALTER SUBSCRIPTION ... ADD/DROP PUBLICATION