- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit6ca33a8
committed
Increase upper limit for vacuum_cleanup_index_scale_factor
Upper limits for vacuum_cleanup_index_scale_factor GUC and reloptionwere initially set to 100.0 in857f9c3. However, after furtherdiscussion, it appears that some users like to disable B-tree cleanupindex scan completely (assuming there are no deleted pages).vacuum_cleanup_index_scale_factor is used barely to protect againststalled index statistics. And after detailed consideration it appearsthat risk of stalled index statistics is low. And it would be nice toallow advanced users setting higher values ofvacuum_cleanup_index_scale_factor. So, set upper limit for theseGUC and reloption to DBL_MAX.Author: Alexander KorotkovReviewed-by: Masahiko SawadaDiscussion:https://postgr.es/m/CAC8Q8tJCb%3DgxhzcV7T6ctx7PY-Ux1oA-AsTJc6cAVNsQiYcCzA%40mail.gmail.com1 parentc9301de commit6ca33a8
File tree
5 files changed
+9
-7
lines changed- doc/src/sgml
- src
- backend
- access
- common
- nbtree
- utils/misc
- test/regress/expected
5 files changed
+9
-7
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6989 | 6989 |
| |
6990 | 6990 |
| |
6991 | 6991 |
| |
6992 |
| - | |
| 6992 | + | |
6993 | 6993 |
| |
6994 | 6994 |
| |
6995 | 6995 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
416 | 416 |
| |
417 | 417 |
| |
418 | 418 |
| |
419 |
| - | |
| 419 | + | |
420 | 420 |
| |
421 | 421 |
| |
422 | 422 |
| |
|
Lines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
816 | 816 |
| |
817 | 817 |
| |
818 | 818 |
| |
| 819 | + | |
819 | 820 |
| |
820 | 821 |
| |
821 | 822 |
| |
| |||
829 | 830 |
| |
830 | 831 |
| |
831 | 832 |
| |
| 833 | + | |
832 | 834 |
| |
833 | 835 |
| |
834 |
| - | |
835 |
| - | |
836 |
| - | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
837 | 839 |
| |
838 | 840 |
| |
839 | 841 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3253 | 3253 |
| |
3254 | 3254 |
| |
3255 | 3255 |
| |
3256 |
| - | |
| 3256 | + | |
3257 | 3257 |
| |
3258 | 3258 |
| |
3259 | 3259 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
165 | 165 |
| |
166 | 166 |
| |
167 | 167 |
| |
168 |
| - | |
| 168 | + | |
169 | 169 |
| |
170 | 170 |
| |
171 | 171 |
| |
|
0 commit comments
Comments
(0)