forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfed4e92
committed
Add missing assign hook for GUC checkpoint_completion_target
This is wrong since88e9823, that has switched the WAL sizingconfiguration from checkpoint_segments to min_wal_size andmax_wal_size. This missed the recalculation of the internal value ofthe internal "CheckPointSegments", that works as a mapping of the oldGUC checkpoint_segments, on reload, for example, and it controls thetiming of checkpoints depending on the volume of WAL generated.Most users tend to leave checkpoint_completion_target at 0.9 to smooththe I/O workload, which is why I guess this has gone unnoticed for solong, still it can be useful to tweak and reload the value dynamicallyin some cases to control the timing of checkpoints.Author: Bharath RupireddyDiscussion:https://postgr.es/m/CALj2ACXgPPAm28mruojSBno+F_=9cTOOxHAywu_dfZPeBdybQw@mail.gmail.comBackpatch-through: 111 parentdfe96d6 commitfed4e92
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3638 | 3638 |
| |
3639 | 3639 |
| |
3640 | 3640 |
| |
3641 |
| - | |
| 3641 | + | |
3642 | 3642 |
| |
3643 | 3643 |
| |
3644 | 3644 |
| |
|
0 commit comments
Comments
(0)