package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Structs
AnalysisJobJSON represents the JSON format of an AnalysisJob.
CacheUpdate encapsulates changes to be made to the stats cache.
ColStatsTimeInfo records usage information of this column stats.
GlobalStatsInfo represents the contextual information pertaining to global statistics.
IndicatorsJSON represents the JSON format of Indicators.
NeededItemTask represents one needed column/indices with expire time.
PartitionStatisticLoadTask currently records a partition-level jsontable.
PriorityQueueSnapshot is the snapshot of the stats priority queue.
StatsLoad is used to load stats concurrently TODO(hawkingrei): Our implementation of loading statistics is flawed.
StatsLockTable is the table info of which will be locked.
UpdateOptions contains configuration for cache updates.
# Interfaces
DDL is used to handle ddl events.
IndexUsage is an interface to define the function of collecting index usage stats.
StatsAnalyze is used to handle auto-analyze and manage analyze jobs.
StatsCache is used to manage all table statistics in memory.
StatsGC is used to GC unnecessary stats.
StatsGlobal is used to manage partition table global stats.
StatsHandle is used to manage TiDB Statistics.
StatsHistory is used to manage historical stats.
StatsLock is used to manage locked stats.
StatsReadWriter is used to read and write stats to the storage.
StatsSyncLoad implement the sync-load feature.
StatsUsage is used to track the usage of column / index statistics.
# Type aliases
PersistFunc is used to persist JSONTable in the partition level.