package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Functions
NewCollector create an index usage collector.
NewSample creates a new data point for index usage.
NewStmtIndexUsageCollector creates a new StmtIndexUsageCollector.
# Structs
Collector represents a data structure to record the index usage for the whole node.
GlobalIndexID is the key type for indexUsageMap.
Sample is the data structure to store index usage information.
SessionIndexUsageCollector collects index usage per-session.
StmtIndexUsageCollector removes the duplicates index for recording `QueryTotal` in session collector.