package
2.1.0-rc.2+incompatible
Repository: https://github.com/coderushing/tidb.git
Documentation: pkg.go.dev
# Functions
NewTracker creates a memory tracker.
# Constants
PanicMemoryExceed represents the panic message when out of memory quota.
# Structs
LogOnExceed logs a warning only once when memory usage exceeds memory quota.
PanicOnExceed panics when memory usage exceeds memory quota.
Tracker is used to track the memory usage during query execution.
# Interfaces
ActionOnExceed is the action taken when memory usage exceeds memory quota.