- Notifications
You must be signed in to change notification settings - Fork5
Commit4bc0f16
committed
Change default of backend_flush_after GUC to 0 (disabled).
While beneficial, both for throughput and average/worst case latency, ina significant number of workloads, there are other workloads in whichbackend_flush_after can cause significant performance regressions incomparison to < 9.6 releases. The regression is most likely when the hotdata set is bigger than shared buffers, but significantly smaller thanthe operating system's page cache.I personally think that the benefit of enabling backend flush control isconsiderably bigger than the potential downsides, but a fair argumentcan be made that not regressing is more important than improvingperformance/latency. As the latter is the consensus, change the defaultto 0.The other settings introduced in428b1d6 do not have the samepotential for regressions, so leave them enabled.Benchmarks leading up to changing the default have been performed byMithun Cy, Ashutosh Sharma and Robert Haas.Discussion: CAD__OuhPmc6XH=wYRm_+Q657yQE88DakN4=Ybh2oveFasHkoeA@mail.gmail.com1 parent3303ea1 commit4bc0f16
File tree
4 files changed
+5
-9
lines changed- doc/src/sgml
- src
- backend/utils/misc
- include/storage
4 files changed
+5
-9
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2038 | 2038 |
| |
2039 | 2039 |
| |
2040 | 2040 |
| |
2041 |
| - | |
2042 |
| - | |
2043 |
| - | |
| 2041 | + | |
| 2042 | + | |
| 2043 | + | |
2044 | 2044 |
| |
2045 | 2045 |
| |
2046 | 2046 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2457 | 2457 |
| |
2458 | 2458 |
| |
2459 | 2459 |
| |
2460 |
| - | |
2461 |
| - | |
| 2460 | + | |
2462 | 2461 |
| |
2463 | 2462 |
| |
2464 | 2463 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
170 | 170 |
| |
171 | 171 |
| |
172 | 172 |
| |
173 |
| - | |
174 |
| - | |
| 173 | + | |
175 | 174 |
| |
176 | 175 |
| |
177 | 176 |
| |
|
Lines changed: 0 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
63 |
| - | |
64 | 63 |
| |
65 | 64 |
| |
66 | 65 |
| |
67 |
| - | |
68 | 66 |
| |
69 | 67 |
| |
70 | 68 |
| |
|
0 commit comments
Comments
(0)