tidb 4.0rc 导入数据 TiKV server is busy

你好,

  1. 通过目前监控, coprocessor wait duration 峰值 200+ms,tikv 这边建议低于 50ms,
    可以通过调整 readpool.coprocessor.max-tasks-per-worker-normal, max-tasks-per-worker-high, max-tasks-per-worker-low 缓解

调整参数建议慢慢调整,逐渐放大,通过控制变量的方式来确定负责系统的参数配置!

image

  1. 可以再提供 overview - tikv - raftstore cpu 看下。

  2. tidb 的性能调优可以学下下 tidb performance map :
    https://github.com/pingcap/tidb-map/blob/master/maps/performance-map.png

参数文档

https://pingcap.com/docs-cn/stable/reference/configuration/tikv-server/configuration-file/#coprocessor

https://github.com/pingcap/tidb-map/blob/master/maps/performance-map.png
image