- Notifications
You must be signed in to change notification settings - Fork5
Commitf0e72a2
committed
Improve handling of dead tuples in hash indexes.
When squeezing a bucket during vacuum, it's not necessary to retainany tuples already marked as dead, so ignore them when deciding whichtuples must be moved in order to empty a bucket page. Similarly, whensplitting a bucket, relocating dead tuples to the new bucket is awaste of effort; instead, just ignore them.Amit Kapila, reviewed by me. Testing help provided by AshutoshSharma.1 parent650b967 commitf0e72a2
2 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
659 | 663 | | |
660 | 664 | | |
661 | 665 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
811 | 811 | | |
812 | 812 | | |
813 | 813 | | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
814 | 818 | | |
815 | 819 | | |
816 | 820 | | |
| |||
0 commit comments
Comments
(0)