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

sys-var: add 2 for mpp_version (#19014) #19017

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -694,11 +694,12 @@ mysql> SHOW GLOBAL VARIABLES LIKE 'max_prepared_stmt_count';
- 是否持久化到集群:是
- 是否受 Hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value) 控制:是
- 默认值:`UNSPECIFIED`
- 可选值:`UNSPECIFIED`,`0`,`1`
- 可选值:`UNSPECIFIED`,`0`,`1`,`2`
- 该变量用于指定不同版本的 MPP 执行计划。指定后,TiDB 会选择指定版本的 MPP 执行计划。该变量值含义如下:
- `UNSPECIFIED`:表示未指定,此时 TiDB 自动选择最新版本 `1`。
- `UNSPECIFIED`:表示未指定,此时 TiDB 自动选择最新版本 `2`。
- `0`:兼容所有 TiDB 集群版本,MPP 版本大于 `0` 的新特性均不会生效。
- `1`:从 v6.6.0 版本开始引入,用于开启 TiFlash 带压缩的数据交换,详情参见 [MPP Version 和 Exchange 数据压缩](/explain-mpp.md#mpp-version-和-exchange-数据压缩)。
- `2`:从 v7.3.0 版本开始引入,用于确保在 TiFlash 执行出错的情况下,获取到准确的报错信息。

### `password_history` <span class="version-mark">从 v6.5.0 版本开始引入</span>

Expand Down