forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc3e775e
Use streaming read I/O in VACUUM's third phase
Make vacuum's third phase (its second pass over the heap), which reapsdead items collected in the first phase and marks them as reusable, usethe read stream API. This commit adds a new read stream callback,vacuum_reap_lp_read_stream_next(), that looks ahead in the TidStore andreturns the next block number to read for vacuum.Author: Melanie Plageman <melanieplageman@gmail.com>Co-authored-by: Thomas Munro <thomas.munro@gmail.com>Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com>Discussion:https://postgr.es/m/CA%2BhUKGKN3oy0bN_3yv8hd78a4%2BM1tJC9z7mD8%2Bf%2ByA%2BGeoFUwQ%40mail.gmail.com1 parent9256822 commitc3e775e
1 file changed
+49
-6
lines changedLines changed: 49 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2640 | 2640 |
| |
2641 | 2641 |
| |
2642 | 2642 |
| |
| 2643 | + | |
| 2644 | + | |
| 2645 | + | |
| 2646 | + | |
| 2647 | + | |
| 2648 | + | |
| 2649 | + | |
| 2650 | + | |
| 2651 | + | |
| 2652 | + | |
| 2653 | + | |
| 2654 | + | |
| 2655 | + | |
| 2656 | + | |
| 2657 | + | |
| 2658 | + | |
| 2659 | + | |
| 2660 | + | |
| 2661 | + | |
| 2662 | + | |
| 2663 | + | |
| 2664 | + | |
| 2665 | + | |
| 2666 | + | |
| 2667 | + | |
| 2668 | + | |
2643 | 2669 |
| |
2644 | 2670 |
| |
2645 | 2671 |
| |
| |||
2660 | 2686 |
| |
2661 | 2687 |
| |
2662 | 2688 |
| |
| 2689 | + | |
2663 | 2690 |
| |
2664 | 2691 |
| |
2665 | 2692 |
| |
2666 | 2693 |
| |
2667 |
| - | |
2668 | 2694 |
| |
2669 | 2695 |
| |
2670 | 2696 |
| |
| |||
2680 | 2706 |
| |
2681 | 2707 |
| |
2682 | 2708 |
| |
2683 |
| - | |
| 2709 | + | |
| 2710 | + | |
| 2711 | + | |
| 2712 | + | |
| 2713 | + | |
| 2714 | + | |
| 2715 | + | |
| 2716 | + | |
| 2717 | + | |
| 2718 | + | |
| 2719 | + | |
2684 | 2720 |
| |
2685 | 2721 |
| |
2686 | 2722 |
| |
2687 | 2723 |
| |
| 2724 | + | |
2688 | 2725 |
| |
2689 | 2726 |
| |
2690 | 2727 |
| |
2691 | 2728 |
| |
2692 | 2729 |
| |
2693 | 2730 |
| |
2694 |
| - | |
2695 |
| - | |
| 2731 | + | |
2696 | 2732 |
| |
| 2733 | + | |
| 2734 | + | |
| 2735 | + | |
| 2736 | + | |
| 2737 | + | |
| 2738 | + | |
| 2739 | + | |
2697 | 2740 |
| |
2698 | 2741 |
| |
2699 | 2742 |
| |
| |||
2705 | 2748 |
| |
2706 | 2749 |
| |
2707 | 2750 |
| |
2708 |
| - | |
2709 |
| - | |
2710 | 2751 |
| |
2711 | 2752 |
| |
2712 | 2753 |
| |
| |||
2719 | 2760 |
| |
2720 | 2761 |
| |
2721 | 2762 |
| |
| 2763 | + | |
| 2764 | + | |
2722 | 2765 |
| |
2723 | 2766 |
| |
2724 | 2767 |
| |
|
0 commit comments
Comments
(0)