| От | Josh Berkus |
|---|---|
| Тема | Re: index selection by query planner |
| Дата | |
| Msg-id | 200506201334.48766.josh@agliodbs.com обсуждение |
| Ответ на | index selection by query planner (Rohit Gaddi <rohitgaddi@yahoo.co.in>) |
| Список | pgsql-hackers |
Rohit, > 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. Please post the query, the table and index definitions, and the EXPLAIN ANALYZE to the PGSQL-PERFORMANCE mailing list. Thanks! -- Josh Berkus Aglio Database Solutions San Francisco
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера