You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide all the information required to reproduce the implementation plan for import/export. Provide a simple, one-stop collection and retention of the event of the scene, simplifying the inspection information extraction steps of the optimizer-related issues.
Description
PLAN REPLAYER provides three features:
One-click Export/Import Information Reproducing Single SQL
One-click Export/Importing Information Reproducing Slow Queries
Load Information to Reproducing Query Plans
Dump for one SQL
tidb> plan replayer dump explain [analyze] sqlStmt
sqlStmt parameter is the specified SQL statement
explain [Analyze] is used to specify back explain or Explain Analyze information
This statement will return a single-active URL for download files such as http://${tidb-server-ip}:${tidb-server-status-port}/plan_replayer/dump/xxxx
Dump for slow queries tidb> plan recretor dump explain [analyze] slow query [filtering]
explain [Analyze] is used to specify back explain or Explain Analyze information
[filtering] is used to filter slow inquiry in Slow Query Table, support:
WHERE
ORDER BY
Limit
This statement will return a single-active URL for download files such as http://${tidb-server-ip}:${tidb-server-status-port}/plan_replayer/dump/xxxx
Load Information
tidb> plan replayer load 'file_name'
File Format
The file plan-replayer.zip format is as follows:
Plan Replayer
Provide all the information required to reproduce the implementation plan for import/export. Provide a simple, one-stop collection and retention of the event of the scene, simplifying the inspection information extraction steps of the optimizer-related issues.
Description
PLAN REPLAYER provides three features:
Dump for one SQL
sqlStmt
parameter is the specified SQL statementexplain [Analyze]
is used to specify back explain or Explain Analyze informationhttp://${tidb-server-ip}:${tidb-server-status-port}/plan_replayer/dump/xxxx
Dump for slow queriestidb> plan recretor dump explain [analyze] slow query [filtering]
explain [Analyze]
is used to specify back explain or Explain Analyze information[filtering]
is used to filter slow inquiry in Slow Query Table, support:WHEREORDER BYLimitThis statement will return a single-active URL for download files such ashttp://${tidb-server-ip}:${tidb-server-status-port}/plan_replayer/dump/xxxx
Load Information
File Format
The file plan-replayer.zip format is as follows:
Development task
Enhancement
Bugfix
The text was updated successfully, but these errors were encountered: