Re: force the use of a particular index

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: force the use of a particular index
Дата
Msg-id 11919.1057937041@sss.pgh.pa.us
обсуждение исходный текст
Ответ на force the use of a particular index  (Scott Cain <cain@cshl.org>)
Ответы Re: force the use of a particular index  (Scott Cain <cain@cshl.org>)
Список pgsql-performance
Scott Cain <cain@cshl.org> writes:
> So, the question is, is there a way I can force the query planner to use
> the index I want it to use?

No (and I don't think there should be).  Given that it *can* generate
the plan you want, this is clearly an estimation failure.  What is the
index it does use?  Would you show us EXPLAIN ANALYZE results when
using each index?

            regards, tom lane

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

Предыдущее
От: Martin Foster
Дата:
Сообщение: Re: [NOVICE] Extreme high load averages
Следующее
От: Scott Cain
Дата:
Сообщение: Re: force the use of a particular index