Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: tidb6.5.1版本如何监控索引有效
How to monitor index effectiveness in TiDB version 6.5.1?
The view select * from performance_schema.table_io_waits_summary_by_index_usage
is not available in 6.5.1.
It seems that there is no good solution for TiDB at the moment. You can only enable the general log and then record the unused indexes from it?
Hello: Do you want to check a single index or check whether all the indexes in the inspection database are being used?
If it’s just an index:

Invisible, check the slow log. If it affects the system, it means this index is being used.
Quite aggressive! High risk factor.
Are all the indexes under the inspection database used?
It is recommended that the official provide a view to clearly see whether an index is being used and its usage frequency.
The image you provided is not visible. Please provide the text content that you need translated.
My table has no data. Please check on your end.