pingcap/tidb
Voir sur GitHubAdd SQL diagnosis rule: threshold check for tikv_append_log_duration
Open
#17 941 ouverte le 11 juin 2020
good first issuehelp wantedtype/enhancement
Métriques du dépôt
- Stars
- (40 090 stars)
- Métriques de merge PR
- (Merge moyen 14j 4h) (346 PRs mergées en 30 j)
Description
Development Task
When Raft append log duration, P99 Value > 500ms, then append an warning in INSPECTION_RESULT table, this may be caused by:
- write disk too slow, check the disk latency.
- It may trigger the RocksDB Write Stall.
Refer
- You can query the
tikv_append_log_durationtable to getmetrics_schema.tikv_append_log_durationvalue. Here is the related doc. - You can refer the
thresholdCheckInspectionimplementation in TiDB.
If you have any questions or want to discuss something, you can chat in the sig-dashboard slack channel and @ chenshuang.