From: Jim Nasby <jnasby@pervasive.com>
To: Postgresql Performance <pgsql-performance@postgresql.org>
Subject: Blocks read for index scans
Date: Thu, 13 Apr 2006 13:00:07 -0500
Message-ID: <85979594-1CCA-43C5-A8F2-08685CF41ACE@pervasive.com> (raw)
While working on determining a good stripe size for a database, I
realized it would be handy to know what the average request size is.
Getting this info is a simple matter of joining pg_stat_all_tables
and pg_statio_all_tables and doing some math, but there's one issue
I've found; it appears that there's no information on how many heap
blocks were read in by an index scan. Is there any way to get that info?
--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
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: jnasby@pervasive.com
Subject: Re: Blocks read for index scans
In-Reply-To: <85979594-1CCA-43C5-A8F2-08685CF41ACE@pervasive.com>
* 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