Re: index skipped in favor of seq scan.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: index skipped in favor of seq scan.
Дата
Msg-id 10756.994800839@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RE: index skipped in favor of seq scan.  (ryan.a.roemmich@mail.sprint.com)
Список pgsql-general
ryan.a.roemmich@mail.sprint.com writes:
> Does the planner make the choice based on a percentage?

Essentially (actually, it's a nonlinear cost model, so "percentage" is
too simplistic).

It sounds like the only solution available to you until 7.2 comes out
is to use a sledgehammer:

    set enable_seqscan to off;

See the documentation.

            regards, tom lane

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

Предыдущее
От: Alexander Turchin
Дата:
Сообщение: Postgresql perl / libpq.so.2 problem - again :(
Следующее
От: jeff@emojo.com (Jeff Rhys-Jones)
Дата:
Сообщение: Inner Join?