DiagHistoryEventItem
实例诊断历史事件
被如下接口引用:DescribeDBDiagHistory。
名称 | 类型 | 描述 |
---|---|---|
DiagType | String | 诊断类型。 |
EndTime | Timestamp | 结束时间。 |
StartTime | Timestamp | 开始时间。 |
EventId | Integer | 事件 ID 。 |
Severity | Integer | 严重程度。从1-4,严重程度递减,意义与DBBrain生成的实例健康报告中对应概念一致。 |
Outline | String | 概要。 |
DiagItem | String | 诊断项。 |
InstanceId | String | 实例 ID 。 注意:此字段可能返回 null,表示取不到有效值。 |
Metric | String | 保留字段 注意:此字段可能返回 null,表示取不到有效值。 |
Region | String | 地域 注意:此字段可能返回 null,表示取不到有效值。 |
MonitorMetric
监控数据
被如下接口引用:DescribeSlowLogTimeSeriesStats。
名称 | 类型 | 描述 |
---|---|---|
Metric | String | 指标名称。 |
Unit | String | 指标单位。 |
Values | Array of Integer | 指标值。 注意:此字段可能返回 null,表示取不到有效值。 |
MonitorMetricSeriesData
单位时间间隔内的监控指标数据
被如下接口引用:DescribeSlowLogTimeSeriesStats。
名称 | 类型 | 描述 |
---|---|---|
Series | Array of MonitorMetric | 监控指标。 |
Timestamp | Array of Integer | 监控指标对应的时间戳。 |
SlowLogTopSqlItem
慢日志TopSql
被如下接口引用:DescribeSlowLogTopSqls。
名称 | 类型 | 描述 |
---|---|---|
LockTime | Float | sql总锁等待时间 |
LockTimeMax | Float | 最大锁等待时间 |
LockTimeMin | Float | 最小锁等待时间 |
RowsExamined | Integer | 总扫描行数 |
RowsExaminedMax | Integer | 最大扫描行数 |
RowsExaminedMin | Integer | 最小扫描行数 |
QueryTime | Float | 总耗时 |
QueryTimeMax | Float | 最大执行时间 |
QueryTimeMin | Float | 最小执行时间 |
RowsSent | Integer | 总返回行数 |
RowsSentMax | Integer | 最大返回行数 |
RowsSentMin | Integer | 最小返回行数 |
ExecTimes | Integer | 执行次数 |
SqlTemplate | String | sql模板 |
SqlText | String | 带参数SQL(随机) |
Schema | String | schema |
QueryTimeRatio | Float | 总耗时占比 |
LockTimeRatio | Float | sql总锁等待时间占比 |
RowsExaminedRatio | Float | 总扫描行数占比 |
RowsSentRatio | Float | 总返回行数占比 |
TimeSlice
单位时间间隔内的慢日志统计
被如下接口引用:DescribeSlowLogTimeSeriesStats。
名称 | 类型 | 描述 |
---|---|---|
Count | Integer | 总数 |
Timestamp | Integer | 统计开始时间 |