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,
'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['vartype'] = 5
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")

View File

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

View File

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

View File

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