Added support for Oracle v12.1c.

This commit is contained in:
dvanaken
2019-11-05 17:15:04 -05:00
committed by Dana Van Aken
parent d874ca6a8b
commit e1b29eaafa
24 changed files with 62878 additions and 31059 deletions

View File

@@ -15,13 +15,15 @@ class DBTime(BaseTargetObjective):
improvement=LESS_IS_BETTER)
def compute(self, metrics, observation_time):
metric_names = ('global.db cpu', 'global.cursor: pin s wait on x.time_waited',
'global.user i/o wait time')
metric_names = (
'global.sys_time_model.db cpu',
'global.system_event.cursor: pin s wait on x.time_waited',
'global.sysstat.user i/o wait time')
db_time = float(sum(metrics[mname] for mname in metric_names)) / observation_time
return db_time
target_objective_list = tuple((DBMSType.ORACLE, target_obj) for target_obj in [ # pylint: disable=invalid-name
BaseThroughput(transactions_counter='global.user commits'),
BaseThroughput(transactions_counter='global.sysstat.user commits'),
DBTime(),
])

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -21,6 +21,8 @@ def load_initial_data(apps, schema_editor):
"myrocks-5.6_metrics.json",
"oracle-12_knobs.json",
"oracle-12_metrics.json",
"oracle-121_knobs.json",
"oracle-121_metrics.json",
"oracle-19_knobs.json",
"oracle-19_metrics.json",
]