- Notifications
You must be signed in to change notification settings - Fork4.9k
Commita7496ae
committed
Make GIN's cleanup pending list process interruptable
Cleanup process could be called by ordinary insert/update and could take a lotof time. Add vacuum_delay_point() to make this process interruptable. Undervacuum this call will also throttle a vacuum process to decrease system load,called from insert/update it will not throttle, and that reduces a latency.Backpatch for all supported branches.Jeff Janes <jeff.janes@gmail.com>1 parentfad42aa commita7496ae
1 file changed
+3
-5
lines changedLines changed: 3 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
759 | 759 |
| |
760 | 760 |
| |
761 | 761 |
| |
762 |
| - | |
763 |
| - | |
| 762 | + | |
764 | 763 |
| |
765 | 764 |
| |
766 | 765 |
| |
| |||
797 | 796 |
| |
798 | 797 |
| |
799 | 798 |
| |
800 |
| - | |
801 |
| - | |
| 799 | + | |
802 | 800 |
| |
803 | 801 |
| |
804 | 802 |
| |
| |||
877 | 875 |
| |
878 | 876 |
| |
879 | 877 |
| |
880 |
| - | |
| 878 | + | |
881 | 879 |
| |
882 | 880 |
| |
883 | 881 |
| |
|
0 commit comments
Comments
(0)