Re: 'Index Full Scan' for Index Scan without Index Cond

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 'Index Full Scan' for Index Scan without Index Cond
Дата
Msg-id 17023.1149604290@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 'Index Full Scan' for Index Scan without Index Cond  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: 'Index Full Scan' for Index Scan without Index Cond  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-patches
Simon Riggs <simon@2ndquadrant.com> writes:
> Perhaps we should call it 'Ordered Scan' so that it is completely
> different from 'Index Scan'?

It's not an either/or proposition; the planner could be using the index
for both selectivity and ordering.  This discussion is also overlooking
the possibility that a partial index is being used for its predicate
(again, possibly in combination with explicit index quals and/or
interest in the sort order).

            regards, tom lane

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Why do we have a WAL record for CLOG page extension?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Why do we have a WAL record for CLOG page extension?