From: Andres Freund <andres@anarazel.de>
To: polpot78@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13437: Seq Scan increases heap_blks_read instead of heap_blks_hit when no disk is read
Date: Fri, 12 Jun 2015 15:24:11 +0200
Message-ID: <20150612132411.GD28424@awork2.anarazel.de> (raw)
In-Reply-To: <20150612132133.32368.65305@wrigleys.postgresql.org>
References: <20150612132133.32368.65305@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 2015-06-12 13:21:33 +0000, polpot78@gmail.com wrote:
> When a seq scan is performed, but no real disk reads is performed, then
> postgreSQL still reports that disk-reads are performed. iostat reports that
> no Blocks are read.
Note that postgres' reports everything as a disk read that goes to the
OS. Which then does it's own level of caching.
Greetings,
Andres Freund
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: andres@anarazel.de, polpot78@gmail.com
Subject: Re: BUG #13437: Seq Scan increases heap_blks_read instead of heap_blks_hit when no disk is read
In-Reply-To: <20150612132411.GD28424@awork2.anarazel.de>
References: <20150612132133.32368.65305@wrigleys.postgresql.org> <20150612132411.GD28424@awork2.anarazel.de>
* 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