Re: Research/Implementation of Nested Loop Join optimization

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Research/Implementation of Nested Loop Join optimization
Дата
Msg-id 4383.1217033089@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Research/Implementation of Nested Loop Join optimization  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane escribi�:
>> Good joke, but to be serious: we expect that forward scans will result
>> in the kernel doing read-ahead, which will allow overlapping of
>> CPU work to process one page with the I/O to bring in the next page.

> I wonder if this is spoiled (or rather, the backwards case fixed) by the
> attempts to call posix_fadvise() on certain types of scan.

Yeah, I started wondering about that too after sending off the above.
The fadvise patch might eliminate the distinction ... on platforms where
fadvise exists and actually works well.
        regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Research/Implementation of Nested Loop Join optimization
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Review: DTrace probes (merged version) ver_03