Re: Merge Join chooses very slow index scan

Поиск
Список
Период
Сортировка
От Jake Magner
Тема Re: Merge Join chooses very slow index scan
Дата
Msg-id 1426748650278-5842527.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: Merge Join chooses very slow index scan  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-performance
random_page_cost = 4
seq_page_cost = 1

Regardless of the the choice to use the index scan and random access to the
rows, how come in the second query with the freq > -1 condition, it accesses
far fewer pages with the same index scan even though no rows are filtered
out?

Thanks



--
View this message in context:
http://postgresql.nabble.com/Merge-Join-chooses-very-slow-index-scan-tp5842523p5842527.html
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Merge Join chooses very slow index scan
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Merge Join chooses very slow index scan