pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Track SLRU page hits in SimpleLruReadPage_ReadOnly
Date: Wed, 08 Apr 2020 00:17:00 +0000
Message-ID: <E1jLyOq-0002St-4U@gemulon.postgresql.org> (raw)

Track SLRU page hits in SimpleLruReadPage_ReadOnly

SLRU page hits were tracked only in SimpleLruReadPage, but that's not
enough because we may hit the page in SimpleLruReadPage_ReadOnly in
which case we don't call SimpleLruReadPage at all.

Reported-by: Kuntal Ghosh
Discussion: https://postgr.es/m/20200119143707.gyinppnigokesjok@development

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2b88fdde30d8e9bf833b75a014189e9148233b85

Modified Files
--------------
src/backend/access/transam/slru.c | 4 ++++
1 file changed, 4 insertions(+)



Message-ID: <E1jLyOq-0002St-4U@gemulon.postgresql.org>
Permalink:  ../E1jLyOq-0002St-4U@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jLyOq-0002St-4U@gemulon.postgresql.org

 · 

reply

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-committers@postgresql.org
  Cc: tomas.vondra@postgresql.org
  Subject: Re: pgsql: Track SLRU page hits in SimpleLruReadPage_ReadOnly
  In-Reply-To: <E1jLyOq-0002St-4U@gemulon.postgresql.org>
  References: <E1jLyOq-0002St-4U@gemulon.postgresql.org>

* 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