Re: PostgreSQL VS MongoDB: a use case comparison - Mailing list pgsql-performance

From Thomas Kellerer
Subject Re: PostgreSQL VS MongoDB: a use case comparison
Date
Msg-id aab499b1-10f4-8a71-5dfe-16b91fbe0e96@gmx.net
Whole thread Raw
In response to Re: PostgreSQL VS MongoDB: a use case comparison  (Stephen Frost <sfrost@snowman.net>)
Responses Re: PostgreSQL VS MongoDB: a use case comparison  (Oleg Bartunov <obartunov@postgrespro.ru>)
List pgsql-performance
Stephen Frost schrieb am 20.11.2018 um 18:28:
> Oh yes, having a dictionary would be a great start to reducing the size
> of the jsonb data, though it could then become a contention point if
> there's a lot of new values being inserted and such.  Naturally there
> would also be a cost to pulling that data back out as well but likely it
> would be well worth the benefit of not having to store the field names
> repeatedly.

There is an extension for a dictionary based JSONB compression:

https://github.com/postgrespro/zson



pgsql-performance by date:

Previous
From: Stephen Frost
Date:
Subject: Re: PostgreSQL VS MongoDB: a use case comparison
Next
From: Jakub Glapa
Date:
Subject: Re: dsa_allocate() faliure