From: Tom Lane <tgl@sss.pgh.pa.us>
To: Craig Ringer <craig@postnewspapers.com.au>
Cc: Gurgel, Flavio <flavio@4linux.com.br>
Cc: Lefteris <lsidir@gmail.com>
Cc: pgsql-performance@postgresql.org, Ivan Voras <ivoras@freebsd.org>
Subject: Re: Air-traffic benchmark
Date: Thu, 07 Jan 2010 22:43:21 -0500
Message-ID: <25623.1262922201@sss.pgh.pa.us> (raw)
In-Reply-To: <4B46A6FD.5070106@postnewspapers.com.au>
References: <32176465.41521262879116337.JavaMail.root@mail.4linux.com.br>
<4B46A6FD.5070106@postnewspapers.com.au>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, craig@postnewspapers.com.au, flavio@4linux.com.br, lsidir@gmail.com, ivoras@freebsd.org
Subject: Re: Air-traffic benchmark
In-Reply-To: <25623.1262922201@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox