Re: Air-traffic benchmark

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Air-traffic benchmark
Дата
Msg-id 25623.1262922201@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Air-traffic benchmark  (Craig Ringer <craig@postnewspapers.com.au>)
Список pgsql-performance
Craig Ringer <craig@postnewspapers.com.au> writes:
> Can Pg even read partial records ? I thought it all operated on a page
> level, where if an index indicates that a particular value is present on
> a page the whole page gets read in and all records on the page are
> checked for the value of interest. No?

The whole page gets read, but we do know which record on the page
the index entry is pointing at.

(This statement is an oversimplification, because of lossy indexes
and lossy bitmap scans, but most of the time it's not a matter of
"checking all records on the page".)

            regards, tom lane

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Air-traffic benchmark
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Air-traffic benchmark