diff --git a/TOC.md b/TOC.md index 12f4e0ef05dfe..6036a15c0149f 100644 --- a/TOC.md +++ b/TOC.md @@ -4,7 +4,7 @@ - [Docs Home](https://docs.pingcap.com/) - About TiDB - [TiDB Introduction](/overview.md) - - [TiDB 7.3 Release Notes](/releases/release-7.3.0.md) + - [TiDB 7.4 Release Notes](/releases/release-7.4.0.md) - [Features](/basic-features.md) - [MySQL Compatibility](/mysql-compatibility.md) - [TiDB Limitations](/tidb-limitations.md) @@ -1012,6 +1012,8 @@ - [Release Timeline](/releases/release-timeline.md) - [TiDB Versioning](/releases/versioning.md) - [TiDB Installation Packages](/binary-package.md) + - v7.4 + - [7.4.0-DMR](/releases/release-7.4.0.md) - v7.3 - [7.3.0-DMR](/releases/release-7.3.0.md) - v7.2 diff --git a/releases/release-7.4.0.md b/releases/release-7.4.0.md new file mode 100644 index 0000000000000..5253018b203b3 --- /dev/null +++ b/releases/release-7.4.0.md @@ -0,0 +1,494 @@ +--- +title: TiDB 7.4.0 Release Notes +summary: Learn about the new features, compatibility changes, improvements, and bug fixes in TiDB 7.4.0. +--- + +# TiDB 7.4.0 Release Notes + +Release date: October 12, 2023 + +TiDB version: 7.4.0 + +Quick access: [Quick start](https://docs.pingcap.com/tidb/v7.4/quick-start-with-tidb) | [Installation packages](https://www.pingcap.com/download/?version=v7.4.0#version-list) + +7.4.0 introduces the following key features and improvements: + +
Category | +Feature | +Description | +
---|---|---|
Scalability and Performance | +Enhance the performance of adding multiple indexes for a table in a single ADD INDEX statement (experimental) |
+ Since v6.2.0, you can add multiple indexes for a table in a single ADD INDEX statement. However, the performance is the same as running multiple ADD INDEX statements. After optimization in v7.4.0, the performance of adding multiple indexes in a single SQL statement has been greatly improved. |
+
Reliability and Availability | +Improve the performance and stability of IMPORT INTO and ADD INDEX operations via global sort |
+ Before v7.4.0, tasks such as ADD INDEX or IMPORT INTO using the distributed execution framework meant localized and partial sorting, which ultimately led to TiKV doing a lot of extra work to make up for the partial sorting. These jobs also required TiDB nodes to allocate local disk space for sorting, before loading to TiKV.With the introduction of the Global Sorting feature in v7.4.0, data is temporarily stored in external shared storage (S3 in this version) for global sorting before being loaded into TiKV. This eliminates the need for TiKV to consume extra resources and significantly improves the performance and stability of operations like ADD INDEX and IMPORT INTO . |
+
Resource control for background tasks (experimental) | +In v7.1.0, the Resource Control feature was introduced to mitigate resource and storage access interference between workloads. TiDB v7.4.0 applies this control to background tasks as well. In v7.4.0, Resource Control now identifies and manages the resources produced by background tasks, such as auto-analyze, Backup & Restore, bulk load with TiDB Lightning, and online DDL. This will eventually apply to all background tasks. | +|
TiFlash supports storage-computing separation and S3 (GA) | +TiFlash disaggregated storage and compute architecture and S3 shared storage become generally available:
+
|
+ |
SQL | +TiDB supports partition type management | +Before v7.4.0, Range/List partitioned tables support partition management operations such as TRUNCATE , EXCHANGE , ADD , DROP , and REORGANIZE , and Hash/Key partitioned tables support partition management operations such as ADD and COALESCE .
+ Now TiDB also supports the following partition type management operations: +
|
+
MySQL 8.0 compatibility: support collation utf8mb4_0900_ai_ci |
+ One notable change in MySQL 8.0 is that the default character set is utf8mb4, and the default collation of utf8mb4 is utf8mb4_0900_ai_ci . TiDB v7.4.0 adding support for this enhances compatibility with MySQL 8.0 so that migrations and replications from MySQL 8.0 databases with the default collation are now much smoother. |
+ |
DB Operations and Observability | +Specify the respective TiDB nodes to execute the IMPORT INTO and ADD INDEX SQL statements (experimental) |
+ You have the flexibility to specify whether to execute IMPORT INTO or ADD INDEX SQL statements on some of the existing TiDB nodes or newly added TiDB nodes. This approach enables resource isolation from the rest of the TiDB nodes, preventing any impact on business operations while ensuring optimal performance for executing the preceding SQL statements. |
+