From: | Peter Geoghegan <pg(at)bowt(dot)ie> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: VACUUM VERBOSE: tweak scanned_pages logic. |
Date: | 2022-03-13 20:08:18 |
Message-ID: | E1nTUVm-000bgy-1x@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6e20f4600a420961817ce743be454080745f84d1
Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-03-13 23:52:55 | pgsql: Fix bogus tab-completion queries. |
Previous Message | Andres Freund | 2022-03-12 22:24:19 | pgsql: Force track_io_timing off in explain.sql to avoid failures when |