On Mon, Mar 24, 2014 at 9:02 PM, Amit Kapila <amit.kapil...@gmail.com> wrote:
> MarkBufferDirty() always increment BufferUsage counter
> (shared_blks_dirtied) for dirty blocks whenever it dirties any
> block, whereas same is not true for MarkBufferDirtyHint().
> Is there any particular reason for not incrementing
> shared_blks_dirtied in MarkBufferDirtyHint()?
Hmm, I think that's a bug, dating back to this commit:
Author: Robert Haas <rh...@postgresql.org>
Date: Wed Feb 22 20:33:05 2012 -0500
Make EXPLAIN (BUFFERS) track blocks dirtied, as well as those written.
Also expose the new counters through pg_stat_statements.
Patch by me. Review by Fujii Masao and Greg Smith.
The Enterprise PostgreSQL Company
Sent via pgsql-hackers mailing list (firstname.lastname@example.org)
To make changes to your subscription: