checkpoint

This commit is contained in:
dvanaken 2020-01-06 12:02:27 -05:00 committed by Dana Van Aken
parent 433bb68f2f
commit 4c6ec3f0fd
6 changed files with 370 additions and 191 deletions

View File

@ -39,12 +39,18 @@ from operator import itemgetter
EXTRA_KNOBS = {
'_pga_max_size': {
'default': 200000000,
'resource': 1,
'unit': 1,
},
'_smm_max_size': {
'default': 100000,
'resource': 1,
'unit': 1,
},
'_smm_px_max_size': {
'default': 300000,
'resource': 1,
'unit': 1,
},
'_optimizer_use_feedback': {
'default': True,
@ -112,114 +118,133 @@ def set_field(fields):
fields['maxval'] = 33000000000 # 33G
fields['default'] = 0
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].upper() == 'MEMORY_MAX_TARGET':
fields['tunable'] = False
fields['minval'] = 0
fields['maxval'] = 33000000000 # 33G
fields['default'] = 0
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].upper() == 'SGA_TARGET':
fields['tunable'] = False
fields['minval'] = 0
fields['maxval'] = 33000000000 # 33G
fields['default'] = 0
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].upper() == 'SGA_MAX_SIZE':
fields['tunable'] = False
fields['minval'] = 0
fields['maxval'] = 33000000000 # 33G
fields['default'] = 0
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].upper() == 'DB_CACHE_SIZE':
fields['tunable'] = True
fields['minval'] = 0
fields['maxval'] = 25000000000 # 24G
fields['default'] = 4000000000 # 4G
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].upper() == 'SHARED_POOL_SIZE':
fields['tunable'] = True
fields['minval'] = 0
fields['maxval'] = 4000000000 # 4G
fields['default'] = 1000000000 # 1G
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].upper() == 'SHARED_POOL_RESERVED_SIZE':
fields['tunable'] = True
fields['minval'] = 0
fields['maxval'] = 4000000000 # 4G
fields['default'] = 1000000000 # 1G
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].upper() == 'SHARED_IO_POOL_SIZE':
fields['tunable'] = False
fields['minval'] = 0
fields['maxval'] = 4000000000 # 4G
fields['default'] = 1000000000 # 1G
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].upper() == 'STREAMS_POOL_SIZE':
fields['tunable'] = True
fields['minval'] = 0
fields['maxval'] = 4000000000 # 4G
fields['default'] = 20000000 # 20M
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].upper() == 'LOG_BUFFER':
fields['tunable'] = True
fields['minval'] = 0
fields['maxval'] = 2000000000 # 2GB
fields['default'] = 50000000 # 50M
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].upper() == 'DB_KEEP_CACHE_SIZE':
fields['tunable'] = False
fields['minval'] = 0
fields['maxval'] = 2000000000 # 2GB
fields['default'] = 500000000 # 500M
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].lower() == 'db_32k_cache_size':
fields['tunable'] = False
fields['minval'] = 0
fields['maxval'] = 2000000000 # 2GB
fields['default'] = 500000000 # 500M
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].upper() == 'DB_RECYCLE_CACHE_SIZE':
fields['tunable'] = False
fields['minval'] = 0
fields['maxval'] = 2000000000 # 2GB
fields['default'] = 500000000 # 500M
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].upper() == 'LARGE_POOL_SIZE':
fields['tunable'] = True
fields['minval'] = 0
fields['maxval'] = 2000000000 # 2GB
fields['default'] = 500000000 # 500M
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].upper() == 'PGA_AGGREGATE_TARGET':
fields['tunable'] = True
fields['minval'] = 0
fields['maxval'] = 33000000000 # 33G
fields['default'] = 0
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].lower() == 'bitmap_merge_area_size':
fields['tunable'] = True
fields['minval'] = 0
fields['maxval'] = 5000000000 # 3G
fields['default'] = 0
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].lower() == 'create_bitmap_area_size':
fields['tunable'] = True
fields['minval'] = 0
fields['maxval'] = 5000000000 # 3G
fields['default'] = 0
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].lower() == 'hash_area_size':
fields['tunable'] = True
fields['minval'] = 0
fields['maxval'] = 3000000000 # 3G
fields['default'] = 0
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].lower() == 'sort_area_size':
fields['tunable'] = True
fields['minval'] = 0
fields['maxval'] = 3000000000 # 3G
fields['default'] = 0
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].upper() == 'OPEN_CURSORS':
fields['tunable'] = True
fields['minval'] = 200
@ -240,21 +265,25 @@ def set_field(fields):
fields['minval'] = None
fields['maxval'] = None
fields['default'] = False
fields['vartype'] = 4
if fields['name'].upper() == 'OPTIMIZER_USE_INVISIBLE_INDEXES':
fields['tunable'] = False
fields['minval'] = None
fields['maxval'] = None
fields['default'] = False
fields['vartype'] = 4
if fields['name'].upper() == 'OPTIMIZER_USE_SQL_PLAN_BASELINES':
fields['tunable'] = False
fields['minval'] = None
fields['maxval'] = None
fields['default'] = True
fields['vartype'] = 4
if fields['name'].upper() == 'OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES':
fields['tunable'] = False
fields['minval'] = None
fields['maxval'] = None
fields['default'] = False
fields['vartype'] = 4
if fields['name'].lower() == 'optimizer_dynamic_sampling':
fields['tunable'] = True
fields['minval'] = 2
@ -279,6 +308,12 @@ def set_field(fields):
fields['default'] = '12.2.0.1'
fields['vartype'] = 5
fields['enumvals'] = '11.2.0.1,11.2.0.2,11.2.0.3,11.2.0.4,12.1.0.1,12.1.0.2,12.2.0.1'
if fields['name'].lower() == 'optimizer_inmemory_aware':
fields['tunable'] = True
fields['minval'] = None
fields['maxval'] = None
fields['default'] = True
fields['vartype'] = 4
if fields['name'].upper() == 'DISK_ASYNCH_IO':
fields['tunable'] = True
fields['vartype'] = 4
@ -314,6 +349,81 @@ def set_field(fields):
fields['maxval'] = None
fields['vartype'] = 5
fields['enumvals'] = 'SIMILAR,EXACT,FORCE'
if fields['name'].lower() == 'java_jit_enabled':
fields['minval'] = None
fields['maxval'] = None
fields['default'] = True
fields['vartype'] = 4
if fields['name'].lower() == 'java_pool_size':
fields['minval'] = 0
fields['maxval'] = 1000000000
fields['default'] = 0
fields['resource'] = 1
fields['unit'] = 1
if fields['name'].lower() == 'log_archive_max_processes':
fields['minval'] = 1
fields['maxval'] = 30
fields['default'] = 4
if fields['name'].lower() == 'commit_logging':
fields['default'] = ''
fields['minval'] = None
fields['maxval'] = None
fields['vartype'] = 5
fields['enumvals'] = ',IMMEDIATE,BATCH'
if fields['name'].lower() == 'result_cache_max_result':
fields['minval'] = 0
fields['maxval'] = 100
fields['default'] = 5
if fields['name'].lower() == 'approx_for_aggregation':
fields['minval'] = None
fields['maxval'] = None
fields['default'] = False
fields['vartype'] = 4
if fields['name'].lower() == 'approx_for_count_distinct':
fields['minval'] = None
fields['maxval'] = None
fields['default'] = False
fields['vartype'] = 4
if fields['name'].lower() == 'approx_for_percentile':
fields['minval'] = None
fields['maxval'] = None
fields['default'] = False
fields['vartype'] = 5
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
fields['default'] = 50
if fields['name'].lower() == 'use_large_pages':
fields['minval'] = None
fields['maxval'] = None
fields['default'] = True
fields['vartype'] = 4
if fields['name'].lower() == 'hs_autoregister':
fields['minval'] = None
fields['maxval'] = None
fields['default'] = True
fields['vartype'] = 4
if fields['name'].lower() == 'cursor_invalidation':
fields['default'] = 'IMMEDIATE'
fields['minval'] = None
fields['maxval'] = None
fields['vartype'] = 5
fields['enumvals'] = 'IMMEDIATE,DEFERRED'
if fields['name'].lower() == 'plsql_optimize_level':
fields['minval'] = 0
fields['maxval'] = 3
fields['default'] = 2
if fields['name'].lower() == 'db_big_table_cache_percent_target':
fields['minval'] = 0
fields['maxval'] = 90
fields['default'] = 0
if fields['name'].lower() == 'query_rewrite_enabled':
fields['default'] = 'TRUE'
fields['minval'] = None
fields['maxval'] = None
fields['vartype'] = 5
fields['enumvals'] = 'TRUE,FALSE,FORCE'
COLNAMES = ("NAME", "TYPE", "DEFAULT_VALUE", "DESCRIPTION")

View File

@ -372,10 +372,10 @@ class BaseParser:
if metadata.unit != KnobUnitType.OTHER and int_value > 0:
if metadata.unit == KnobUnitType.BYTES:
int_value = ConversionUtil.get_human_readable2(
int_value, self.bytes_system, 'kB')
int_value, self.bytes_system, self.min_bytes_unit)
elif metadata.unit == KnobUnitType.MILLISECONDS:
int_value = ConversionUtil.get_human_readable2(
int_value, self.time_system, 'ms')
int_value, self.time_system, self.min_time_unit)
else:
raise Exception(
'Invalid unit type for {}: {}'.format(

View File

@ -19,7 +19,7 @@ class OracleParser(BaseParser):
(1024 ** 2, 'M'),
(1024 ** 1, 'k'),
)
self.min_bytes_unit = 'k'
self.min_bytes_unit = 'M'
def format_enum(self, enum_value, metadata):
enum = super().format_enum(enum_value, metadata)

View File

@ -1,4 +1,23 @@
[
{
"model": "website.KnobCatalog",
"fields": {
"name": "global._enable_numa_optimization",
"scope": "global",
"dbms": 121,
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"summary": "",
"vartype": 4,
"minval": null,
"maxval": null,
"default": false
}
},
{
"model": "website.KnobCatalog",
"fields": {
@ -46,14 +65,15 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"summary": "",
"vartype": 2,
"minval": 0,
"maxval": 2000000000,
"default": 200000000
"default": 200000000,
"resource": 1
}
},
{
@ -65,14 +85,15 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"summary": "",
"vartype": 2,
"minval": 0,
"maxval": 2000000000,
"default": 100000
"default": 100000,
"resource": 1
}
},
{
@ -84,14 +105,15 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"summary": "",
"vartype": 2,
"minval": 0,
"maxval": 2000000000,
"default": 300000
"default": 300000,
"resource": 1
}
},
{
@ -407,7 +429,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -729,15 +751,15 @@
"scope": "global",
"dbms": 121,
"category": "",
"enumvals": null,
"enumvals": ",IMMEDIATE,BATCH",
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"vartype": 1,
"default": "NULL",
"vartype": 5,
"default": "",
"summary": "transaction commit log write behaviour"
}
},
@ -959,7 +981,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -1015,15 +1037,15 @@
"scope": "global",
"dbms": 121,
"category": "",
"enumvals": null,
"enumvals": "SIMILAR,EXACT,FORCE",
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"vartype": 1,
"default": "NULL",
"vartype": 5,
"default": "EXACT",
"summary": "cursor sharing mode"
}
},
@ -1093,7 +1115,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -1154,10 +1176,10 @@
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"minval": 0,
"maxval": 90,
"vartype": 1,
"default": "NULL",
"default": 0,
"summary": "Big table cache target size in percentage"
}
},
@ -1265,7 +1287,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -1551,7 +1573,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -1666,7 +1688,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -2389,7 +2411,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -2453,7 +2475,7 @@
"minval": null,
"maxval": null,
"vartype": 4,
"default": "TRUE",
"default": true,
"summary": "enable automatic server DD updates in HS agent self-registration"
}
},
@ -2738,7 +2760,7 @@
"minval": null,
"maxval": null,
"vartype": 4,
"default": "TRUE",
"default": true,
"summary": "Java VM JIT enabled"
}
},
@ -2770,14 +2792,15 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"minval": 0,
"maxval": 1000000000,
"vartype": 2,
"default": "0",
"summary": "size in bytes of java pool"
"default": 0,
"summary": "size in bytes of java pool",
"resource": 1
}
},
{
@ -2846,7 +2869,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -4294,10 +4317,10 @@
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"minval": 1,
"maxval": 30,
"vartype": 2,
"default": "3600",
"default": 4,
"summary": "maximum number of active ARCH processes"
}
},
@ -4367,7 +4390,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -4558,7 +4581,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -4578,7 +4601,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -5207,12 +5230,12 @@
"enumvals": null,
"context": "",
"unit": 3,
"tunable": false,
"tunable": true,
"description": "",
"minval": null,
"maxval": null,
"vartype": 4,
"default": "TRUE",
"default": true,
"summary": "optimizer in-memory columnar awareness"
}
},
@ -5776,7 +5799,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -5875,10 +5898,10 @@
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"minval": 0,
"maxval": 3,
"vartype": 2,
"default": "0",
"default": 2,
"summary": "PL/SQL optimize level"
}
},
@ -5984,15 +6007,15 @@
"scope": "global",
"dbms": 121,
"category": "",
"enumvals": null,
"enumvals": "TRUE,FALSE,FORCE",
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"vartype": 1,
"default": "NULL",
"vartype": 5,
"default": "TRUE",
"summary": "allow rewrite of queries using materialized views if enabled"
}
},
@ -6293,10 +6316,10 @@
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"minval": 0,
"maxval": 100,
"vartype": 2,
"default": "1",
"default": 5,
"summary": "maximum result size as percent of cache size"
}
},
@ -6540,10 +6563,10 @@
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"minval": 0,
"maxval": 100,
"vartype": 2,
"default": "0",
"default": 50,
"summary": "Number of cursors to cache in a session."
}
},
@ -6594,7 +6617,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -6614,7 +6637,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -6672,7 +6695,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -6692,7 +6715,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -6807,7 +6830,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -6998,7 +7021,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -7327,8 +7350,8 @@
"description": "",
"minval": null,
"maxval": null,
"vartype": 1,
"default": "NULL",
"vartype": 4,
"default": true,
"summary": "Use large pages if available (TRUE/FALSE/ONLY)"
}
},

View File

@ -1,4 +1,23 @@
[
{
"model": "website.KnobCatalog",
"fields": {
"name": "global._enable_numa_optimization",
"scope": "global",
"dbms": 12,
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"summary": "",
"vartype": 4,
"minval": null,
"maxval": null,
"default": false
}
},
{
"model": "website.KnobCatalog",
"fields": {
@ -46,14 +65,15 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"summary": "",
"vartype": 2,
"minval": 0,
"maxval": 2000000000,
"default": 200000000
"default": 200000000,
"resource": 1
}
},
{
@ -65,14 +85,15 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"summary": "",
"vartype": 2,
"minval": 0,
"maxval": 2000000000,
"default": 100000
"default": 100000,
"resource": 1
}
},
{
@ -84,14 +105,15 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"summary": "",
"vartype": 2,
"minval": 0,
"maxval": 2000000000,
"default": 300000
"default": 300000,
"resource": 1
}
},
{
@ -185,7 +207,7 @@
"minval": null,
"maxval": null,
"vartype": 4,
"default": "FALSE",
"default": false,
"summary": "Replace exact aggregation with approximate aggregation"
}
},
@ -204,7 +226,7 @@
"minval": null,
"maxval": null,
"vartype": 4,
"default": "FALSE",
"default": false,
"summary": "Replace count distinct with approx_count_distinct"
}
},
@ -215,15 +237,15 @@
"scope": "global",
"dbms": 12,
"category": "",
"enumvals": null,
"enumvals": "NONE,PERCENTILE_CONT,PERCENTILE_CONT DETERMINISTIC,PERCENTILE_DISC,PERCENTILE_DISC DETERMINISTIC,ALL,ALL DETERMINISTIC",
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"vartype": 1,
"default": "none",
"vartype": 5,
"default": false,
"summary": "Replace percentile_* with approx_percentile"
}
},
@ -559,7 +581,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -938,15 +960,15 @@
"scope": "global",
"dbms": 12,
"category": "",
"enumvals": null,
"enumvals": ",IMMEDIATE,BATCH",
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"vartype": 1,
"default": "NULL",
"vartype": 5,
"default": "",
"summary": "transaction commit log write behaviour"
}
},
@ -1187,7 +1209,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -1243,14 +1265,14 @@
"scope": "global",
"dbms": 12,
"category": "",
"enumvals": null,
"enumvals": "IMMEDIATE,DEFERRED",
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"vartype": 1,
"vartype": 5,
"default": "IMMEDIATE",
"summary": "default for DDL cursor invalidation semantics"
}
@ -1262,14 +1284,14 @@
"scope": "global",
"dbms": 12,
"category": "",
"enumvals": null,
"enumvals": "SIMILAR,EXACT,FORCE",
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"vartype": 1,
"vartype": 5,
"default": "EXACT",
"summary": "cursor sharing mode"
}
@ -1378,7 +1400,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -1439,10 +1461,10 @@
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"minval": 0,
"maxval": 90,
"vartype": 1,
"default": "0",
"default": 0,
"summary": "Big table cache target size in percentage"
}
},
@ -1550,7 +1572,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -1836,7 +1858,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -1951,7 +1973,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -2788,7 +2810,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -2852,7 +2874,7 @@
"minval": null,
"maxval": null,
"vartype": 4,
"default": "TRUE",
"default": true,
"summary": "enable automatic server DD updates in HS agent self-registration"
}
},
@ -3232,7 +3254,7 @@
"minval": null,
"maxval": null,
"vartype": 4,
"default": "TRUE",
"default": true,
"summary": "Java VM JIT enabled"
}
},
@ -3264,14 +3286,15 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"minval": 0,
"maxval": 1000000000,
"vartype": 2,
"default": "25165824",
"summary": "size in bytes of java pool"
"default": 0,
"summary": "size in bytes of java pool",
"resource": 1
}
},
{
@ -3340,7 +3363,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -4788,10 +4811,10 @@
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"minval": 1,
"maxval": 30,
"vartype": 2,
"default": "4",
"default": 4,
"summary": "maximum number of active ARCH processes"
}
},
@ -4861,7 +4884,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -5147,7 +5170,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -5167,7 +5190,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -5853,12 +5876,12 @@
"enumvals": null,
"context": "",
"unit": 3,
"tunable": false,
"tunable": true,
"description": "",
"minval": null,
"maxval": null,
"vartype": 4,
"default": "TRUE",
"default": true,
"summary": "optimizer in-memory columnar awareness"
}
},
@ -6346,7 +6369,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -6445,10 +6468,10 @@
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"minval": 0,
"maxval": 3,
"vartype": 2,
"default": "2",
"default": 2,
"summary": "PL/SQL optimize level"
}
},
@ -6554,15 +6577,15 @@
"scope": "global",
"dbms": 12,
"category": "",
"enumvals": null,
"enumvals": "TRUE,FALSE,FORCE",
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"vartype": 1,
"default": "true",
"vartype": 5,
"default": "TRUE",
"summary": "allow rewrite of queries using materialized views if enabled"
}
},
@ -6901,10 +6924,10 @@
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"minval": 0,
"maxval": 100,
"vartype": 2,
"default": "5",
"default": 5,
"summary": "maximum result size as percent of cache size"
}
},
@ -7148,10 +7171,10 @@
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"minval": 0,
"maxval": 100,
"vartype": 2,
"default": "50",
"default": 50,
"summary": "Number of cursors to cache in a session."
}
},
@ -7202,7 +7225,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -7241,7 +7264,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -7299,7 +7322,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -7319,7 +7342,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -7453,7 +7476,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -7663,7 +7686,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -8011,8 +8034,8 @@
"description": "",
"minval": null,
"maxval": null,
"vartype": 1,
"default": "TRUE",
"vartype": 4,
"default": true,
"summary": "Use large pages if available (TRUE/FALSE/ONLY)"
}
},

View File

@ -1,4 +1,23 @@
[
{
"model": "website.KnobCatalog",
"fields": {
"name": "global._enable_numa_optimization",
"scope": "global",
"dbms": 19,
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"summary": "",
"vartype": 4,
"minval": null,
"maxval": null,
"default": false
}
},
{
"model": "website.KnobCatalog",
"fields": {
@ -46,14 +65,15 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"summary": "",
"vartype": 2,
"minval": 0,
"maxval": 2000000000,
"default": 200000000
"default": 200000000,
"resource": 1
}
},
{
@ -65,14 +85,15 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"summary": "",
"vartype": 2,
"minval": 0,
"maxval": 2000000000,
"default": 100000
"default": 100000,
"resource": 1
}
},
{
@ -84,14 +105,15 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"summary": "",
"vartype": 2,
"minval": 0,
"maxval": 2000000000,
"default": 300000
"default": 300000,
"resource": 1
}
},
{
@ -242,7 +264,7 @@
"minval": null,
"maxval": null,
"vartype": 4,
"default": "FALSE",
"default": false,
"summary": "Replace exact aggregation with approximate aggregation"
}
},
@ -261,7 +283,7 @@
"minval": null,
"maxval": null,
"vartype": 4,
"default": "FALSE",
"default": false,
"summary": "Replace count distinct with approx_count_distinct"
}
},
@ -272,15 +294,15 @@
"scope": "global",
"dbms": 19,
"category": "",
"enumvals": null,
"enumvals": "NONE,PERCENTILE_CONT,PERCENTILE_CONT DETERMINISTIC,PERCENTILE_DISC,PERCENTILE_DISC DETERMINISTIC,ALL,ALL DETERMINISTIC",
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"vartype": 1,
"default": "none",
"vartype": 5,
"default": false,
"summary": "Replace percentile_* with approx_percentile"
}
},
@ -578,7 +600,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -976,14 +998,14 @@
"scope": "global",
"dbms": 19,
"category": "",
"enumvals": null,
"enumvals": ",IMMEDIATE,BATCH",
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"vartype": 1,
"vartype": 5,
"default": "",
"summary": "transaction commit log write behaviour"
}
@ -1244,7 +1266,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -1300,14 +1322,14 @@
"scope": "global",
"dbms": 19,
"category": "",
"enumvals": null,
"enumvals": "IMMEDIATE,DEFERRED",
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"vartype": 1,
"vartype": 5,
"default": "IMMEDIATE",
"summary": "default for DDL cursor invalidation semantics"
}
@ -1319,14 +1341,14 @@
"scope": "global",
"dbms": 19,
"category": "",
"enumvals": null,
"enumvals": "SIMILAR,EXACT,FORCE",
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"vartype": 1,
"vartype": 5,
"default": "EXACT",
"summary": "cursor sharing mode"
}
@ -1473,7 +1495,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -1534,10 +1556,10 @@
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"minval": 0,
"maxval": 90,
"vartype": 1,
"default": "0",
"default": 0,
"summary": "Big table cache target size in percentage"
}
},
@ -1645,7 +1667,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -1931,7 +1953,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -2046,7 +2068,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -2902,7 +2924,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -2966,7 +2988,7 @@
"minval": null,
"maxval": null,
"vartype": 4,
"default": "TRUE",
"default": true,
"summary": "enable automatic server DD updates in HS agent self-registration"
}
},
@ -3460,7 +3482,7 @@
"minval": null,
"maxval": null,
"vartype": 4,
"default": "TRUE",
"default": true,
"summary": "Java VM JIT enabled"
}
},
@ -3492,14 +3514,15 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"minval": 0,
"maxval": 1000000000,
"vartype": 2,
"default": "25165824",
"summary": "size in bytes of java pool"
"default": 0,
"summary": "size in bytes of java pool",
"resource": 1
}
},
{
@ -3568,7 +3591,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -5035,10 +5058,10 @@
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"minval": 1,
"maxval": 30,
"vartype": 2,
"default": "4",
"default": 4,
"summary": "maximum number of active ARCH processes"
}
},
@ -5108,7 +5131,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -5451,7 +5474,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -5471,7 +5494,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -6214,12 +6237,12 @@
"enumvals": null,
"context": "",
"unit": 3,
"tunable": false,
"tunable": true,
"description": "",
"minval": null,
"maxval": null,
"vartype": 4,
"default": "TRUE",
"default": true,
"summary": "optimizer in-memory columnar awareness"
}
},
@ -6745,7 +6768,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -6844,10 +6867,10 @@
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"minval": 0,
"maxval": 3,
"vartype": 2,
"default": "2",
"default": 2,
"summary": "PL/SQL optimize level"
}
},
@ -6972,15 +6995,15 @@
"scope": "global",
"dbms": 19,
"category": "",
"enumvals": null,
"enumvals": "TRUE,FALSE,FORCE",
"context": "",
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"vartype": 1,
"default": "true",
"vartype": 5,
"default": "TRUE",
"summary": "allow rewrite of queries using materialized views if enabled"
}
},
@ -7319,10 +7342,10 @@
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"minval": 0,
"maxval": 100,
"vartype": 2,
"default": "5",
"default": 5,
"summary": "maximum result size as percent of cache size"
}
},
@ -7585,10 +7608,10 @@
"unit": 3,
"tunable": false,
"description": "",
"minval": null,
"maxval": null,
"minval": 0,
"maxval": 100,
"vartype": 2,
"default": "50",
"default": 50,
"summary": "Number of cursors to cache in a session."
}
},
@ -7639,7 +7662,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -7678,7 +7701,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": false,
"description": "",
"minval": 0,
@ -7736,7 +7759,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -7756,7 +7779,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -7890,7 +7913,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -8138,7 +8161,7 @@
"category": "",
"enumvals": null,
"context": "",
"unit": 3,
"unit": 1,
"tunable": true,
"description": "",
"minval": 0,
@ -8543,8 +8566,8 @@
"description": "",
"minval": null,
"maxval": null,
"vartype": 1,
"default": "TRUE",
"vartype": 4,
"default": true,
"summary": "Use large pages if available (TRUE/FALSE/ONLY)"
}
},