Re: Index scan optimization

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Index scan optimization
Дата
Msg-id 12535.1411393514@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Index scan optimization  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Ответы Re: Index scan optimization  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-hackers
Heikki Linnakangas <hlinnakangas@vmware.com> writes:
> On 09/22/2014 07:47 AM, Rajeev rastogi wrote:
>> So my proposal is to skip the condition check on the first scan key condition for every tuple.

> The same happens in a single-column case. If you have a query like 
> "SELECT * FROM tbl2 where id2 > 'a'", once you've found the start 
> position of the scan, you know that all the rows that follow match too.

... unless you're doing a backwards scan.
        regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: documentation references invalid -A assertion checks option
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Index scan optimization