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 RECREATOR provides two features:
One-click Export/Import Information Reproducing Single SQL
One-click Export/Importing Information Reproducing Slow Queries Dump for one SQL
tidb> plan recreator 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-recreator/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-recreator/dump/xxxx
Load Information
tidb> plan recreator load 'file_name'
File Format
The file plan-recreator.zip format is as follows:
Plan Recreator
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 RECREATOR provides two 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-recreator/dump/xxxx
Dump for slow queries
explain [Analyze]
is used to specify back explain or Explain Analyze information[filtering]
is used to filter slow inquiry in Slow Query Table, support:http://${tidb-server-ip}:${tidb-server-status-port}/plan-recreator/dump/xxxx
Load Information
File Format
The file plan-recreator.zip format is as follows:
Development task
parser
to addPLAN RECREATOR
statementtidb/executor
to implementplan recreator
The text was updated successfully, but these errors were encountered: