Skip to content

Commit 69cca3d

Browse files
author
github-actions
committed
update MD by dispatch event pingcap/docs feature/preview-top-navigation
1 parent 3a44c53 commit 69cca3d

File tree

169 files changed

+6417
-1562
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

169 files changed

+6417
-1562
lines changed

markdown-pages/en/tidb/release-8.5/TOC-best-practices.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
- [Manage DDL](/best-practices/ddl-introduction.md)
1313
- [Use UUIDs as Primary Keys](/best-practices/uuid.md)
14+
- [Use TiDB Partitioned Tables](/best-practices/tidb-partitioned-tables-best-practices.md)
1415
- [Optimize Multi-Column Indexes](/best-practices/multi-column-index-best-practices.md)
1516
- [Manage Indexes and Identify Unused Indexes](/best-practices/index-management-best-practices.md)
1617

markdown-pages/en/tidb/release-8.5/TOC-tidb-releases.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
## RELEASE NOTES
1313

1414
- v8.5
15+
- [8.5.5](/releases/release-8.5.5.md)
1516
- [8.5.4](/releases/release-8.5.4.md)
1617
- [8.5.3](/releases/release-8.5.3.md)
1718
- [8.5.2](/releases/release-8.5.2.md)

markdown-pages/en/tidb/release-8.5/TOC.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@
132132
- [Use Overview](/br/br-use-overview.md)
133133
- [Snapshot Backup and Restore Guide](/br/br-snapshot-guide.md)
134134
- [Log Backup and PITR Guide](/br/br-pitr-guide.md)
135+
- [Compact Log Backup](/br/br-compact-log-backup.md)
135136
- [Use Cases](/br/backup-and-restore-use-cases.md)
136137
- [Backup Storages](/br/backup-and-restore-storages.md)
137138
- BR CLI Manuals
@@ -749,6 +750,7 @@
749750
- [`SET ROLE`](/sql-statements/sql-statement-set-role.md)
750751
- [`SET TRANSACTION`](/sql-statements/sql-statement-set-transaction.md)
751752
- [`SET <variable>`](/sql-statements/sql-statement-set-variable.md)
753+
- [`SHOW AFFINITY`](/sql-statements/sql-statement-show-affinity.md)
752754
- [`SHOW ANALYZE STATUS`](/sql-statements/sql-statement-show-analyze-status.md)
753755
- [`SHOW [BACKUPS|RESTORES]`](/sql-statements/sql-statement-show-backups.md)
754756
- [`SHOW BINDINGS`](/sql-statements/sql-statement-show-bindings.md)
@@ -866,6 +868,7 @@
866868
- [Temporary Tables](/temporary-tables.md)
867869
- [Cached Tables](/cached-tables.md)
868870
- [FOREIGN KEY Constraints](/foreign-key.md)
871+
- [Table-Level Data Affinity](/table-affinity.md)
869872
- Character Set and Collation
870873
- [Overview](/character-set-and-collation.md)
871874
- [GBK](/character-set-gbk.md)

markdown-pages/en/tidb/release-8.5/best-practices/massive-regions-best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ The default size of a Region is 256 MiB, and you can reduce the number of Region
147147
148148
### Method 7: Increase the maximum number of connections for Raft communication
149149

150-
By default, the maximum number of connections used for Raft communication between TiKV nodes is 1. Increasing this number can help alleviate blockage issues caused by heavy communication workloads of a large number of Regions. For detailed instructions, see [`grpc-raft-conn-num`](/tikv-configuration-file.md#grpc-raft-conn-num).
150+
To adjust the maximum number of connections used for Raft communication between TiKV nodes, you can modify the [`server.grpc-raft-conn-num`](/tikv-configuration-file.md#grpc-raft-conn-num) configuration item. Increasing this number can help alleviate blockage issues caused by heavy communication workloads of a large number of Regions.
151151

152152
> **Note:**
153153
>

markdown-pages/en/tidb/release-8.5/best-practices/pd-scheduling-best-practices.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,9 @@ If a TiKV node fails, PD defaults to setting the corresponding node to the **dow
295295

296296
Practically, if a node failure is considered unrecoverable, you can immediately take it offline. This makes PD replenish replicas soon in another node and reduces the risk of data loss. In contrast, if a node is considered recoverable, but the recovery cannot be done in 30 minutes, you can temporarily adjust `max-store-down-time` to a larger value to avoid unnecessary replenishment of the replicas and resources waste after the timeout.
297297

298-
In TiDB v5.2.0, TiKV introduces the mechanism of slow TiKV node detection. By sampling the requests in TiKV, this mechanism works out a score ranging from 1 to 100. A TiKV node with a score higher than or equal to 80 is marked as slow. You can add [`evict-slow-store-scheduler`](/pd-control.md#scheduler-show--add--remove--pause--resume--config--describe) to detect and schedule slow nodes. If only one TiKV is detected as slow, and the slow score reaches the limit (80 by default), the Leader in this node will be evicted (similar to the effect of `evict-leader-scheduler`).
298+
Starting from TiDB v5.2.0, TiKV introduces a mechanism to detect slow-disk nodes. By sampling the requests in TiKV, this mechanism works out a score ranging from 1 to 100. A TiKV node with a score higher than or equal to 80 is marked as slow. You can add [`evict-slow-store-scheduler`](/pd-control.md#scheduler-show--add--remove--pause--resume--config--describe) to schedule slow nodes. If only one TiKV node is detected as slow, and its slow score reaches the limit (80 by default), the Leaders on that node will be evicted (similar to the effect of `evict-leader-scheduler`).
299+
300+
Starting from v8.5.5, TiKV introduces a mechanism to detect slow-network nodes. Similar to slow-disk node detection, this mechanism identifies slow nodes by probing network latency between TiKV nodes and calculating a score. You can enable this mechanism using [`enable-network-slow-store`](/pd-control.md#scheduler-config-evict-slow-store-scheduler).
299301

300302
> **Note:**
301303
>

markdown-pages/en/tidb/release-8.5/best-practices/three-nodes-hybrid-deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The default value of this parameter is 80% of the number of machine threads. In
6161

6262
#### `server.grpc-concurrency`
6363

64-
This parameter defaults to `4`. Because in the existing deployment plan, the CPU resources are limited and the actual requests are few. You can observe the monitoring panel, lower the value of this parameter, and keep the usage rate below 80%.
64+
Because in the existing deployment plan, the CPU resources are limited and the actual requests are few. You can observe the monitoring panel, lower the value of [`server.grpc-concurrency`](/tikv-configuration-file.md#grpc-concurrency), and keep the usage rate below 80%.
6565

6666
In this test, the value of this parameter is set to `2`. Observe the **gRPC poll CPU** panel and you can see that the usage rate is just around 80%.
6767

0 commit comments

Comments
 (0)