Skip to content

Commit

Permalink
fix a description in sql-plan-management.md (#15087)
Browse files Browse the repository at this point in the history
  • Loading branch information
ran-huang authored Oct 16, 2023
1 parent 00096c6 commit 2181c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql-plan-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ To make the execution plan of a SQL statement fixed to a historical execution pl
Currently, this feature has the following limitations:

- The feature generates hints according to historical execution plans and uses the generated hints for binding. Because historical execution plans are stored in [Statement Summary Tables](/statement-summary-tables.md), before using this feature, you need to enable the [`tidb_enable_stmt_summary`](/system-variables.md#tidb_enable_stmt_summary-new-in-v304) system variable first.
- Currently, this feature only supports binding historical execution plans in the `statements_summary` and `statements_summary_history` tables of the current TiDB node. If you get a `can't find any plans` error, you can connect to another TiDB node in the cluster and retry the binding.
- This feature does not support TiFlash queries, Join queries with three or more tables, or queries that contain subqueries.

The SQL statement of this binding method is as follows:

Expand Down

0 comments on commit 2181c6d

Please sign in to comment.