diff options
author | Andres Freund <andres@anarazel.de> | 2022-10-13 09:55:46 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2022-10-13 09:55:46 -0700 |
commit | 2589434ae0fbfe08e46b6a4ffba400140b636074 (patch) | |
tree | 495f2f835d353c17bb4a0f4c65e487487484484f /src/backend/tcop/postgres.c | |
parent | 7f8d9cedb374c9a23f0730f92a0b88d479325ba9 (diff) | |
download | postgresql-2589434ae0fbfe08e46b6a4ffba400140b636074.tar.gz postgresql-2589434ae0fbfe08e46b6a4ffba400140b636074.zip |
pg_buffercache: Add pg_buffercache_summary()
Using pg_buffercache_summary() is significantly cheaper than querying
pg_buffercache and summarizing in SQL.
Author: Melih Mutlu <m.melihmutlu@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Aleksander Alekseev <aleksander@timescale.com>
Reviewed-by: Zhang Mingli <zmlpostgres@gmail.com>
Discussion: https://postgr.es/m/CAGPVpCQAXYo54Q%3D8gqBsS%3Du0uk9qhnnq4%2B710BtUhUisX1XGEg%40mail.gmail.com
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions