RE: [HACKERS] Some notes on optimizer cost estimates

Поиск
Список
Период
Сортировка
Искать
От
Hiroshi Inoue
Тема
RE: [HACKERS] Some notes on optimizer cost estimates
Дата
Msg-id
000b01bf63b1$093cbd40$2801007e@tpf.co.jp
Ответ на
Список
Дерево обсуждения
Re: [HACKERS] Some notes on optimizer cost estimates Hannu Krosing <hannu@tm.ee>
> -----Original Message-----
> From: owner-pgsql-hackers@postgreSQL.org
> [mailto:owner-pgsql-hackers@postgreSQL.org]On Behalf Of Tom Lane
> 
> I have been spending some time measuring actual runtimes for various
> sequential-scan and index-scan query plans, and have learned that the
> current Postgres optimizer's cost estimation equations are not very
> close to reality at all.
> 

Thanks for your good analysis.

I also have said current cost estimation for index-scan is too low.
But I have had no concrete numerical values.

I've wondered why we cound't analyze database without vacuum.
We couldn't run vacuum light-heartedly because it acquires an
exclusive lock for the target table. 
In addition,vacuum error occurs with analyze option in most
cases AFAIK. 

Regards.

Hiroshi Inoue
Inoue@tpf.co.jp

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