Re: jsonb value retrieval performance

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Tom Smith <tomsmith1989sk(at)gmail(dot)com>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: jsonb value retrieval performance
Date: 2015-09-09 16:27:05
Message-ID: 55F05DD9.40706@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> does it read in the whole jsonb tree structure in memory
> and get to v1 or it has some optimization so only get v1 instead
> of reading in the whole structure.

it reads, untoasts and uncompresses whole value and then executes search. An
idea to fix that is a reading jsonb value by only needed chunks.

--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Melvin Davidson 2015-09-09 16:31:00 clone_schema function
Previous Message Bruce Momjian 2015-09-09 15:17:18 Re: [GENERAL] Feature Request: bigtsvector