Re: 8.1 count(*) distinct: IndexScan/SeqScan

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 8.1 count(*) distinct: IndexScan/SeqScan
Дата
Msg-id 7006.1132802096@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 8.1 count(*) distinct: IndexScan/SeqScan  (Pailloncy Jean-Gerard <jg@rilk.com>)
Ответы Re: 8.1 count(*) distinct: IndexScan/SeqScan  (Pailloncy Jean-Gerard <jg@rilk.com>)
Список pgsql-performance
Pailloncy Jean-Gerard <jg@rilk.com> writes:
> Why the stupid indexscan plan on the whole table ?

Pray tell, what are you using for the planner cost parameters?
The only way I can come close to duplicating your numbers is
by setting random_page_cost to somewhere around 0.01 ...

            regards, tom lane

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

Предыдущее
От: "Luke Lonergan"
Дата:
Сообщение: Re: Hardware/OS recommendations for large databases (
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: Hardware/OS recommendations for large databases (