Re: Index usage btree+gist ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Index usage btree+gist ?
Дата
Msg-id 9284.1140188309@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Index usage btree+gist ?  (Arnaud Lesauvage <thewild@freesurf.fr>)
Ответы Re: Index usage btree+gist ?  (Arnaud Lesauvage <thewild@freesurf.fr>)
Список pgsql-novice
Arnaud Lesauvage <thewild@freesurf.fr> writes:
> I have a table with a lot of rows (~3.000.000 I believe), and two
> indexes.
> The first one is a BTree index on a column (lets call it
> btreecolumn) which contains only 8 different integer values (from
> 0 to 8).

An index as unselective as that is almost useless.  It's not surprising
that the planner doesn't think it's worth the trouble to use it.

            regards, tom lane

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

Предыдущее
От: "Curt Schwaderer"
Дата:
Сообщение: Writing Python triggers and the TD dictionary value
Следующее
От: Arnaud Lesauvage
Дата:
Сообщение: Re: Index usage btree+gist ?