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': if fields['name'].lower() == 'approx_for_percentile':
fields['minval'] = None fields['minval'] = None
fields['maxval'] = None fields['maxval'] = None
fields['default'] = False fields['default'] = 'NONE'
fields['vartype'] = 5 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': if fields['name'].lower() == 'session_cached_cursors':
fields['minval'] = 0 fields['minval'] = 0
fields['maxval'] = 100 fields['maxval'] = 100
@ -397,8 +397,9 @@ def set_field(fields):
if fields['name'].lower() == 'use_large_pages': if fields['name'].lower() == 'use_large_pages':
fields['minval'] = None fields['minval'] = None
fields['maxval'] = None fields['maxval'] = None
fields['default'] = True fields['default'] = 'TRUE'
fields['vartype'] = 4 fields['vartype'] = 5
fields['enumvals'] = 'TRUE,FALSE,ONLY'
if fields['name'].lower() == 'hs_autoregister': if fields['name'].lower() == 'hs_autoregister':
fields['minval'] = None fields['minval'] = None
fields['maxval'] = None fields['maxval'] = None

View File

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

View File

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

View File

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