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

docs:Add tidb_opt_force_inline_cte system vars usage description in docs. #11216

Merged
merged 7 commits into from
Sep 17, 2022
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
8 changes: 8 additions & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -1832,6 +1832,14 @@ explain select * from t where age=5;
- 默认值:`OFF`
- 这个变量用来设置是否允许 `INSERT`、`REPLACE` 和 `UPDATE` 操作 `_tidb_rowid` 列,默认是不允许操作。该选项仅用于 TiDB 工具导数据时使用。

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

- 作用域:SESSION | GLOBAL
- 是否持久化到集群:是
- 类型:布尔型
- 默认值:`OFF`
- 这个变量用来控制是否强制 inline CTE。默认值为 `OFF`,即默认不强制 inline CTE。注意,此时依旧可以通过 `MERGE()` hint 来开启个别 CTE 的 inline。如果设置为 `ON`,则当前 session 中所有查询的 CTE(递归 CTE 除外)都会 inline。

### `tidb_partition_prune_mode` <span class="version-mark">从 v5.1 版本开始引入</span>

- 作用域:SESSION | GLOBAL
Expand Down