Forcing use of a particular index

Поиск
Список
Период
Сортировка
От Karl O. Pinc
Тема Forcing use of a particular index
Дата
Msg-id 1119914161l.4428l.4l@mofo
обсуждение исходный текст
Ответы Re: Forcing use of a particular index  (Jacques Caron <jc@directinfos.com>)
Список pgsql-performance
http://www.postgresql.org/docs/8.0/static/indexes-examine.html

Says:

"If you do not succeed in adjusting the costs to be more
appropriate, then you may have to resort to forcing index
usage explicitly."

Is there a way to force a query to use a particular index?
If not, what does this sentence mean?

Thanks.


Karl <kop@meme.com>
Free Software:  "You don't pay back, you pay forward."
                  -- Robert A. Heinlein


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

Предыдущее
От: "Karl O. Pinc"
Дата:
Сообщение: Poor index choice -- multiple indexes of the same columns
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Poor index choice -- multiple indexes of the same columns