forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9744fe2
committed
Use DELETE instead of UPDATE to speed up vacuum test
e2e9928 introduced a test which generated dead tuples forvacuum with an UPDATE. The test only required enough dead TIDs for tworounds of index vacuuming. This can be accomplished with a DELETEinstead of an UPDATE -- which generates about 50% less WAL and makes thetest 20% faster in many cases. The test takes several seconds (more onslow buildfarm animals) because we need quite a few tuples to triggertwo rounds of index vacuuming; so it is worth a follow-on commit tospeed it up.Suggested-by: Masahiko SawadaDiscussion:https://postgr.es/m/CAAKRu_bWmMjmqL%2BOZ2duEQ80u7cRvpsExLNZNjzk-pXX5skwMQ%40mail.gmail.comBackpatch-through: 14, the first version containing this test.1 parent0a80e88 commit9744fe2
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
70 | 70 |
| |
71 | 71 |
| |
72 | 72 |
| |
73 |
| - | |
| 73 | + | |
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
|
0 commit comments
Comments
(0)