Re: Performance Problem Index Ignored, but why

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Performance Problem Index Ignored, but why
Дата
Msg-id 21113.1022041595@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Performance Problem Index Ignored, but why  ("Thomas A. Lowery" <tlowery@stlowery.net>)
Список pgsql-admin
"Thomas A. Lowery" <tlowery@stlowery.net> writes:
> Can I force the use of an index?

Try "set enable_seqscan = off".  But on the basis of what you've shown,
it's not obvious that an indexscan will be faster.  Is the planner's
estimate that 139654 rows will match f_state = 'PA' in the right
ballpark?

            regards, tom lane

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

Предыдущее
От: "Thomas A. Lowery"
Дата:
Сообщение: Performance Problem Index Ignored, but why
Следующее
От: "James Kelty"
Дата:
Сообщение: Rserv and Boolean...