Add table information_schema.tidb_index_usage
to show the usage statistics of an index
#49830
Open
7 of 9 tasks
Labels
Enhancement
Most of the necessary statistic data has been collected in the
RuntimeStatsColl
. We can collect them into a global structure to show the usages of each index.Add system variabletidb_enable_object_stats
to describe whether to enable collecting index usage. #49831SessionIndexUsageCollector
for new index usage design #49835information_schema.tidb_index_usage
andinformation_schema.cluster_tidb_index_usage
to show the statistics information. #50823sys.schema_unused_index
#50886The text was updated successfully, but these errors were encountered: