forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbbcc4eb
committed
Change checkpoint_completion_target default to 0.9
Common recommendations are that the checkpoint should be spread out asmuch as possible, provided we avoid having it take too long. Thischange updates the default to 0.9 (from 0.5) to match thatrecommendation.There was some debate about possibly removing the option entirely but itseems there may be some corner-cases where having it set much lower totry to force the checkpoint to be as fast as possible could result infewer periods of time of reduced performance due to kernel flushing.General agreement is that the "spread more" is the preferred approachthough and those who need to tune away from that value are much lesscommon.Reviewed-By: Michael Paquier, Peter Eisentraut, Tom Lane, David Steele,Nathan BossartDiscussion:https://postgr.es/m/20201207175329.GM16415%40tamriel.snowman.net1 parente5595de commitbbcc4eb
File tree
6 files changed
+30
-18
lines changed- doc/src/sgml
- src
- backend
- postmaster
- utils/misc
- test/recovery/t
6 files changed
+30
-18
lines changedLines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3302 | 3302 |
| |
3303 | 3303 |
| |
3304 | 3304 |
| |
3305 |
| - | |
3306 |
| - | |
3307 |
| - | |
| 3305 | + | |
| 3306 | + | |
| 3307 | + | |
| 3308 | + | |
| 3309 | + | |
| 3310 | + | |
| 3311 | + | |
| 3312 | + | |
| 3313 | + | |
3308 | 3314 |
| |
3309 | 3315 |
| |
3310 | 3316 |
| |
|
Lines changed: 18 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
571 | 571 |
| |
572 | 572 |
| |
573 | 573 |
| |
574 |
| - | |
| 574 | + | |
| 575 | + | |
575 | 576 |
| |
576 | 577 |
| |
577 | 578 |
| |
578 | 579 |
| |
579 |
| - | |
| 580 | + | |
580 | 581 |
| |
581 |
| - | |
582 |
| - | |
583 |
| - | |
584 |
| - | |
585 |
| - | |
586 |
| - | |
587 |
| - | |
588 |
| - | |
589 |
| - | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
590 | 597 |
| |
591 | 598 |
| |
592 | 599 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
145 | 145 |
| |
146 | 146 |
| |
147 | 147 |
| |
148 |
| - | |
| 148 | + | |
149 | 149 |
| |
150 | 150 |
| |
151 | 151 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3725 | 3725 |
| |
3726 | 3726 |
| |
3727 | 3727 |
| |
3728 |
| - | |
| 3728 | + | |
3729 | 3729 |
| |
3730 | 3730 |
| |
3731 | 3731 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
231 | 231 |
| |
232 | 232 |
| |
233 | 233 |
| |
234 |
| - | |
| 234 | + | |
235 | 235 |
| |
236 | 236 |
| |
237 | 237 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
30 | 29 |
| |
31 | 30 |
| |
32 | 31 |
| |
|
0 commit comments
Comments
(0)