Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StmtSummaryByDigestMap = newStmtSummaryByDigestMap()
StmtSummaryByDigestMap is a global map containing all statement summaries.
Functions ¶
This section is empty.
Types ¶
type StmtExecInfo ¶
type StmtExecInfo struct { SchemaName string OriginalSQL string NormalizedSQL string Digest string PrevSQL string PrevSQLDigest string PlanGenerator func() string PlanDigest string PlanDigestGen func() string User string TotalLatency time.Duration ParseLatency time.Duration CompileLatency time.Duration StmtCtx *stmtctx.StatementContext CopTasks *stmtctx.CopTasksDetails ExecDetail *execdetails.ExecDetails MemMax int64 StartTime time.Time IsInternal bool Succeed bool }
StmtExecInfo records execution information of each statement.
Click to show internal directories.
Click to hide internal directories.