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

*: increase the performance of loading stats #17688

Merged
merged 5 commits into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from 4 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
2 changes: 1 addition & 1 deletion system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ MPP 是 TiFlash 引擎提供的分布式计算框架,允许节点之间的数
- 作用域:SESSION | GLOBAL
- 是否持久化到集群:是
- 是否受 Hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value) 控制:否
- 默认值:"json,blob,mediumblob,longblob"
- 默认值:"json,blob,mediumblob,longblob,mediumtext,longtext"。在 v8.2.0 之前的版本,默认值为 "json,blob,mediumblob,longblob"。
lilin90 marked this conversation as resolved.
Show resolved Hide resolved
- 可选值:"json,blob,mediumblob,longblob,text,mediumtext,longtext"
- 这个变量表示在执行 `ANALYZE` 命令收集统计信息时,跳过哪些类型的列的统计信息收集。该变量仅适用于 [`tidb_analyze_version = 2`](#tidb_analyze_version-从-v510-版本开始引入) 的情况。即使使用 `ANALYZE TABLE t COLUMNS c1, ..., cn` 语法指定列,如果指定的列的类型在 `tidb_analyze_skip_column_types` 中,也不会收集该列的统计信息。

Expand Down
4 changes: 2 additions & 2 deletions tidb-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,8 @@ TiDB 配置文件比命令行参数支持更多的选项。你可以在 [config/
### `stats-load-concurrency` <span class="version-mark">从 v5.4.0 版本开始引入</span>

+ TiDB 统计信息同步加载功能可以并发处理的最大列数
+ 默认值:5
+ 目前的合法值范围:`[1, 128]`
+ 默认值:0。在 v8.2.0 之前,默认值为 5。
+ 目前的合法值范围:`[0, 128]`。0 为自动模式,根据服务器情况,自动调节并发度。在 v8.2.0 之前,最小值为 1。
lilin90 marked this conversation as resolved.
Show resolved Hide resolved

### `stats-load-queue-size` <span class="version-mark">从 v5.4.0 版本开始引入</span>

Expand Down