| От | Bruce Momjian |
|---|---|
| Тема | Re: More efficient access of JSON array elements? |
| Дата | |
| Msg-id | 20200722184225.GD3899@momjian.us обсуждение исходный текст |
| Ответ на | More efficient access of JSON array elements? (Wells Oliver <wells.oliver@gmail.com>) |
| Список | pgsql-admin |
On Sat, Jul 18, 2020 at 06:22:20PM -0700, Wells Oliver wrote: > Hi: I'm wondering if there's an application of GIN (or otherwise) indexing with > jsonb columns to help speed up some queries where I'm not using WHERE clauses, > but unpacking rather large json objects to rows via jsonb_array_elements: it > seems indexing largely helps when filtering, but this is more unpacking/ > flattening with really quite sizable objects. You can use JSON (not JSONB) to get faster loading/unloading, but much slower filtering. -- Bruce Momjian <bruce@momjian.us> https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера