index selection by query planner

Поиск
Список
Период
Сортировка
От Rohit Gaddi
Тема index selection by query planner
Дата
Msg-id 20050620195848.36824.qmail@web8305.mail.in.yahoo.com
обсуждение исходный текст
Ответы Re: index selection by query planner  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
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


Free antispam, antivirus and 1GB to save all your messages
Only in Yahoo! Mail: http://in.mail.yahoo.com

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

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: Re: pg_locks view versus prepared transactions
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pg_locks view versus prepared transactions