hot read 中 last_update_time 触发周期

TiDB 版本为 2.1.15

请问命令 pd-ctl hot read 的 last_update_time 的触发周期是多长时间收集一次?

“94749”: {
“total_flow_bytes”: 15949477,
“regions_count”: 4,
“statistics”: [
{
“region_id”: 763779,
“flow_bytes”: 13735787,
“hot_degree”: 132,
“last_update_time”: “2021-10-11T11:31:40.321218145+08:00”,
“AntiCount”: 0,
“Version”: 16187,
“Stats”: null
},

目前咱们 TiDB 社区最低的支持版本是 3.0 ,请尽可能升级之后再发帖咨询,抱歉。

预期的情况下,PD 这边的信息应该是通过 TiKV 的 region heartbeat 以及 store heartbeat 对流量进行统计以及更新,具体可以看一下这两个配置:
https://github.com/tikv/tikv/blob/a38d523d23a7a6329527768472b33506d9f935b2/etc/config-template.toml#L145-L148

1 个赞

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。