forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit357c845
committed
Adjust VACUUM's removable cutoff log message.
The age of OldestXmin (a.k.a. "removable cutoff") when VACUUM ends oftenindicates the approximate number of XIDs consumed while VACUUM ran.However, there is at least one important exception: the cutoff could beheld back by a snapshot that was acquired before our VACUUM even began.Successive VACUUM operations may even use exactly the same old cutoff inextreme cases involving long held snapshots.The log messages that described how removable cutoff aged (which wereadded by commit872770f) created the impression that we were reportingon how VACUUM's usable cutoff advanced while VACUUM ran, which wasmisleading in these extreme cases. Fix by using a more general wording.Per gripe from Tom Lane.In passing, relocate related instrumentation code for clarity.Author: Peter Geoghegan <pg@bowt.ie>Discussion:https://postgr.es/m/1643035.1650035653@sss.pgh.pa.us1 parent9199853 commit357c845
1 file changed
+15
-19
lines changedLines changed: 15 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
633 | 633 |
| |
634 | 634 |
| |
635 | 635 |
| |
636 |
| - | |
637 |
| - | |
| 636 | + | |
| 637 | + | |
638 | 638 |
| |
639 |
| - | |
640 |
| - | |
641 | 639 |
| |
642 | 640 |
| |
643 | 641 |
| |
| 642 | + | |
| 643 | + | |
644 | 644 |
| |
645 |
| - | |
646 |
| - | |
| 645 | + | |
647 | 646 |
| |
648 | 647 |
| |
649 | 648 |
| |
650 |
| - | |
651 |
| - | |
652 |
| - | |
653 |
| - | |
654 |
| - | |
655 |
| - | |
656 |
| - | |
657 |
| - | |
658 |
| - | |
659 |
| - | |
660 | 649 |
| |
661 | 650 |
| |
662 | 651 |
| |
| |||
710 | 699 |
| |
711 | 700 |
| |
712 | 701 |
| |
713 |
| - | |
| 702 | + | |
714 | 703 |
| |
715 | 704 |
| |
716 | 705 |
| |
717 | 706 |
| |
718 | 707 |
| |
719 |
| - | |
| 708 | + | |
720 | 709 |
| |
721 | 710 |
| |
722 | 711 |
| |
723 | 712 |
| |
724 | 713 |
| |
725 | 714 |
| |
726 |
| - | |
| 715 | + | |
727 | 716 |
| |
728 | 717 |
| |
729 | 718 |
| |
| |||
774 | 763 |
| |
775 | 764 |
| |
776 | 765 |
| |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
777 | 773 |
| |
778 | 774 |
| |
779 | 775 |
| |
|
0 commit comments
Comments
(0)