Re: index usage on arrays

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: index usage on arrays
Дата
Msg-id 8143.1202410918@sss.pgh.pa.us
обсуждение исходный текст
Ответ на index usage on arrays  (andrew klassen <aptklassen@yahoo.com>)
Список pgsql-performance
andrew klassen <aptklassen@yahoo.com> writes:
> Is there any alternative to what am I currently doing other than creating a row for
> each array element,

Since (I think) 8.2, you could create a GIN index on the array column
and then array overlap (&&) would be indexable.  GIN has some
performance issues if the table is heavily updated, though.

            regards, tom lane

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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: index usage on arrays
Следующее
От: "Yonatan Ben-Nes"
Дата:
Сообщение: Wrong number of rows estimation by the planner