Re: Air-traffic benchmark

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Craig Ringer <craig@xxxxxxxxxxxxxxxxxxxxx> 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

-- 
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux