Re: Cost estimates consistently too high - does it matter?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Cost estimates consistently too high - does it matter?
Дата
Msg-id 26638.1060355676@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Cost estimates consistently too high - does it matter?  ("Matt Clark" <matt@ymogen.net>)
Ответы Re: Cost estimates consistently too high - does it matter?  ("Matt Clark" <matt@ymogen.net>)
Список pgsql-admin
"Matt Clark" <matt@ymogen.net> writes:
> I've noticed that the cost estimates for a lot of my queries are
> consistently far to high.

You seem to be under a misapprehension.  The cost estimates are not
in units of milliseconds, they are on an arbitrary scale with 1.0
defined as one disk fetch.

LIMIT throws another monkey wrench into the mix: the estimates for the
plan nodes underneath the limit are done as if the plan were to be
executed to completion, which of course it won't be.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: readline missing on linux?
Следующее
От: "Matt Clark"
Дата:
Сообщение: Re: Cost estimates consistently too high - does it matter?