Re: Btree vs. GIN

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Btree vs. GIN
Дата
Msg-id
2527719.1609522210@sss.pgh.pa.us
Ответ на
Btree vs. GIN (Jack Orenstein)
Список
Дерево обсуждения
Btree vs. GIN Jack Orenstein <jao@geophile.com>
Re: Btree vs. GIN Tom Lane <tgl@sss.pgh.pa.us>
Jack Orenstein  writes:
> I guess the top-level question is this: Is it possible in principle for the
> btree index to subsume GIN index capabilities?

Well, you could write a completely different index AM that happened to
share the same on-disk representation, perhaps.  But it would be a
different AM.  btree is built for scalar values and has none of the
mechanisms that GIN does for breaking down input values into
components-to-be-indexed, nor for analyzing complex query operators
to find out what indexable search conditions are implied.

			regards, tom lane


В списке pgsql-general по дате отправления
От: Jack Orenstein
Дата:
Сообщение: Btree vs. GIN
От: Dirk Mika
Дата:
FAQ