[fix](docs) add joinHint.md to sidebars (#31155)
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
# join hint using document
|
||||
|
||||
<version since="2.0.4"></version>
|
||||
|
||||
In the database, "Hint" is an instruction that instructs the query optimizer to execute a plan. By embedding hints in SQL statements, you can influence the optimizer's decision to select the desired execution path. Here is a background example using Hint:
|
||||
|
||||
Suppose you have a table that contains a large amount of data, and you know that in some specific circumstances, the join order of the tables in a query may affect query performance. Leading Hint allows you to specify the order of table joins that you want the optimizer to follow.
|
||||
|
||||
@ -216,6 +216,13 @@
|
||||
"query-acceleration/async-materialized-view/async-materialized-view",
|
||||
"query-acceleration/async-materialized-view/query-async-materialized-view"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "category",
|
||||
"label": "Hint",
|
||||
"items": [
|
||||
"query-acceleration/hint/joinHint"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@ -1,4 +1,7 @@
|
||||
# join hint 使用文档
|
||||
|
||||
<version since="2.0.4"></version>
|
||||
|
||||
# 背景
|
||||
在数据库中,"Hint" 是一种用于指导查询优化器执行计划的指令。通过在SQL语句中嵌入Hint,可以影响优化器的决策,以选中期望的执行路径。以下是一个使用Hint的背景示例:
|
||||
假设有一个包含大量数据的表,而你知道在某些特定情况下,在一个查询中,表的连接顺序可能会影响查询性能。Leading Hint允许你指定希望优化器遵循的表连接的顺序。
|
||||
|
||||
Reference in New Issue
Block a user