diff options
author | Andres Freund <andres@anarazel.de> | 2023-03-30 19:22:40 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2023-03-30 19:24:21 -0700 |
commit | 8aaa04b32d790da595684de58ae4fc2db96becff (patch) | |
tree | d9993491ee35f81fbf8be407a4ef76b486768ef0 /src/backend/utils/adt/float.c | |
parent | 6c3b697b19db6274da622cf0fe7a7ad32eeeced3 (diff) | |
download | postgresql-8aaa04b32d790da595684de58ae4fc2db96becff.tar.gz postgresql-8aaa04b32d790da595684de58ae4fc2db96becff.zip |
Track shared buffer hits in pg_stat_io
Among other things, this should make it easier to calculate a useful cache hit
ratio by excluding buffer reads via buffer access strategies. As buffer access
strategies reuse buffers (and thus evict the prior buffer contents), it is
normal to see reads on repeated scans of the same data.
Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CAAKRu_beMa9Hzih40%3DXPYqhDVz6tsgUGTrhZXRo%3Dunp%2Bszb%3DUA%40mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/float.c')
0 files changed, 0 insertions, 0 deletions