Re: JSONB performance enhancement for 9.6

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: JSONB performance enhancement for 9.6
Дата
Msg-id 565A8F25.30506@hogranch.com
обсуждение исходный текст
Ответ на JSONB performance enhancement for 9.6  (Tom Smith <tomsmith1989sk@gmail.com>)
Ответы Re: JSONB performance enhancement for 9.6  (Tom Smith <tomsmith1989sk@gmail.com>)
Список pgsql-general
On 11/28/2015 6:27 PM, Tom Smith wrote:
> Is there a plan for 9.6 to resolve the issue of very slow
> query/retrieval of jsonb fields
> when there are large number (maybe several thousands) of top level keys.
> Currently, if I save a large json document with top level keys of
> thousands and query/retrieve
> field values,  the whole document has to be first decompressed and
> load to memory
> before searching for the specific field key/value.

If it was my data, I'd be decomposing that large JSON thing into
multiple SQL records, and storing as much stuff as possible in named SQL
fields, using JSON in the database only for things that are too
ambiguous for SQL.



--
john r pierce, recycling bits in santa cruz



В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Smith
Дата:
Сообщение: JSONB performance enhancement for 9.6
Следующее
От: "Steve Petrie, P.Eng."
Дата:
Сообщение: Re: using a postgres table as a multi-writer multi-updater queue