| От | Tom Lane |
|---|---|
| Тема | Re: Index non-usage problem in 8.2.9 |
| Дата | |
| Msg-id | 12195.1220414385@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Index non-usage problem in 8.2.9 (Joseph S <jks@selectacast.net>) |
| Ответы |
Re: Index non-usage problem in 8.2.9
|
| Список | pgsql-general |
Joseph S <jks@selectacast.net> writes:
> Tom Lane wrote:
>> Can you force it to use the partial index by dropping the other index?
>> (Use begin; drop index ...; explain ...; rollback; to avoid dropping
>> the index for real.) It's quite unclear at this point whether it
> I tried, and it ends up using a seqscan.
Just to be sure, what if you set enable_seqscan = off?
If still not, then there must be something about the table or index
declaration that you didn't tell us. In the past, issues like use of
a domain instead of a bare datatype have been relevant ...
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера