Added next few Oracle params

This commit is contained in:
dvanaken 2020-01-03 07:35:35 -05:00 committed by Dana Van Aken
parent e1da577ad0
commit 433bb68f2f
4 changed files with 106 additions and 19 deletions

View File

@ -68,6 +68,18 @@ EXTRA_KNOBS = {
'maxval': None, 'maxval': None,
'vartype': 4, 'vartype': 4,
}, },
'_enable_numa_support': {
'default': False,
'minval': None,
'maxval': None,
'vartype': 4,
},
'_unnest_subquery': {
'default': True,
'minval': None,
'maxval': None,
'vartype': 4,
},
} }
@ -284,6 +296,24 @@ def set_field(fields):
fields['maxval'] = None fields['maxval'] = None
fields['vartype'] = 5 fields['vartype'] = 5
fields['enumvals'] = 'asynch,directio,none,setall' fields['enumvals'] = 'asynch,directio,none,setall'
if fields['name'].lower() == 'optimizer_mode':
fields['default'] = 'ALL_ROWS'
fields['minval'] = None
fields['maxval'] = None
fields['vartype'] = 5
fields['enumvals'] = 'FIRST_ROWS_1,FIRST_ROWS_10,FIRST_ROWS_100,FIRST_ROWS_1000,FIRST_ROWS,ALL_ROWS'
if fields['name'].lower() == 'workarea_size_policy':
fields['default'] = 'AUTO'
fields['minval'] = None
fields['maxval'] = None
fields['vartype'] = 5
fields['enumvals'] = 'AUTO,MANUAL'
if fields['name'].lower() == 'cursor_sharing':
fields['default'] = 'EXACT'
fields['minval'] = None
fields['maxval'] = None
fields['vartype'] = 5
fields['enumvals'] = 'SIMILAR,EXACT,FORCE'
COLNAMES = ("NAME", "TYPE", "DEFAULT_VALUE", "DESCRIPTION") COLNAMES = ("NAME", "TYPE", "DEFAULT_VALUE", "DESCRIPTION")

View File

@ -2,7 +2,7 @@
{ {
"model": "website.KnobCatalog", "model": "website.KnobCatalog",
"fields": { "fields": {
"name": "global._enable_numa_optimization", "name": "global._enable_numa_support",
"scope": "global", "scope": "global",
"dbms": 121, "dbms": 121,
"category": "", "category": "",
@ -94,6 +94,25 @@
"default": 300000 "default": 300000
} }
}, },
{
"model": "website.KnobCatalog",
"fields": {
"name": "global._unnest_subquery",
"scope": "global",
"dbms": 121,
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"summary": "",
"vartype": 4,
"minval": null,
"maxval": null,
"default": true
}
},
{ {
"model": "website.KnobCatalog", "model": "website.KnobCatalog",
"fields": { "fields": {
@ -5204,15 +5223,15 @@
"scope": "global", "scope": "global",
"dbms": 121, "dbms": 121,
"category": "", "category": "",
"enumvals": null, "enumvals": "FIRST_ROWS_1,FIRST_ROWS_10,FIRST_ROWS_100,FIRST_ROWS_1000,FIRST_ROWS,ALL_ROWS",
"context": "", "context": "",
"unit": 3, "unit": 3,
"tunable": false, "tunable": false,
"description": "", "description": "",
"minval": null, "minval": null,
"maxval": null, "maxval": null,
"vartype": 1, "vartype": 5,
"default": "NONE", "default": "ALL_ROWS",
"summary": "optimizer mode" "summary": "optimizer mode"
} }
}, },
@ -7358,15 +7377,15 @@
"scope": "global", "scope": "global",
"dbms": 121, "dbms": 121,
"category": "", "category": "",
"enumvals": null, "enumvals": "AUTO,MANUAL",
"context": "", "context": "",
"unit": 3, "unit": 3,
"tunable": false, "tunable": false,
"description": "", "description": "",
"minval": null, "minval": null,
"maxval": null, "maxval": null,
"vartype": 1, "vartype": 5,
"default": "NULL", "default": "AUTO",
"summary": "policy used to size SQL working areas (MANUAL/AUTO)" "summary": "policy used to size SQL working areas (MANUAL/AUTO)"
} }
}, },

View File

