git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 7e12256) | patch
VACUUM VERBOSE: tweak scanned_pages logic.
2022年3月13日 20:07:49 +0000 (13:07 -0700)
2022年3月13日 20:07:49 +0000 (13:07 -0700)
commit 6e20f4600a420961817ce743be454080745f84d1
VACUUM VERBOSE: tweak scanned_pages logic.

Commit 872770fd6c taught VACUUM VERBOSE and autovacuum logging to
display the total number of pages scanned by VACUUM. This information
was also displayed as a percentage of rel_pages in parenthesis, which
makes it easy to spot trends over time and across tables.

The instrumentation displayed "0 scanned (0.00% of total)" for totally
empty tables. Tweak the instrumentation: have it show "0 scanned
(100.00% of total)" for empty tables instead. This approach is clearer
and more consistent.
src/backend/access/heap/vacuumlazy.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /