Re: Confusion and Questions about blocks read - Mailing list pgsql-performance

From Alex Turner
Subject Re: Confusion and Questions about blocks read
Date
Msg-id 33c6269f0609221013g658e19b0lfe57e392c77cf6d0@mail.gmail.com
Whole thread Raw
In response to Re: Confusion and Questions about blocks read  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Confusion and Questions about blocks read  ("Alex Turner" <armtuk@gmail.com>)
List pgsql-performance
ahh.... good point

Thanks

On 9/22/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:
"Alex Turner" <armtuk@gmail.com> writes:
> Home come the query statistics showed that 229066 blocks where read given
> that all the blocks in all the tables put together only total 122968?

You forgot to count the indexes.  Also, the use of indexscans in the
mergejoins probably causes multiple re-reads of some table blocks,
depending on just what the physical ordering of the rows is.

                        regards, tom lane

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Confusion and Questions about blocks read
Next
From: Charles Sprickman
Date:
Subject: recommended benchmarks