forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit64da07c
committed
Default to log_checkpoints=on, log_autovacuum_min_duration=10m
The idea here is that when a performance problem is known to haveoccurred at a certain point in time, it's a good thing if there issome information available from the logs to help figure out whatmight have happened around that time.This change attracted an above-average amount of dissent, becauseit means that a server with default settings will produce some amountof log output even if nothing has gone wrong. However, by my count,the mailing list discussion had about twice as many people in favorof the change as opposed. The reasons for believing that the extralog output is not an issue in practice are: (1) the rate at whichmessages can be generated by this setting is bounded to one everyfew minutes on a properly-configured system and (2) productionsystems tend to have a lot more junk in the log from that due tofailed connection attempts, ERROR messages generated by applicationactivity, and the like.Bharath Rupireddy, reviewed by Fujii Masao and by me. Many otherpeople commented on the thread, but as far as I can see that wasdiscussion of the merits of the change rather than review of thepatch.Discussion:https://postgr.es/m/CALj2ACX-rW_OeDcp4gqrFUAkf1f50Fnh138dmkd0JkvCNQRKGA@mail.gmail.com1 parent5cc9c83 commit64da07c
File tree
6 files changed
+16
-17
lines changed- doc/src/sgml
- src
- backend
- access/transam
- postmaster
- utils/misc
- bin/initdb
6 files changed
+16
-17
lines changedLines changed: 8 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6764 | 6764 |
| |
6765 | 6765 |
| |
6766 | 6766 |
| |
6767 |
| - | |
6768 |
| - | |
6769 |
| - | |
| 6767 | + | |
| 6768 | + | |
6770 | 6769 |
| |
6771 | 6770 |
| |
6772 | 6771 |
| |
6773 | 6772 |
| |
6774 | 6773 |
| |
6775 |
| - | |
6776 |
| - | |
6777 |
| - | |
6778 |
| - | |
6779 |
| - | |
| 6774 | + | |
| 6775 | + | |
| 6776 | + | |
| 6777 | + | |
| 6778 | + | |
6780 | 6779 |
| |
6781 | 6780 |
| |
6782 | 6781 |
| |
| |||
6793 | 6792 |
| |
6794 | 6793 |
| |
6795 | 6794 |
| |
6796 |
| - | |
| 6795 | + | |
6797 | 6796 |
| |
6798 | 6797 |
| |
6799 | 6798 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
107 | 107 |
| |
108 | 108 |
| |
109 | 109 |
| |
110 |
| - | |
| 110 | + | |
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
130 |
| - | |
| 130 | + | |
131 | 131 |
| |
132 | 132 |
| |
133 | 133 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1352 | 1352 |
| |
1353 | 1353 |
| |
1354 | 1354 |
| |
1355 |
| - | |
| 1355 | + | |
1356 | 1356 |
| |
1357 | 1357 |
| |
1358 | 1358 |
| |
| |||
3005 | 3005 |
| |
3006 | 3006 |
| |
3007 | 3007 |
| |
3008 |
| - | |
| 3008 | + | |
3009 | 3009 |
| |
3010 | 3010 |
| |
3011 | 3011 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
534 | 534 |
| |
535 | 535 |
| |
536 | 536 |
| |
537 |
| - | |
| 537 | + | |
538 | 538 |
| |
539 | 539 |
| |
540 | 540 |
| |
541 | 541 |
| |
542 |
| - | |
| 542 | + | |
543 | 543 |
| |
544 | 544 |
| |
545 | 545 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
200 | 200 |
| |
201 | 201 |
| |
202 | 202 |
| |
203 |
| - | |
204 |
| - | |
| 203 | + | |
| 204 | + | |
205 | 205 |
| |
206 | 206 |
| |
207 | 207 |
| |
|
0 commit comments
Comments
(0)