Re: Shouldn't the planner have a higher cost for reverse index scans?

Поиск
Список
Период
Сортировка
Josh Berkus <josh@agliodbs.com> writes:
> Not as far as I can tell.   It looks to me like the planner is assuming
> that a forwards index scan and a reverse index scan will have the same
> cost.

Right, because they do.  If you think otherwise, demonstrate it.
(bonnie tests approximating a reverse seqscan are not relevant
to the performance of indexscans.)

            regards, tom lane

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Using IOZone to simulate DB access patterns
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Using IOZone to simulate DB access patterns