Re: querying with index on jsonb slower than standard column. Why?
В списке pgsql-sql по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: querying with index on jsonb slower than standard column. Why? |
| Дата | |
| Msg-id | 27877.1418057764@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: querying with index on jsonb slower than standard column. Why? (Adrian Klaver <adrian.klaver@aklaver.com>) |
| Ответы |
Re: querying with index on jsonb slower than standard column. Why?
|
| Список | pgsql-sql |
Adrian Klaver <adrian.klaver@aklaver.com> writes:
> Seems work_mem is the key:
Fascinating. So there's some bad behavior in the lossy-bitmap stuff
that's exposed by one case but not the other. The set of heap rows we
actually need to examine is presumably identical in both cases. The
only idea that comes to mind is that the order in which the TIDs get
inserted into the bitmaps might be entirely different between the two
index types. We might have to write it off as bad luck, if the
lossification algorithm doesn't have enough information to do better;
but it seems worth looking into.
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера