aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-03-23 13:25:14 +0900
committerMichael Paquier <michael@paquier.xyz>2021-03-23 13:25:14 +0900
commit5aed6a1fc214913de9ac69c1717dc64a2483e16d (patch)
tree66677d67e4dfb8c15830500e869e859ba7c72d06 /doc/src
parent4b82ed6eca41220e50d4712ab929c20030b30d35 (diff)
downloadpostgresql-5aed6a1fc214913de9ac69c1717dc64a2483e16d.tar.gz
postgresql-5aed6a1fc214913de9ac69c1717dc64a2483e16d.zip
Add per-index stats information in verbose logs of autovacuum
Once a relation's autovacuum is completed, the logs include more information about this relation state if the threshold of log_autovacuum_min_duration (or its relation option) is reached, with for example contents about the statistics of the VACUUM operation for the relation, WAL and system usage. This commit adds more information about the statistics of the relation's indexes, with one line of logs generated for each index. The index stats were already calculated, but not printed in the context of autovacuum yet. While on it, some refactoring is done to keep track of the index statistics directly within LVRelStats, simplifying some routines related to parallel VACUUMs. Author: Masahiko Sawada Reviewed-by: Michael Paquier, Euler Taveira Discussion: https://postgr.es/m/CAD21AoAy6SxHiTivh5yAPJSUE4S=QRPpSZUdafOSz0R+fRcM6Q@mail.gmail.com
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions