Re: jsonb format is pessimal for toast compression

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: John W Higgins <wishdev(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Stephen Frost <sfrost(at)snowman(dot)net>, pgsql-hackers(at)postgresql(dot)org, Larry White <ljw1001(at)gmail(dot)com>
Subject: Re: jsonb format is pessimal for toast compression
Date: 2014-08-08 16:26:46
Message-ID: 53E4FA46.9000807@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 08/08/2014 12:04 PM, John W Higgins wrote:

>
> Would an answer be to switch the location of the jsonb "header" data
> to the end of the field as opposed to the beginning of the field? That
> would allow pglz to see what it wants to see early on and go to work
> when possible?
>
> Add an offset at the top of the field to show where to look - but then
> it would be the same in terms of functionality outside of that? Or
> pretty close?
>

That might make building up jsonb structures piece by piece as we do
difficult.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2014-08-08 16:35:54 Re: jsonb format is pessimal for toast compression
Previous Message Tom Lane 2014-08-08 16:20:01 Re: jsonb format is pessimal for toast compression