pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Stephen Frost <sfrost@snowman.net>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: f.pardi@portavita.eu, postgres performance list <pgsql-performance@postgresql.org>
Subject: Re: PostgreSQL VS MongoDB: a use case comparison
Date: Tue, 20 Nov 2018 14:46:59 -0500
Message-ID: <20181120194659.GJ3415@tamriel.snowman.net> (raw )
In-Reply-To: <CAHyXU0wQ=kVmEY3cq=ZxGxr605Phoaa17+g-Me0T9etUrS1Udg@mail.gmail.com >
References: <d43fd220-09f7-af4c-2623-44f094b15115@portavita.eu >
<20181119172609.GR3415@tamriel.snowman.net >
<CAHyXU0wQKaoQsZL=adB5vCFhjL+2kn4DiRnmVDEABJC8aCAz0w@mail.gmail.com >
<20181120164325.GE3415@tamriel.snowman.net >
<CAHyXU0yUVXobs=GssyY9soXTDOQX1=r1rt5x5Ek=0hE4pdZoAg@mail.gmail.com >
<20181120172829.GF3415@tamriel.snowman.net >
<CAHyXU0wQ=kVmEY3cq=ZxGxr605Phoaa17+g-Me0T9etUrS1Udg@mail.gmail.com >
Greetings,
* Merlin Moncure (mmoncure@gmail.com) wrote:
> On Tue, Nov 20, 2018 at 11:28 AM Stephen Frost <sfrost@snowman.net> wrote:
> > 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.
>
> Yes, the biggest concern with a shared dictionary ought to be
> concurrency type problems.
Hmmm, I wonder if we could do something like have a dictionary per
page.. Or perhaps based on some hash of the toast ID.. Not sure. :)
Thanks!
Stephen
Attachments:
[application/pgp-signature] signature.asc (818B, ../20181120194659.GJ3415@tamriel.snowman.net/2-signature.asc)
download
view thread (14+ messages) latest in thread
Message-ID: <20181120194659.GJ3415@tamriel.snowman.net>
Permalink: ../20181120194659.GJ3415@tamriel.snowman.net/
Also on: postgresql.org/message-id/20181120194659.GJ3415@tamriel.snowman.net
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: sfrost@snowman.net, mmoncure@gmail.com
Subject: Re: PostgreSQL VS MongoDB: a use case comparison
In-Reply-To: <20181120194659.GJ3415@tamriel.snowman.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox