Skip to content

Commit

Permalink
statistics: mark NDV as deprecated and update variable scopes (#18318) (
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Aug 7, 2024
1 parent e6fa2e3 commit af9d435
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion statistics.md
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ SHOW STATS_BUCKETS [ShowLikeOrWhere];
| repeats | 最大值出现的次数 |
| lower_bound | 最小值 |
| upper_bound | 最大值 |
| ndv | 当前桶内不同值的个数。当 `tidb_analyze_version` = 1 时,该值恒为 0,没有实际意义。 |
| Ndv | 桶中不同值的数量。该字段已废弃,其值由于不准确会始终显示为 `0`。 |

### Top-N 信息

Expand Down
2 changes: 1 addition & 1 deletion system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,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

0 comments on commit af9d435

Please sign in to comment.