StmtSummary

(Appears on: TiDBConfig)

StmtSummary is the config for statement summary.

FieldDescription
enable
bool
(Optional)

Enable statement summary or not.

max-stmt-count
uint
(Optional)

The maximum number of statements kept in memory. Optional: Defaults to 100

max-sql-length
uint
(Optional)

The maximum length of displayed normalized SQL and sample SQL. Optional: Defaults to 4096

refresh-interval
int
(Optional)

The refresh interval of statement summary.

history-size
int
(Optional)

The maximum history size of statement summary.