forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita16d421
committed
Revert "Auto-tune effective_cache size to be 4x shared buffers"
This reverts commitee1e566, as well asa remarkably large number of followup commits, which were mostly concernedwith the fact that the implementation didn't work terribly well. It stilldoesn't: we probably need some rather basic work in the GUC infrastructureif we want to fully support GUCs whose default varies depending on thevalue of another GUC. Meanwhile, it also emerged that there wasn't reallyconsensus in favor of the definition the patch tried to implement (ie,effective_cache_size should default to 4 times shared_buffers). So whackit all back to where it was. In a followup commit, I'll do what wasrecently agreed to, which is to simply change the default to a highervalue.1 parent08c8e89 commita16d421
File tree
9 files changed
+8
-74
lines changed- doc/src/sgml
- src
- backend
- optimizer/path
- utils/misc
- include
- optimizer
- utils
- test/regress
- expected
- sql
9 files changed
+8
-74
lines changedLines changed: 2 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3194 | 3194 |
| |
3195 | 3195 |
| |
3196 | 3196 |
| |
3197 |
| - | |
3198 |
| - | |
3199 |
| - | |
3200 |
| - | |
3201 |
| - | |
3202 |
| - | |
3203 |
| - | |
3204 |
| - | |
3205 |
| - | |
3206 |
| - | |
| 3197 | + | |
| 3198 | + | |
3207 | 3199 |
| |
3208 | 3200 |
| |
3209 | 3201 |
| |
|
Lines changed: 1 addition & 50 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
71 | 71 |
| |
72 | 72 |
| |
73 | 73 |
| |
74 |
| - | |
75 | 74 |
| |
76 | 75 |
| |
77 | 76 |
| |
| |||
88 | 87 |
| |
89 | 88 |
| |
90 | 89 |
| |
91 |
| - | |
92 | 90 |
| |
93 | 91 |
| |
94 | 92 |
| |
| |||
104 | 102 |
| |
105 | 103 |
| |
106 | 104 |
| |
107 |
| - | |
| 105 | + | |
108 | 106 |
| |
109 | 107 |
| |
110 | 108 |
| |
| |||
4093 | 4091 |
| |
4094 | 4092 |
| |
4095 | 4093 |
| |
4096 |
| - | |
4097 |
| - | |
4098 |
| - | |
4099 |
| - | |
4100 |
| - | |
4101 |
| - | |
4102 |
| - | |
4103 |
| - | |
4104 |
| - | |
4105 |
| - | |
4106 |
| - | |
4107 |
| - | |
4108 |
| - | |
4109 |
| - | |
4110 |
| - | |
4111 |
| - | |
4112 |
| - | |
4113 |
| - | |
4114 |
| - | |
4115 |
| - | |
4116 |
| - | |
4117 |
| - | |
4118 |
| - | |
4119 |
| - | |
4120 |
| - | |
4121 |
| - | |
4122 |
| - | |
4123 |
| - | |
4124 |
| - | |
4125 |
| - | |
4126 |
| - | |
4127 |
| - | |
4128 |
| - | |
4129 |
| - | |
4130 |
| - | |
4131 |
| - | |
4132 |
| - | |
4133 |
| - | |
4134 |
| - | |
4135 |
| - | |
4136 |
| - | |
4137 |
| - | |
4138 |
| - | |
4139 |
| - | |
4140 |
| - | |
4141 |
| - | |
4142 |
| - |
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
298 | 298 |
| |
299 | 299 |
| |
300 | 300 |
| |
301 |
| - | |
302 | 301 |
| |
303 | 302 |
| |
304 | 303 |
| |
|
Lines changed: 2 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2512 | 2512 |
| |
2513 | 2513 |
| |
2514 | 2514 |
| |
2515 |
| - | |
2516 |
| - | |
| 2515 | + | |
| 2516 | + | |
2517 | 2517 |
| |
2518 | 2518 |
| |
2519 | 2519 |
| |
| |||
4372 | 4372 |
| |
4373 | 4373 |
| |
4374 | 4374 |
| |
4375 |
| - | |
4376 |
| - | |
4377 |
| - | |
4378 | 4375 |
| |
4379 | 4376 |
| |
4380 | 4377 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
283 | 283 |
| |
284 | 284 |
| |
285 | 285 |
| |
286 |
| - | |
| 286 | + | |
287 | 287 |
| |
288 | 288 |
| |
289 | 289 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
| 30 | + | |
| 31 | + | |
30 | 32 |
| |
31 | 33 |
| |
32 | 34 |
| |
|
Lines changed: 0 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
389 | 389 |
| |
390 | 390 |
| |
391 | 391 |
| |
392 |
| - | |
393 |
| - | |
394 |
| - | |
395 |
| - | |
396 | 392 |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2759 | 2759 |
| |
2760 | 2760 |
| |
2761 | 2761 |
| |
2762 |
| - | |
2763 | 2762 |
| |
2764 | 2763 |
| |
2765 | 2764 |
| |
|
Lines changed: 0 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
721 | 721 |
| |
722 | 722 |
| |
723 | 723 |
| |
724 |
| - | |
725 |
| - | |
726 | 724 |
| |
727 | 725 |
| |
728 | 726 |
| |
|
0 commit comments
Comments
(0)