Skip to content

Commit

Permalink
add Execution Plan section
Browse files Browse the repository at this point in the history
  • Loading branch information
Verolop committed Feb 9, 2024
1 parent 14b4cbc commit 6e6d8e9
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 0 deletions.
7 changes: 7 additions & 0 deletions content/zh/docs/19.0/concepts/execution-plans.md
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会采取一种方案,通过汇总多个来源的输入并合并结果,以得出正确的查询输出。
Loading

0 comments on commit 6e6d8e9

Please sign in to comment.