Updated enumvals for oracle knob use_large_pages

This commit is contained in:
dvanaken 2020-05-14 12:11:42 -04:00 committed by Dana Van Aken
parent 24336906a3
commit 6d854b86ac
4 changed files with 18 additions and 17 deletions

View File

@ -387,9 +387,9 @@ def set_field(fields):
if fields['name'].lower() == 'approx_for_percentile':
fields['minval'] = None
fields['maxval'] = None
fields['default'] = False
fields['default'] = 'NONE'
fields['vartype'] = 5
fields['enumvals'] = 'none,NONE,PERCENTILE_CONT,PERCENTILE_CONT DETERMINISTIC,PERCENTILE_DISC,PERCENTILE_DISC DETERMINISTIC,ALL,ALL DETERMINISTIC'
fields['enumvals'] = 'NONE,PERCENTILE_CONT,PERCENTILE_CONT DETERMINISTIC,PERCENTILE_DISC,PERCENTILE_DISC DETERMINISTIC,ALL,ALL DETERMINISTIC'
if fields['name'].lower() == 'session_cached_cursors':
fields['minval'] = 0
fields['maxval'] = 100
@ -397,8 +397,9 @@ def set_field(fields):
if fields['name'].lower() == 'use_large_pages':
fields['minval'] = None
fields['maxval'] = None
fields['default'] = True
fields['vartype'] = 4
fields['default'] = 'TRUE'
fields['vartype'] = 5
fields['enumvals'] = 'TRUE,FALSE,ONLY'
if fields['name'].lower() == 'hs_autoregister':
fields['minval'] = None
fields['maxval'] = None

View File

@ -7343,15 +7343,15 @@
"scope": "global",
"dbms": 121,
"category": "",
"enumvals": null,
"enumvals": "TRUE,FALSE,ONLY",
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"vartype": 4,
"default": true,
"vartype": 5,
"default": "TRUE",
"summary": "Use large pages if available (TRUE/FALSE/ONLY)"
}
},

View File

@ -237,7 +237,7 @@
"scope": "global",
"dbms": 12,
"category": "",
"enumvals": "none,NONE,PERCENTILE_CONT,PERCENTILE_CONT DETERMINISTIC,PERCENTILE_DISC,PERCENTILE_DISC DETERMINISTIC,ALL,ALL DETERMINISTIC",
"enumvals": "NONE,PERCENTILE_CONT,PERCENTILE_CONT DETERMINISTIC,PERCENTILE_DISC,PERCENTILE_DISC DETERMINISTIC,ALL,ALL DETERMINISTIC",
"context": "",
"unit": 3,
"tunable": false,
@ -245,7 +245,7 @@
"minval": null,
"maxval": null,
"vartype": 5,
"default": false,
"default": "NONE",
"summary": "Replace percentile_* with approx_percentile"
}
},
@ -8027,15 +8027,15 @@
"scope": "global",
"dbms": 12,
"category": "",
"enumvals": null,
"enumvals": "TRUE,FALSE,ONLY",
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"vartype": 4,
"default": true,
"vartype": 5,
"default": "TRUE",
"summary": "Use large pages if available (TRUE/FALSE/ONLY)"
}
},

View File

@ -294,7 +294,7 @@
"scope": "global",
"dbms": 19,
"category": "",
"enumvals": "none,NONE,PERCENTILE_CONT,PERCENTILE_CONT DETERMINISTIC,PERCENTILE_DISC,PERCENTILE_DISC DETERMINISTIC,ALL,ALL DETERMINISTIC",
"enumvals": "NONE,PERCENTILE_CONT,PERCENTILE_CONT DETERMINISTIC,PERCENTILE_DISC,PERCENTILE_DISC DETERMINISTIC,ALL,ALL DETERMINISTIC",
"context": "",
"unit": 3,
"tunable": false,
@ -302,7 +302,7 @@
"minval": null,
"maxval": null,
"vartype": 5,
"default": false,
"default": "NONE",
"summary": "Replace percentile_* with approx_percentile"
}
},
@ -8559,15 +8559,15 @@
"scope": "global",
"dbms": 19,
"category": "",
"enumvals": null,
"enumvals": "TRUE,FALSE,ONLY",
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"vartype": 4,
"default": true,
"vartype": 5,
"default": "TRUE",
"summary": "Use large pages if available (TRUE/FALSE/ONLY)"
}
},