jsonb value retrieval performance

Поиск
Список
Период
Сортировка
От Tom Smith
Тема jsonb value retrieval performance
Дата
Msg-id CAKwSVFESQ478zJAGi0FJES+uq3vrLhOwH-cZc21fuMu45wYTTg@mail.gmail.com
обсуждение исходный текст
Ответы Re: jsonb value retrieval performance  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-general
Hello:

Does JSONB storage has some internal indexing(like hasmap)
to fast look up a value given a key?
I have a jsonb doc with two level keys
(parentKey: {childKey:value}}
there are maybe 2000 parent keys per doc and 100 child keys per parent key

and I am trying to get value via  jsonb->parentKey->childKey
it seems it is very slow. 
Would it be actually faster to use top level key only and parse it at client side?

Thanks



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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Partitioning and constraint exclusion
Следующее
От: Vick Khera
Дата:
Сообщение: Re: Partitioning and constraint exclusion