pingcap / tidb

TiDB - the open-source, cloud-native, distributed SQL database designed for modern applications.
https://pingcap.com
Apache License 2.0
37.24k stars 5.84k forks source link

The description of `tidb_build_stats_concurrency` in the documentation is incorrect #57189

Open Rustin170506 opened 14 hours ago

Rustin170506 commented 14 hours ago

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Check https://docs.pingcap.com/zh/tidb/dev/statistics#tidb_build_stats_concurrency

2. What did you expect to see? (Required)

It should explain that it controls concurrency at the table or partition level.

3. What did you see instead (Required)

It says that this parameter controls the concurrency at the column level.

4. What is your TiDB version? (Required)

dev

Rustin170506 commented 14 hours ago

The description of tidb_analyze_partition_concurrency is also incorrect. It only controls the write operations.

Rustin170506 commented 14 hours ago

Also, it seems we do not use tidb_index_serial_scan_concurrency anymore.

dveeden commented 6 hours ago

Maybe this should have gone to https://github.com/pingcap/docs/ and/or https://github.com/pingcap/docs-cn/ That's also where you could create a PR if you want

dveeden commented 6 hours ago

cc @Oreoxmt @qiancai