Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: tidb 有没有函数统计建立了索引而从未被使用过的
[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version]
[Encountered Issues]
[Reproduction Path] What operations were performed that led to the issue
[Issue Phenomenon and Impact]
Or you can also count the number of times an index on a table is used
Reverse deduce unused indexes
[Attachments]
Please provide the version information of each component, such as cdc/tikv, which can be obtained by executing cdc version/tikv-server --version.