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

statistics: mark NDV as deprecated and update variable scopes (#18318) #18319

Merged
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-show-stats-buckets.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ summary: TiDB 数据库中 SHOW STATS_BUCKETS 的使用概况。
| `Repeats` | 最大值的出现次数 |
| `Lower_bound` | 最小值 |
| `Upper_bound` | 最大值 |
| `Ndv` | 桶中不同值的数量。当 `tidb_analyze_version` = `1` 时,`Ndv` 总是 `0`,没有实际意义。 |
| `Ndv` | 桶中不同值的数量。该字段已废弃,其值由于不准确会始终显示为 `0`。 |

## 语法图

Expand Down
2 changes: 1 addition & 1 deletion system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ MPP 是 TiFlash 引擎提供的分布式计算框架,允许节点之间的数

### `tidb_analyze_distsql_scan_concurrency` <span class="version-mark">从 v7.6.0 版本开始引入</span>

- 作用域:GLOBAL
- 作用域:SESSION | GLOBAL
- 是否持久化到集群:是
- 是否受 Hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value) 控制:否
- 类型:整数型
Expand Down