Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions releases/release-5.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ In v5.1, the key new features or improvements are as follows:

> **Note:**
>
> When upgrading from an earlier TiDB version to v5.1, if you want to know the compatibility change notes of all intermediate versions, you can check the [Release Notes](/releases/release-notes.md) for the corresponding version.
> When upgrading from an earlier TiDB version to v5.1, if you want to know the compatibility change notes of all intermediate versions, you can check the [Release Notes](/releases/release-notes.md) for the corresponding version.

### System variables

Expand Down Expand Up @@ -68,11 +68,13 @@ In v5.1, the key new features or improvements are as follows:

### SQL

- Support the Common Table Expression (CTE) feature of MySQL 8.0, which empowers TiDB with the capability of querying hierarchical data recursively or non-recursively.
- Support the Common Table Expression (CTE) feature of MySQL 8.0, which empowers TiDB with the capability of querying hierarchical data recursively or non-recursively.

This feature meets the needs of using tree queries to implement application logics in multiple sectors such as human resources, manufacturing, financial markets, and education. [User document](/sql-statements/sql-statement-with.md), [#17472](https://github.com/pingcap/tidb/issues/17472)
This feature meets the needs of using tree queries to implement application logics in multiple sectors such as human resources, manufacturing, financial markets, and education.

- Support the dynamic privilege feature of MySQL 8.0.
In TiDB, you can apply the `WITH` statement to use Common Table Expressions. [User document](/sql-statements/sql-statement-with.md), [#17472](https://github.com/pingcap/tidb/issues/17472)

- Support the dynamic privilege feature of MySQL 8.0.

Dynamic privileges are used to limit the `SUPER` privilege and provide TiDB with more flexible privilege configuration for more fine-grained access control. For example, you can use dynamic privileges to create a user account that can only perform `BACKUP` and `RESTORE` operations.

Expand Down Expand Up @@ -132,13 +134,11 @@ In v5.1, the key new features or improvements are as follows:

+ Stale read of data replicas (Experimental)

Read local replicas data directly to reduce read latency and improve the query performance
[User document](/stale-read.md), [#21094](https://github.com/pingcap/tidb/issues/21094)
Read local replicas data directly to reduce read latency and improve the query performance [User document](/stale-read.md), [#21094](https://github.com/pingcap/tidb/issues/21094)

+ Enable the Hibernate Region feature by default.

If a Region is in an inactive state for a long time, it is automatically set to a silent state, which reduces the system overhead of the heartbeat information between the Leader and the Follower.
[User document](/tikv-configuration-file.md#hibernate-regions),[#10266](https://github.com/tikv/tikv/pull/10266)
If a Region is in an inactive state for a long time, it is automatically set to a silent state, which reduces the system overhead of the heartbeat information between the Leader and the Follower. [User document](/tikv-configuration-file.md#hibernate-regions), [#10266](https://github.com/tikv/tikv/pull/10266)

### Stability

Expand All @@ -148,8 +148,9 @@ In v5.1, the key new features or improvements are as follows:
- If large amounts of data is accumulated during the replication interruption, exceeding 1TB, the re-replication causes OOM problems.
- Large amounts of data writes cause OOM problems in TiCDC.
- Reduce the possibility of TiCDC replication interruption in the following scenarios:

[project#11](https://github.com/pingcap/ticdc/projects/11)

- Replication interruption when the network is unstable
- Replication interruption when some TiKV/PD/TiCDC nodes are down

Expand All @@ -159,8 +160,7 @@ In v5.1, the key new features or improvements are as follows:

+ Add a write rate limiter for TiKV background tasks (TiKV Write Rate Limiter)

To ensure the duration stability of read and write requests, TiKV Write Rate Limiter smoothes the write traffic of TiKV background tasks such as GC and Compaction. The default value of TiKV background task write rate limiter is "0MB". It is recommended to set this value to the optimal I/O bandwidth of the disk, such as the maximum I/O bandwidth specified by the cloud disk manufacturer.
[User document](/tikv-configuration-file.md#storageio-rate-limit), [#9156](https://github.com/tikv/tikv/issues/9156)
To ensure the duration stability of read and write requests, TiKV Write Rate Limiter smoothes the write traffic of TiKV background tasks such as GC and Compaction. The default value of TiKV background task write rate limiter is "0MB". It is recommended to set this value to the optimal I/O bandwidth of the disk, such as the maximum I/O bandwidth specified by the cloud disk manufacturer. [User document](/tikv-configuration-file.md#storageio-rate-limit), [#9156](https://github.com/tikv/tikv/issues/9156)

+ Solve scheduling stability issues when multiple scaling tasks are performed at the same time

Expand Down Expand Up @@ -201,7 +201,7 @@ To learn more about the information and how to disable this behavior, refer to [
- Support `Union All`, `TopN`, and `Limit` functions
- Support the Cartesian product including left outer join and semi anti join in MPP mode
- Optimize lock operations to avoid that running DDL statements and read operations are blocked by each other
- Optimize cleanup of expired data by TiFlash
- Optimize cleanup of expired data by TiFlash
- Support further filtering of query filters on `timestamp` columns at the TiFlash storage level
- Improve the startup and scalability speed of TiFlash when a large number of tables are in a cluster
- Improve TiFlash compatibility when running on unknown CPUs
Expand Down