- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitbbf668d
committed
Lower minimum maintenance_work_mem to 64kB
Since the introduction of TID store, vacuum uses far less memory inthe common case than in versions 16 and earlier. Invoking multiplerounds of index vacuuming in turn requires a much larger table. It'dbe a good idea anyway to cover this case in regression testing, and alower limit is less painful for slow buildfarm animals. The reason todo it now is to re-enable coverage of the bugfix in commit83c39a1.For consistency, give autovacuum_work_mem the same treatment.Suggested by Andres FreundTested by Melanie PlagemanBackpatch to v17, where TID store was introducedDiscussion:https://postgr.es/m/20240516205458.ohvlzis5b5tvejru@awork3.anarazel.deDiscussion:https://postgr.es/m/20240722164745.fvaoh6g6zprisqgp%40awork3.anarazel.de1 parentf5a1311 commitbbf668d
File tree
3 files changed
+11
-6
lines changed- src/backend
- postmaster
- utils/misc
3 files changed
+11
-6
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3339 | 3339 |
| |
3340 | 3340 |
| |
3341 | 3341 |
| |
3342 |
| - | |
| 3342 | + | |
3343 | 3343 |
| |
3344 | 3344 |
| |
3345 | 3345 |
| |
3346 |
| - | |
3347 |
| - | |
| 3346 | + | |
| 3347 | + | |
3348 | 3348 |
| |
3349 | 3349 |
| |
3350 | 3350 |
|
Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2510 | 2510 |
| |
2511 | 2511 |
| |
2512 | 2512 |
| |
| 2513 | + | |
| 2514 | + | |
| 2515 | + | |
| 2516 | + | |
| 2517 | + | |
2513 | 2518 |
| |
2514 | 2519 |
| |
2515 | 2520 |
| |
2516 | 2521 |
| |
2517 | 2522 |
| |
2518 | 2523 |
| |
2519 | 2524 |
| |
2520 |
| - | |
| 2525 | + | |
2521 | 2526 |
| |
2522 | 2527 |
| |
2523 | 2528 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
139 | 139 |
| |
140 | 140 |
| |
141 | 141 |
| |
142 |
| - | |
143 |
| - | |
| 142 | + | |
| 143 | + | |
144 | 144 |
| |
145 | 145 |
| |
146 | 146 |
| |
|
0 commit comments
Comments
(0)