Skip to content
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

sql: add doc for tidb executor #859

Closed
wants to merge 2 commits into from
Closed

sql: add doc for tidb executor #859

wants to merge 2 commits into from

Conversation

XuHuaiyu
Copy link
Contributor

@XuHuaiyu XuHuaiyu commented Aug 29, 2018

This PR does 2 things:

  • add the explanation for Join Algorithms (working on drawing elementary diagram, commit will be pushed soon)
  • add the explanation for Aggregate Algorithms

@@ -18,9 +18,10 @@
- [TiDB 访问权限管理](sql/privilege.md)
- [TiDB 用户账户管理](sql/user-account-management.md)
- [使用加密连接](sql/encrypted-connections.md)
+ SQL 优化
+ SQL 优化与执行
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/优化与执行/优化器与执行引擎/

| [1] (2, 3) | 2 |
| [2] (1, 3) | 1 |

TiDB 中,为了加快执行速度,Hash Aggregate 在聚合函数参数不为 distinct 时并行执行。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

前面那个简单版本的一句话就可以讲完,后面这个并行执行的模式可以深入讲讲。。

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

比如可以介绍一下那几种聚合的状态,不同状态的输入输出是什么,状态间如何交互的等等

@XuHuaiyu
Copy link
Contributor Author

Paused. I'll reopen this later.

@XuHuaiyu XuHuaiyu closed this Nov 12, 2018
@lilin90 lilin90 deleted the agg branch April 10, 2019 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants