Re: JSONB performance enhancement for 9.6 - Mailing list pgsql-general

From Francisco Olarte
Subject Re: JSONB performance enhancement for 9.6
Date
Msg-id CA+bJJbzRn6eogY6ZEUn+kfBCy9US=Wtvqa-+JvkOVFJr=9UP_Q@mail.gmail.com
Whole thread Raw
In response to Re: JSONB performance enhancement for 9.6  (Bill Moran <wmoran@potentialtech.com>)
List pgsql-general
Hi:
On Sun, Nov 29, 2015 at 1:09 PM, Bill Moran <wmoran@potentialtech.com> wrote:
> On Sat, 28 Nov 2015 21:27:51 -0500
>> Currently, if I save a large json document with top level keys of thousands
** LARGE **
> The default storage for a JSONB field is EXTENDED. Switching it to
> EXTERNAL will disable compression. You'll have to insert your data over
> again, since this change doesn't alter any existing data, but see
> if that change improves performance.

Good recomendation, but see if it improves AND if it affects other
queries in the system. Turning off compresion CAN decrease the
eficiency  ( hit ratio ) of the shared buffers and the cache, IIRC (
but worth testing anyway ).

Francisco Olarte.


pgsql-general by date:

Previous
From: Bill Moran
Date:
Subject: Re: JSONB performance enhancement for 9.6
Next
From: Thomas Kellerer
Date:
Subject: Re: JSONB performance enhancement for 9.6