Sign InTry Free

QUERY WATCH

The QUERY WATCH statement is used to manually manage the watch list of runaway queries in a resource group.

Synopsis

AddQueryWatchStmt
QUERYWATCHADDQueryWatchOptionList
QueryWatchOptionList
QueryWatchOptionQueryWatchOptionListQueryWatchOptionQueryWatchOptionList,QueryWatchOption
QueryWatchOption
RESOURCEGROUPResourceGroupNameRESOURCEGROUPUserVariableACTIONEqOptResourceGroupRunawayActionOptionQueryWatchTextOption
ResourceGroupName
IdentifierDEFAULT
QueryWatchTextOption
SQLDIGESTSimpleExprPLANDIGESTSimpleExprSQLTEXTResourceGroupRunawayWatchOptionTOSimpleExpr
ResourceGroupRunawayWatchOption
EXACTSIMILARPLAN
DropQueryWatchStmt
QUERYWATCHREMOVENUM

Parameters

See QUERY WATCH parameters.

MySQL compatibility

This statement is a TiDB extension to MySQL syntax.

See also

Was this page helpful?

Download PDFRequest docs changesAsk questions on DiscordEdit this page
Playground
New
One-stop & interactive experience of TiDB's capabilities WITHOUT registration.
Products
TiDB
TiDB Dedicated
TiDB Serverless
Pricing
Get Demo
Get Started
© 2024 PingCAP. All Rights Reserved.
Privacy Policy.