mirror of
https://github.com/postgres/postgres.git
synced 2026-01-05 23:38:41 +03:00
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
This commit is contained in:
@@ -19,6 +19,7 @@ install_data(
|
||||
'pg_buffercache--1.1--1.2.sql',
|
||||
'pg_buffercache--1.2--1.3.sql',
|
||||
'pg_buffercache--1.2.sql',
|
||||
'pg_buffercache--1.3--1.4.sql',
|
||||
'pg_buffercache.control',
|
||||
kwargs: contrib_data_args,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user