forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6e20f46
committed
VACUUM VERBOSE: tweak scanned_pages logic.
Commit872770f taught VACUUM VERBOSE and autovacuum logging todisplay the total number of pages scanned by VACUUM. This informationwas also displayed as a percentage of rel_pages in parenthesis, whichmakes it easy to spot trends over time and across tables.The instrumentation displayed "0 scanned (0.00% of total)" for totallyempty tables. Tweak the instrumentation: have it show "0 scanned(100.00% of total)" for empty tables instead. This approach is clearerand more consistent.1 parent7e12256 commit6e20f46
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
676 | 676 |
| |
677 | 677 |
| |
678 | 678 |
| |
679 |
| - | |
| 679 | + | |
680 | 680 |
| |
681 | 681 |
| |
682 | 682 |
| |
|
0 commit comments
Comments
(0)