@ -2,7 +2,7 @@
{ {
"model": "website.KnobCatalog", "model": "website.KnobCatalog",
"fields": { "fields": {
"name": "global._enable_numa_optimization", "name": "global._enable_numa_support",
"scope": "global", "scope": "global",
"dbms": 12, "dbms": 12,
"category": "", "category": "",
@ -94,6 +94,25 @@
"default": 300000 "default": 300000
} }
}, },
{
"model": "website.KnobCatalog",
"fields": {
"name": "global._unnest_subquery",
"scope": "global",
"dbms": 12,
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"summary": "",
"vartype": 4,
"minval": null,
"maxval": null,
"default": true
}
},
{ {
"model": "website.KnobCatalog", "model": "website.KnobCatalog",
"fields": { "fields": {
@ -5850,15 +5869,15 @@
"scope": "global", "scope": "global",
"dbms": 12, "dbms": 12,
"category": "", "category": "",
"enumvals": null, "enumvals": "FIRST_ROWS_1,FIRST_ROWS_10,FIRST_ROWS_100,FIRST_ROWS_1000,FIRST_ROWS,ALL_ROWS",
"context": "", "context": "",
"unit": 3, "unit": 3,
"tunable": false, "tunable": false,
"description": "", "description": "",
"minval": null, "minval": null,
"maxval": null, "maxval": null,
"vartype": 1, "vartype": 5,
"default": "all_rows", "default": "ALL_ROWS",
"summary": "optimizer mode" "summary": "optimizer mode"
} }
}, },
@ -8042,14 +8061,14 @@
"scope": "global", "scope": "global",
"dbms": 12, "dbms": 12,
"category": "", "category": "",
"enumvals": null, "enumvals": "AUTO,MANUAL",
"context": "", "context": "",
"unit": 3, "unit": 3,
"tunable": false, "tunable": false,
"description": "", "description": "",
"minval": null, "minval": null,
"maxval": null, "maxval": null,
"vartype": 1, "vartype": 5,
"default": "AUTO", "default": "AUTO",
"summary": "policy used to size SQL working areas (MANUAL/AUTO)" "summary": "policy used to size SQL working areas (MANUAL/AUTO)"
} }

View File

@ -2,7 +2,7 @@
{ {
"model": "website.KnobCatalog", "model": "website.KnobCatalog",
"fields": { "fields": {
"name": "global._enable_numa_optimization", "name": "global._enable_numa_support",
"scope": "global", "scope": "global",
"dbms": 19, "dbms": 19,
"category": "", "category": "",
@ -94,6 +94,25 @@
"default": 300000 "default": 300000
} }
}, },
{
"model": "website.KnobCatalog",
"fields": {
"name": "global._unnest_subquery",
"scope": "global",
"dbms": 19,
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"summary": "",
"vartype": 4,
"minval": null,
"maxval": null,
"default": true
}
},
{ {
"model": "website.KnobCatalog", "model": "website.KnobCatalog",
"fields": { "fields": {
@ -6211,15 +6230,15 @@
"scope": "global", "scope": "global",
"dbms": 19, "dbms": 19,
"category": "", "category": "",
"enumvals": null, "enumvals": "FIRST_ROWS_1,FIRST_ROWS_10,FIRST_ROWS_100,FIRST_ROWS_1000,FIRST_ROWS,ALL_ROWS",
"context": "", "context": "",
"unit": 3, "unit": 3,
"tunable": false, "tunable": false,
"description": "", "description": "",
"minval": null, "minval": null,
"maxval": null, "maxval": null,
"vartype": 1, "vartype": 5,
"default": "all_rows", "default": "ALL_ROWS",
"summary": "optimizer mode" "summary": "optimizer mode"
} }
}, },
@ -8574,14 +8593,14 @@
"scope": "global", "scope": "global",
"dbms": 19, "dbms": 19,
"category": "", "category": "",
"enumvals": null, "enumvals": "AUTO,MANUAL",
"context": "", "context": "",
"unit": 3, "unit": 3,
"tunable": false, "tunable": false,
"description": "", "description": "",
"minval": null, "minval": null,
"maxval": null, "maxval": null,
"vartype": 1, "vartype": 5,
"default": "AUTO", "default": "AUTO",
"summary": "policy used to size SQL working areas (MANUAL/AUTO)" "summary": "policy used to size SQL working areas (MANUAL/AUTO)"
} }