Re: Air-traffic benchmark - Mailing list pgsql-performance

From Tom Lane
Subject Re: Air-traffic benchmark
Date
Msg-id 25623.1262922201@sss.pgh.pa.us
Whole thread Raw
In response to Re: Air-traffic benchmark  (Craig Ringer <craig@postnewspapers.com.au>)
List 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 by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Air-traffic benchmark
Next
From: Craig Ringer
Date:
Subject: Re: Air-traffic benchmark