Re: Sequential scan being used despite indexes

Поиск
Список
Период
Сортировка
От James Russell
Тема Re: Sequential scan being used despite indexes
Дата
Msg-id 3a3a16930601312033w2e4e3186k8f502e5b8c2cc6f2@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Sequential scan being used despite indexes  (Michael Fuhr <mike@fuhr.org>)
Ответы Re: Sequential scan being used despite indexes  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Re: Sequential scan being used despite indexes  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-performance
[Sorry, my last reply didn't go to the list]

Reading about this issue further in the FAQ, it seems that I should ensure that Postgres has adequate and accurate information about the tables in question by regularly running VACUUM ANALYZE, something I don't do currently.

I disabled SeqScan as per the FAQ, and it indeed was a lot slower so Postgres was making the right choice in this case.

Many thanks,

James

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

Предыдущее
От: "Jeffrey W. Baker"
Дата:
Сообщение: Re: Huge Data sets, simple queries
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: Sequential scan being used despite indexes