Re: querying with index on jsonb slower than standard column. Why?

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: querying with index on jsonb slower than standard column. Why?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: querying with index on jsonb slower than standard column. Why?