Re: DISTINCT on jsonb fields and Indexes

Поиск
Список
Период
Сортировка
От Michael Lewis
Тема Re: DISTINCT on jsonb fields and Indexes
Дата
Msg-id CAHOFxGoMiX+Vc=E_t5yxaWZbe2+cbU-68bWJYge_AB+foVfDTw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: DISTINCT on jsonb fields and Indexes  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: DISTINCT on jsonb fields and Indexes  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: DISTINCT on jsonb fields and Indexes  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
In the example of "select distinct expression", the planner will never notice
that that expression has anything to do with an index.

Thanks for that explanation. I assume re-writing as a 'group by' would have no bearing on that planner decision.

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

Предыдущее
От: "Jim Hurne"
Дата:
Сообщение: RE: autovacuum failing on pg_largeobject and disk usage of thepg_largeobject growing unchecked
Следующее
От: Tom Lane
Дата:
Сообщение: Re: DISTINCT on jsonb fields and Indexes