Re: Index Scans become Seq Scans after VACUUM ANALYSE

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Index Scans become Seq Scans after VACUUM ANALYSE
Дата
Msg-id
3212.1019015889@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Re: Index Scans become Seq Scans after VACUUM ANALYSE Maarten.Boekhold@reuters.com
Michael Loftis  writes:
> Realistically the system should choos *ANY* index over a sequential 
> table scan.

Sorry, I do not accept that.  You might as well say that we should
rip out any attempt at cost estimation, and instead put in two or
three lines of brain-dead heuristics.  If it were that simple we'd
all be using MySQL ;-)

> Above a fairly low number of records any indexed query 
> should be much faster than a seqscan.

Isn't that exactly backwards?
		regards, tom lane

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Tom Lane
Дата:
FAQ