index selection by query planner

Поиск
Список
Период
Сортировка
От Rohit Gaddi
Тема index selection by query planner
Дата
Msg-id 20050621074855.77673.qmail@web8306.mail.in.yahoo.com
обсуждение исходный текст
Список pgsql-performance
Hi,
 
I have a table with two indices on the same column, one of which is a partial index. I would like the query planner to use the partial index whenever the query condition lies in the range of the partial index as it would yield better performance. Is there any way to enforce the ordering for the indices? How does the query planner decide which index to use when a particular query is fired?  'Explain Analyze' showed the total index being used in a situation that could be fulfiled by the partial index.
 
Thanks,
Rohit


How much free photo storage do you get? Store your friends n family photos for FREE with Yahoo! Photos.
http://in.photos.yahoo.com

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

Предыдущее
От: "Chun Yit(Chronos)"
Дата:
Сообщение: Postgresql7.4.5 running slow on plpgsql function
Следующее
От: Rohit Gaddi
Дата:
Сообщение: index selection by query planner