Added support for Oracle v12.1c.
This commit is contained in:
@@ -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(),
|
||||
])
|
||||
|
||||
7241
server/website/website/fixtures/oracle-121_knobs.json
Normal file
7241
server/website/website/fixtures/oracle-121_knobs.json
Normal file
File diff suppressed because it is too large
Load Diff
28789
server/website/website/fixtures/oracle-121_metrics.json
Normal file
28789
server/website/website/fixtures/oracle-121_metrics.json
Normal file
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
@@ -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",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user