Re: Index scan startup time

Поиск
Список
Период
Сортировка
От Steinar H. Gunderson
Тема Re: Index scan startup time
Дата
Msg-id 20060330125147.GA13611@uio.no
обсуждение исходный текст
Ответ на Re: Index scan startup time  (Michael Stone <mstone+postgres@mathom.us>)
Ответы Re: Index scan startup time  (Michael Stone <mstone+postgres@mathom.us>)
Список pgsql-performance
On Thu, Mar 30, 2006 at 07:42:53AM -0500, Michael Stone wrote:
> Yes. And the estimates are bad enough (orders of magnitude) that I can't
> help but wonder whether pg could come up with a better plan with better
> statistics:
>
>>>>>  ->  Index Scan using activity_pk on activity  (cost=0.00..40717259.91
>>>>>  rows=6538650 width=8) (actual time=207356.050..207356.722 rows=100
>>>>>  loops=1) Filter: ((state = 10000) OR (state = 10001))

Isn't the rows=100 here because of the LIMIT?

/* Steinar */
--
Homepage: http://www.sesse.net/

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

Предыдущее
От: Michael Stone
Дата:
Сообщение: Re: Index scan startup time
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Index scan startup time