Skip to content

Commit 7cc6085

Browse files
authored
Add optimized batch update of hotspot indexes to release-6.0.0-dmr (#8671) (#8818)
1 parent a485c42 commit 7cc6085

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

releases/release-6.0.0-dmr.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ TiDB v6.0.0 is a DMR, and its version is 6.0.0-DMR.
111111

112112
[User document](/functions-and-operators/expressions-pushed-down.md#add-to-the-blocklist), [#30738](https://github.com/pingcap/tidb/issues/30738)
113113

114+
- Optimization of hotspot index
115+
116+
Writing monotonically increasing data in batches to the secondary index causes an index hotspot and affects the overall write throughput. Since v6.0.0, TiDB supports scattering the index hotspot using the `tidb_shard` function to improve the write performance. Currently, `tidb_shard` only takes effect on the unique secondary index. This application-friendly solution does not require modifying the original query conditions. You can use this solution in the scenarios of high write throughput, point queries, and batch point queries. Note that using the data that has been scattered by range queries in the application might cause a performance regression. Therefore, do not use this function in such cases without verification.
117+
118+
[User document](/functions-and-operators/tidb-functions.md#tidb_shard), [#31040](https://github.com/pingcap/tidb/issues/31040)
119+
114120
- Support dynamic pruning mode for partitioned tables in TiFlash MPP engine (experimental)
115121

116122
In this mode, TiDB can read and compute the data on partitioned tables using the MPP engine of TiFlash, which greatly improves the query performance of partitioned tables.

0 commit comments

Comments
 (0)