Re: GIN vs. Partial Indexes

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: GIN vs. Partial Indexes
Дата
Msg-id 417D10D7-0AA8-4B0C-94E2-4A2DE863051E@kineticode.com
обсуждение исходный текст
Ответ на Re: GIN vs. Partial Indexes  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Oct 8, 2010, at 1:47 PM, Tom Lane wrote:

> How so?  In a typical application, there would not likely be very many
> such rows --- we're talking about cases like documents containing zero
> indexable words.  In any case, the problem right now is that GIN has
> significant functional limitations because it fails to make any index
> entry at all for such rows.  Even if there are in fact no such rows
> in a particular table, it has to fail on some queries because there
> *might* be such rows.  There is no way to fix those limitations
> unless it undertakes to have some index entry for every row.  That
> will take disk space, but it's *necessary*.  (To adapt the old saw,
> I can make this index arbitrarily small if it doesn't have to give
> the right answers.)

And could you not keep it the same with a partial index?

Best,

David


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

Предыдущее
От: Brendan Jurd
Дата:
Сообщение: Keywords in pg_hba.conf should be field-specific
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Keywords in pg_hba.conf should be field-specific