- Notifications
You must be signed in to change notification settings - Fork28
Commitfe28069
committed
Scan GiST indexes in physical order during VACUUM.
Scanning an index in physical order is faster than walking it in logicalorder, because sequential I/O is faster than random I/O. The idea and codestructure is borrowed from B-tree vacuum code.Patch by Andrey Borodin, with changes by me. Based on early work byKonstantin Kuznetsov, although the patch has been rewritten multiple timessince his original version.Discussion:https://www.postgresql.org/message-id/1B9FAC6F-FA19-4A24-8C1B-F4F574844892%40yandex-team.ru1 parent35bc0ec commitfe28069
2 files changed
+287
-195
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
42 |
| - | |
| 41 | + | |
| 42 | + | |
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
| |||
261 | 261 |
| |
262 | 262 |
| |
263 | 263 |
| |
264 |
| - | |
| 264 | + | |
265 | 265 |
| |
266 | 266 |
| |
267 | 267 |
| |
| |||
1544 | 1544 |
| |
1545 | 1545 |
| |
1546 | 1546 |
| |
1547 |
| - | |
| 1547 | + | |
1548 | 1548 |
| |
1549 | 1549 |
| |
1550 | 1550 |
| |
1551 |
| - | |
| 1551 | + | |
1552 | 1552 |
| |
1553 | 1553 |
| |
1554 | 1554 |
| |
|
0 commit comments
Comments
(0)