pgsql: Track SLRU page hits in SimpleLruReadPage_ReadOnly - Mailing list pgsql-committers

From Tomas Vondra
Subject pgsql: Track SLRU page hits in SimpleLruReadPage_ReadOnly
Date
Msg-id E1jLyOq-0002St-4U@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(+)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pgsql: Appease perlcritic
Next
From: Andres Freund
Date:
Subject: pgsql: snapshot scalability: Move delayChkpt from PGXACT to PGPROC.