Rename SLRU elements in view pg_stat_slru
Alvaro Herrera <alvherre@alvh.no-ip.org>
Rename SLRU elements in view pg_stat_slru The new names are intended to match those in an upcoming patch that adds a few GUCs to configure the SLRU buffer sizes. Backwards compatibility concern: this changes the accepted names for function pg_stat_slru_rest(). Since this function recognizes "any other string" as a request to reset the entry for "other", this means that calling it with the old names would silently reset "other" instead of doing nothing or throwing an error. Reviewed-by: Andrey M. Borodin <x4mmm@yandex-team.ru> Discussion: https://postgr.es/m/202402261616.dlriae7b6emv@alvherre.pgsql
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/monitoring.sgml | modified | +7 −7 |
| src/backend/access/transam/clog.c | modified | +1 −1 |
| src/backend/access/transam/commit_ts.c | modified | +1 −1 |
| src/backend/access/transam/multixact.c | modified | +2 −2 |
| src/backend/access/transam/subtrans.c | modified | +1 −1 |
| src/backend/commands/async.c | modified | +1 −1 |
| src/backend/storage/lmgr/predicate.c | modified | +1 −1 |
| src/include/utils/pgstat_internal.h | modified | +7 −7 |
| src/test/isolation/expected/stats_1.out | modified | +22 −22 |
| src/test/isolation/expected/stats.out | modified | +22 −22 |
| src/test/isolation/specs/stats.spec | modified | +2 −2 |
| src/test/regress/expected/stats.out | modified | +7 −7 |
| src/test/regress/sql/stats.sql | modified | +7 −7 |
Documentation touched
Discussion
- SLRU optimization - configurable buffer pool and partitioning the SLRU lock 131 messages · 2023-10-11 → 2024-04-03