forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitddebd21
committed
Increase threshold for multixact member emergency autovac to 50%.
Analysis by Noah Misch shows that the 25% threshold set by commit53bb309 is lower than any other,similar autovac threshold. While we don't know exactly what valuewill be optimal for all users, it is better to err a little on thehigh side than on the low side. A higher value increases the riskthat users might exhaust the available space and start seeing errorsbefore autovacuum can clean things up sufficiently, but a user whohits that problem can compensate for it by reducingautovacuum_multixact_freeze_max_age to a value dependent on theiraverage multixact size. On the flip side, if the emergency capimposed by that patch kicks in too early, the user will experienceexcessive wraparound scanning and will be unable to mitigate thatproblem by configuration. The new value will hopefully reduce therisk of such bad experiences while still providing enough headroomto avoid multixact member exhaustion for most users.Along the way, adjust the documentation to reflect the effects ofcommit04e6d3b, which taughtautovacuum to run for multixact wraparound even when autovacuumis configured off.1 parent543fbec commitddebd21
File tree
2 files changed
+5
-4
lines changed- doc/src/sgml
- src/backend/access/transam
2 files changed
+5
-4
lines changedLines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
655 | 655 |
| |
656 | 656 |
| |
657 | 657 |
| |
658 |
| - | |
659 |
| - | |
| 658 | + | |
660 | 659 |
| |
661 | 660 |
| |
662 |
| - | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
663 | 664 |
| |
664 | 665 |
| |
665 | 666 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
167 | 167 |
| |
168 | 168 |
| |
169 | 169 |
| |
170 |
| - | |
| 170 | + | |
171 | 171 |
| |
172 | 172 |
| |
173 | 173 |
| |
|
0 commit comments
Comments
(0)