| От | Tom Lane |
|---|---|
| Тема | Re: Which indexes does a query use? |
| Дата | |
| Msg-id | 4400.1141000579@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Which indexes does a query use? (Russell Smith <mr-russ@pws.com.au>) |
| Список | pgsql-general |
Russell Smith <mr-russ@pws.com.au> writes:
> Chris Velevitch wrote:
>> If I'm reading this right, it's telling me that is NOT using any indexes.
>> Clearly, this is wrong.
> Not necessarily.
> ...
> If you post "explain analyze" instead of "explain" and possibly the
> number row in that table, we might be able to help further, but that is
> my best guess from the information given.
Also, has the table been vacuumed/analyzed lately? The planner clearly
thinks it is small, but that information could be out of date (and 7.x
releases aren't going to notice if the table has gotten bigger since
the last vacuum or analyze).
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера