pingcap/tidb
在 GitHub 查看Add SQL diagnosis rule: check the storage.block-cache.capacity value
Open
#17,925 创建于 2020年6月10日
good first issuehelp wantedtype/enhancement
仓库指标
- Star
- (40,090 star)
- PR 合并指标
- (平均合并 14天 4小时) (30 天内合并 346 个 PR)
描述
Introduce
The problem of https://github.com/pingcap/tidb/issues/17434 is the storage.block-cache.capacity config value too small.
Task
Add diagnose rule such as : ifstorage.block-cache.capacity < 0.1 * total_server_memory / tikv_count_in_server is true, then append an warning in INSPECTION_RESULT table.
Refer
- You can query the
cluster_configtable to get the related config value. - You can refer the
configInspectionimplementation in TiDB.
If you have any questions or want to discuss something, you can chat in the sig-dashboard slack channel and @ chenshuang.