package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev

# Functions

NewMemoryUsageAlarmHandle builds a memory usage alarm handler.

# Constants

ExceedAlarmRatio is the reason that memory used exceed threshold.
GrowTooFast is the reason that memory increasing too fast.
NoReason means no alarm.

# Structs

Handle is the handler for expensive query.

# Type aliases

AlarmReason implements alarm reason.