-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v15 Chinese docs #1180
Draft
Verolop
wants to merge
4
commits into
prod
Choose a base branch
from
veronica-chinese-docs
base: prod
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
v15 Chinese docs #1180
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
3515a7d
title changes and minor vocabulary fixes
Verolop 5c1ee80
makes v15 Architecture section consistent with its English counterpart.
Verolop fb682f4
adds missing Vitess concepts on the Concepts section (under
Verolop 683a68b
adds content to Execution Plans and VTGate sections
Verolop File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,18 @@ | ||
--- | ||
title: Execution Plans | ||
--- | ||
|
||
Vitess解析VTGate和VTTablet层解析查询,以评估执行查询的最佳方法。这种评估被称为查询规划,并导致查询执行计划。 | ||
|
||
执行计划取决于查询和相关的VSchema。Vitess的计划策略的基本目标之一是将尽可能多的工作推给底层MySQL实例。当这不可能时,Vitess将使用一个计划,从多个来源收集输入,并合并结果以产生正确的查询结果。 | ||
|
||
### 评价模型 | ||
执行计划由运算符组成,每个运算符实现一个特定的工作。这些操作符组合成一个树状结构,代表了整个执行计划。该计划将每个运算符表示为树上的一个节点。每个运算符接受零个或多个行作为输入,并产生零个或多个行作为输出。这意味着一个操作者的输出成为下一个操作者的输入。连接树中两个分支的操作符结合了来自两个输入流的输入,并产生一个单一的输出。 | ||
|
||
执行计划的评估从树的叶子节点开始。叶子节点从VTTablet, Topology Service 中拉入数据,在某些情况下还能在本地评估表达式的值。每个叶子节点不会有来自其他操作者的输入,并将它们产生的任何节点输送到其父节点。父节点然后将节点输送到其父节点,一直到根节点。根节点产生最终的查询结果,并将结果传递给用户。 | ||
|
||
### 观察执行计划 | ||
在VTGate个级可以通过浏览`/queryz`端点观察到缓存执行计划。 | ||
从Vitess 6 开始,也可以用`EXPLAIN FORMAT=vitess <query>` 观察到单声明计划。 | ||
|
||
|
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,5 @@ | ||
--- | ||
title: MoveTables | ||
--- | ||
|
||
正在建设之中 |
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,5 @@ | ||
--- | ||
title: Query Rewriting | ||
--- | ||
|
||
正在建设之中 |
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,4 @@ | ||
--- | ||
title: VStream | ||
--- | ||
正在建设之中- |
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,5 @@ | ||
--- | ||
title: vtctl | ||
--- | ||
|
||
正在建设之中 |
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,5 @@ | ||
--- | ||
title: vtctld | ||
--- | ||
|
||
正在建设之中 |
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,11 @@ | ||
--- | ||
title: VTGate | ||
--- | ||
|
||
VTGate是一个轻量级的代理服务器,它将流量导向正确的VTTablet服务器并将综合结果返回给客户。它同时使用MySQL协议和Vitess gRPC协议。因此,您的应用程序可以像连接MySQL服务器一样连接VTGate。 | ||
|
||
在将查询路由到适当的VTTablet服务器时,VTGate会考虑分片方案、所需的延迟、表的可用性以及其底层MySQL实例 | ||
|
||
相关的Vitess文档。 | ||
|
||
[Execution Plans](../execution-plans) |
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: 私有云 | ||
title: 云原生 | ||
--- | ||
|
||
Vitess非常适合云部署,因为它使数据库能够逐步增加容量。运行Vitess的最简单方法是通过Kubernetes。 | ||
|
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
--- | ||
title: Reference | ||
title: 参考 | ||
description: Detailed information about specific Vitess functionality | ||
weight: 5 | ||
--- | ||
|
||
{{< info >}} | ||
因为这些文档不维护,所以它们是旧的。 | ||
{{< /info >}} | ||
{{< /info >}} |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: User Guides | ||
title: 用户指南 | ||
description: Practical Guides for Most Scenarios | ||
weight: 3 | ||
--- | ||
|
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am a big fan on this PR <3
We should mirror this change to the release automation script in
./tools
so that the regex and the new text is in chinese instead of englishThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, I am actually struggling to understand the structure of the website, and how Hugo and Bulma work lol. I initially copy-pasted all my content, and I broke everything.
I am proceeding with caution, and by smaller chunks.
I'll check the release automation script.