forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb09ff53
committed
Simplify the effective_io_concurrency setting.
The effective_io_concurrency GUC and equivalent tablespace option werepreviously passed through a formula based on a theory about RAIDspindles and probabilities, to arrive at the number of pages to prefetchin bitmap heap scans. Tomas Vondra, Andres Freund and others arguedthat it was anachronistic and hard to justify, and commit558a916already started down the path of bypassing it in new code. We agreed todrop that logic and use the value directly.For the default setting of 1, there is no change in effect. Highersettings can be converted from the old meaning to the new with: select round(sum(OLD / n::float)) from generate_series(1, OLD) s(n);We might want to consider renaming the GUC before the next release giventhe change in meaning, but it's not clear that many users had set itvery carefully anyway. That decision is deferred for now.Discussion:https://postgr.es/m/CA%2BhUKGJUw08dPs_3EUcdO6M90GnjofPYrWp4YSLaBkgYwS-AqA%40mail.gmail.com1 parentf207bb0 commitb09ff53
File tree
4 files changed
+14
-113
lines changed- src
- backend
- executor
- storage/buffer
- utils/misc
- include/storage
4 files changed
+14
-113
lines changedLines changed: 3 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
707 | 707 |
| |
708 | 708 |
| |
709 | 709 |
| |
710 |
| - | |
711 | 710 |
| |
712 | 711 |
| |
713 | 712 |
| |
| |||
737 | 736 |
| |
738 | 737 |
| |
739 | 738 |
| |
740 |
| - | |
741 |
| - | |
742 | 739 |
| |
743 | 740 |
| |
744 | 741 |
| |
| |||
794 | 791 |
| |
795 | 792 |
| |
796 | 793 |
| |
797 |
| - | |
798 |
| - | |
799 |
| - | |
800 |
| - | |
| 794 | + | |
| 795 | + | |
801 | 796 |
| |
802 |
| - | |
| 797 | + | |
803 | 798 |
| |
804 |
| - | |
805 |
| - | |
806 |
| - | |
807 |
| - | |
808 |
| - | |
809 |
| - | |
810 |
| - | |
811 | 799 |
| |
812 | 800 |
| |
813 | 801 |
| |
|
Lines changed: 7 additions & 67 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
110 | 110 |
| |
111 | 111 |
| |
112 | 112 |
| |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
113 | 120 |
| |
114 | 121 |
| |
115 | 122 |
| |
| |||
120 | 127 |
| |
121 | 128 |
| |
122 | 129 |
| |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
132 | 130 |
| |
133 | 131 |
| |
134 | 132 |
| |
| |||
461 | 459 |
| |
462 | 460 |
| |
463 | 461 |
| |
464 |
| - | |
465 |
| - | |
466 |
| - | |
467 |
| - | |
468 |
| - | |
469 |
| - | |
470 |
| - | |
471 |
| - | |
472 |
| - | |
473 |
| - | |
474 |
| - | |
475 |
| - | |
476 |
| - | |
477 |
| - | |
478 |
| - | |
479 |
| - | |
480 |
| - | |
481 |
| - | |
482 |
| - | |
483 |
| - | |
484 |
| - | |
485 |
| - | |
486 |
| - | |
487 |
| - | |
488 |
| - | |
489 |
| - | |
490 |
| - | |
491 |
| - | |
492 |
| - | |
493 |
| - | |
494 |
| - | |
495 |
| - | |
496 |
| - | |
497 |
| - | |
498 |
| - | |
499 |
| - | |
500 |
| - | |
501 |
| - | |
502 |
| - | |
503 |
| - | |
504 |
| - | |
505 |
| - | |
506 |
| - | |
507 |
| - | |
508 |
| - | |
509 |
| - | |
510 |
| - | |
511 |
| - | |
512 |
| - | |
513 |
| - | |
514 |
| - | |
515 |
| - | |
516 |
| - | |
517 |
| - | |
518 |
| - | |
519 |
| - | |
520 |
| - | |
521 |
| - | |
522 | 462 |
| |
523 | 463 |
| |
524 | 464 |
| |
|
Lines changed: 3 additions & 26 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
196 | 196 |
| |
197 | 197 |
| |
198 | 198 |
| |
199 |
| - | |
200 | 199 |
| |
201 | 200 |
| |
202 | 201 |
| |
| |||
2882 | 2881 |
| |
2883 | 2882 |
| |
2884 | 2883 |
| |
2885 |
| - | |
| 2884 | + | |
2886 | 2885 |
| |
2887 | 2886 |
| |
2888 | 2887 |
| |
| |||
11457 | 11456 |
| |
11458 | 11457 |
| |
11459 | 11458 |
| |
11460 |
| - | |
11461 |
| - | |
11462 |
| - | |
11463 |
| - | |
11464 |
| - | |
11465 |
| - | |
11466 |
| - | |
11467 |
| - | |
11468 |
| - | |
11469 |
| - | |
11470 |
| - | |
11471 |
| - | |
11472 |
| - | |
11473 |
| - | |
11474 |
| - | |
| 11459 | + | |
11475 | 11460 |
| |
11476 | 11461 |
| |
11477 | 11462 |
| |
11478 | 11463 |
| |
11479 | 11464 |
| |
11480 |
| - | |
11481 |
| - | |
11482 |
| - | |
11483 |
| - | |
11484 |
| - | |
11485 |
| - | |
11486 |
| - | |
11487 |
| - | |
11488 |
| - | |
11489 | 11465 |
| |
| 11466 | + | |
11490 | 11467 |
| |
11491 | 11468 |
| |
11492 | 11469 |
| |
|
Lines changed: 1 addition & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 |
| - | |
| 60 | + | |
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
| |||
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
69 |
| - | |
70 |
| - | |
71 |
| - | |
72 | 69 |
| |
73 | 70 |
| |
74 | 71 |
| |
| |||
161 | 158 |
| |
162 | 159 |
| |
163 | 160 |
| |
164 |
| - | |
165 | 161 |
| |
166 | 162 |
| |
167 | 163 |
| |
|
0 commit comments
Comments
(0)