-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
93 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: Execution Plan | ||
--- | ||
|
||
Vitess在VTGate和VTTablet层面对查询进行解析,目的是找到执行查询的最优方式。这一过程称为查询规划,其结果是生成一份"Execution Plan"。 | ||
|
||
这个"Execution Plan"既取决于查询本身,也依赖于相关的VSchema。Vitess的规划策略一个核心目标是尽量将工作量下推至底层MySQL实例。当无法实现下推时,Vitess会采取一种方案,通过汇总多个来源的输入并合并结果,以得出正确的查询输出。 |
Oops, something went wrong.