Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

releases: add release notes for v8.4.0 #18556

Open
wants to merge 120 commits into
base: master
Choose a base branch
from
Open
Changes from 11 commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
0b4609b
releases: add release notes for v8.4.0
Oreoxmt Sep 6, 2024
26e35c9
Update release-8.4.0.md
joey-yez Sep 10, 2024
55ec1df
Do not allow cardinality to go below 1
songrijie Sep 11, 2024
d58b260
include the enhancements made for runaway queries
songrijie Sep 11, 2024
431c004
fix the link for tidb_runaway_queries
songrijie Sep 11, 2024
fbf7c60
enable tidb_enable_inl_join_inner_multi_pattern by default
songrijie Sep 11, 2024
cc01d2f
Include CPU usage (TiDB, TiKV) in system tables
songrijie Sep 12, 2024
2c811d4
Provide warnings for restoring data to a non-empty cluster (SQL Based…
songrijie Sep 12, 2024
05f2bc0
DELETE fetches partial columns for cop tasks
songrijie Sep 12, 2024
a44e541
Introduce additional labels to TOP SQL
songrijie Sep 12, 2024
4aa8c1f
Maintain The Priority Queue In Memory V2
songrijie Sep 12, 2024
cd749b6
Update release-8.4.0.md
joey-yez Sep 12, 2024
548b965
Update release-8.4.0.md
joey-yez Sep 12, 2024
b63d7d4
Update release-8.4.0.md
joey-yez Sep 12, 2024
5eaac1b
Update release-8.4.0.md
joey-yez Sep 12, 2024
1e8c541
Introduce limit for background tasks
songrijie Sep 12, 2024
ce2fe91
Merge branch 'v8.4.0/release-notes' of https://github.com/Oreoxmt/doc…
songrijie Sep 12, 2024
1ef6b8e
instance plan cache as experimental
songrijie Sep 12, 2024
196961e
Update release-8.4.0.md
joey-yez Sep 13, 2024
c374570
include workload repository in TiDB
songrijie Sep 13, 2024
47b926c
update the variables for instance plan cache
songrijie Sep 13, 2024
a9a1816
Enabling prepared statements for lightning (logical mode)
songrijie Sep 13, 2024
160b581
fix issue#
songrijie Sep 13, 2024
b14ee65
Optimized strategy of resource control
songrijie Sep 13, 2024
bfdfa4d
Adaptive parallelism for stats collection in single TiDB instance
songrijie Sep 13, 2024
83eee7e
br restore needs to honor split-table=false/split-region-on-table=f…
songrijie Sep 13, 2024
007abe2
move the enhancement of BR to the correct position
songrijie Sep 13, 2024
cf97283
larger region size for the compatibility to larger clusters.
songrijie Sep 13, 2024
761491a
Allow evicting leader scheduling when lightning importing
songrijie Sep 13, 2024
25a66b1
Apply suggestions from code review
Oreoxmt Sep 14, 2024
0b1b51a
Apply suggestions from code review
Oreoxmt Sep 14, 2024
25cf2bd
Apply suggestions from code review
Oreoxmt Sep 14, 2024
3ed6231
fix format
Oreoxmt Sep 14, 2024
170637d
draft highlights
songrijie Sep 14, 2024
ef6fcf3
Merge branch 'v8.4.0/release-notes' of https://github.com/Oreoxmt/doc…
songrijie Sep 14, 2024
5311f14
add release notes for BR eliminate unnecessary write privileges to ex…
Oreoxmt Sep 14, 2024
549c901
add comments for highlights
Oreoxmt Sep 14, 2024
b1fd95a
Update release-8.4.0.md
joey-yez Sep 14, 2024
b18d6c4
Update release-8.4.0.md
joey-yez Sep 14, 2024
4ff7024
rephrase highlights.
songrijie Sep 15, 2024
776b306
add Global Index GA, cached table optimization, GB18030, client-side …
Oreoxmt Sep 18, 2024
37de400
update client-side log backup, BR reduces requires storage permission…
Oreoxmt Sep 18, 2024
d16176b
Apply suggestions from code review
Oreoxmt Sep 18, 2024
6546c87
Apply suggestions from code review
hfxsd Sep 19, 2024
23afa5b
Update releases/release-8.4.0.md
hfxsd Sep 19, 2024
73a0a7f
Apply suggestions from code review
hfxsd Sep 20, 2024
cbf264f
Apply suggestions from code review
hfxsd Sep 23, 2024
974c262
Apply suggestions from code review
hfxsd Sep 23, 2024
a99c92d
Apply suggestions from code review
hfxsd Sep 23, 2024
ca38a76
update TiProxy traffic replay
Oreoxmt Sep 23, 2024
d3ccb34
update TiKV in-mem pessimistic lock and BR RESTORE SQL statement
Oreoxmt Sep 23, 2024
d4dc9bf
highlights: update TiProxy traffic replay
Oreoxmt Sep 23, 2024
cfb4df3
Update highlight wording
lilin90 Sep 23, 2024
74bf2f6
Update format and wording
lilin90 Sep 23, 2024
404e919
Update format
lilin90 Sep 24, 2024
77add80
Apply suggestions from code review
hfxsd Sep 24, 2024
5d2b706
update TiCDC and removal of TiDB Binlog
Oreoxmt Sep 24, 2024
7d4cfd9
Apply suggestions from code review
Oreoxmt Sep 24, 2024
9dc02e3
Update wording and format
lilin90 Sep 24, 2024
27af2f5
fix tidb_enable_inl_join_inner_multi_pattern
Oreoxmt Sep 24, 2024
306f1e2
Update wording
lilin90 Sep 24, 2024
c279c34
Update and correct descriptions
lilin90 Sep 24, 2024
ec7c716
Remove inapplicable content and update wording
lilin90 Sep 25, 2024
b589c11
Update releases/release-8.4.0.md
CbcWestwolf Sep 25, 2024
fbfb4ee
Update wording
lilin90 Sep 25, 2024
c87974e
Apply suggestions from code review
lilin90 Sep 25, 2024
ff3e83d
Remove inapplicable content
lilin90 Sep 25, 2024
1d9629c
Apply suggestions from code review
lilin90 Sep 25, 2024
25b9e35
Update a link
lilin90 Sep 25, 2024
f98fd20
Apply suggestions from code review
lilin90 Sep 25, 2024
d55588f
Update format
lilin90 Sep 25, 2024
f34b285
Apply suggestions from code review
qiancai Sep 25, 2024
3fca887
Improve description
lilin90 Sep 25, 2024
5a2afb9
Update releases/release-8.4.0.md
joey-yez Sep 25, 2024
72febaf
Update releases/release-8.4.0.md
joey-yez Sep 25, 2024
d954bf9
Update releases/release-8.4.0.md
joey-yez Sep 25, 2024
8dfac1d
Update releases/release-8.4.0.md
joey-yez Sep 25, 2024
b31b74e
update BR reduces storage permission for restores, TiCDC Claim-Check,…
Oreoxmt Sep 25, 2024
37a5d04
add link for highlights
Oreoxmt Sep 25, 2024
e104b0f
Update releases/release-8.4.0.md
qiancai Sep 25, 2024
b7a4bba
Apply suggestions from code review
hfxsd Sep 25, 2024
b26669e
fix HTML table
Oreoxmt Sep 25, 2024
6fe5c34
Update capitalization
lilin90 Sep 25, 2024
e0db0fa
compatibility changes: add tidb_schema_cache_size
Oreoxmt Sep 26, 2024
c5341bd
fix website build
Oreoxmt Sep 26, 2024
63cb46c
Apply suggestions from code review
qiancai Sep 26, 2024
586b80c
Update TiDB Binlog removal
lilin90 Sep 26, 2024
655397d
Apply suggestions from code review
lilin90 Sep 26, 2024
87d6a2e
add GitHub issue link for automatic statistics collection
Oreoxmt Sep 26, 2024
1307f1e
Remove foreign key GA
lilin90 Sep 26, 2024
b63daae
Apply suggestions from code review
hfxsd Sep 26, 2024
f505c95
Apply suggestions from code review
qiancai Sep 26, 2024
c767fda
Apply suggestions from code review
qiancai Sep 26, 2024
5d42520
Update releases/release-8.4.0.md
lilin90 Sep 27, 2024
886dbc3
bug fixes and improvements: fix indention and add dup notes
Oreoxmt Sep 27, 2024
91e57fa
Apply suggestions from code review
lilin90 Sep 27, 2024
c9b6896
Update releases/release-8.4.0.md
qiancai Sep 27, 2024
6952c8c
include the enhancement of top sql in highlights
songrijie Sep 27, 2024
d5b94cb
Apply suggestions from code review
lilin90 Sep 27, 2024
cccda2f
Update a link
lilin90 Sep 27, 2024
07fd3f0
Update rowspan to fix format
lilin90 Sep 27, 2024
9b840ff
Merge branch 'v8.4.0/release-notes' of https://github.com/Oreoxmt/doc…
lilin90 Sep 27, 2024
721e5fe
Apply suggestions from code review
lilin90 Sep 27, 2024
896fb9d
add a contributor for vector search
Oreoxmt Sep 29, 2024
c2af72a
improvements: add TiDB and TiFlash
Oreoxmt Sep 29, 2024
ee493df
bug fix: add TiDB
Oreoxmt Sep 29, 2024
221df31
bug fix: add TiFlash
Oreoxmt Sep 29, 2024
830ed70
bug fix: add TiDB
Oreoxmt Sep 29, 2024
70e8afc
bug fix: add TiDB and BR; improvement: add TiKV
Oreoxmt Sep 29, 2024
c476b2e
improvement: add TiKV
Oreoxmt Sep 29, 2024
c5616c5
improvement & bug fix: add TiDB, DM, and TiDB Lightning
Oreoxmt Sep 29, 2024
2dfc976
add DDL Owner during TiDB upgrade
Oreoxmt Sep 29, 2024
1b139e7
Apply suggestions from code review
Oreoxmt Sep 29, 2024
6ac806c
Apply suggestions from code review
Oreoxmt Sep 29, 2024
142e6c8
update tidb_enable_inl_join_inner_multi_pattern
Oreoxmt Sep 29, 2024
0f87fff
Apply suggestions from code review
qiancai Sep 29, 2024
1ee04d7
Update releases/release-8.4.0.md
qiancai Sep 29, 2024
46c7b2b
add storage.format_version
Oreoxmt Sep 30, 2024
ddd15dc
Apply suggestions from code review
Oreoxmt Sep 30, 2024
605166b
Apply suggestions from code review
qiancai Sep 30, 2024
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
257 changes: 257 additions & 0 deletions releases/release-8.4.0.md
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
@@ -0,0 +1,257 @@
---
title: TiDB 8.4.0 Release Notes
summary: 了解 TiDB 8.4.0 版本的新功能、兼容性变更、改进提升,以及错误修复。
---

# TiDB 8.4.0 Release Notes

发版日期:2024 年 xx 月 xx 日

TiDB 版本:8.4.0

试用链接:[快速体验](https://docs.pingcap.com/zh/tidb/v8.4/quick-start-with-tidb) | [下载离线包](https://cn.pingcap.com/product-community/?version=v8.4.0-DMR#version-list)

在 8.4.0 版本中,你可以获得以下关键特性:

## 功能详情

### 可扩展性

* 功能标题 [#issue号](链接) @[贡献者 GitHub ID](链接) **tw@xxx** <!--1234-->

功能描述(需要包含这个功能是什么、在什么场景下对用户有什么价值、怎么用)

更多信息,请参考[用户文档](链接)。

### 性能

* 功能标题 [#issue号](链接) @[贡献者 GitHub ID](链接) **tw@xxx** <!--1234-->

功能描述(需要包含这个功能是什么、在什么场景下对用户有什么价值、怎么用)

更多信息,请参考[用户文档](链接)。

* 增加获取 TSO 的 RPC 模式,降低获取 TSO 的延迟 [#54960](https://github.com/pingcap/tidb/issues/54960) @[MyonKeminta](https://github.com/MyonKeminta) **tw@qiancai** <!--1893-->

TiDB 在向 PD 请求 TSO 时,会将一段时间内的请求汇总起来并以同步的方式进行批处理,以减少 RPC (Remote Procedure Call) 请求数量从而降低 PD 负载。对于延迟敏感的场景,这种模式的性能并不理想。在 v8.4.0 中,TiDB 新增 TSO 请求的异步批处理模式,并提供不同的并发能力。异步模式可以降低获取 TSO 的延迟,但可能会增加 PD 的负载。你可以通过 [tidb_tso_client_rpc_mode](/system-variables.md#tidb_tso_client_rpc_mode-从-v840-版本开始引入) 变量设定获取 TSO 的 RPC 模式。

更多信息,请参考[用户文档](/system-variables.md#tidb_tso_client_rpc_mode-从-v840-版本开始引入)。

* 支持下推以下字符串函数到 TiKV [#](https://github.com/pingcap/tidb/issues/) @[gengliqi](https://github.com/gengliqi) **tw@qiancai** <!--1716-->

* `DATE_ADD()`
* `DATE_SUB()`

qiancai marked this conversation as resolved.
Show resolved Hide resolved
更多信息,请参考[用户文档](/functions-and-operators/expressions-pushed-down.md)。

Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
### 稳定性

* 功能标题 [#issue号](链接) @[贡献者 GitHub ID](链接) **tw@xxx** <!--1234-->

功能描述(需要包含这个功能是什么、在什么场景下对用户有什么价值、怎么用)

Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
更多信息,请参考[用户文档](链接)。

* 超出预期的查询 (Runaway Queries) 新增 "处理行数" 和 RU 作为阈值 [#issue号](链接) @[HuSharp](https://github.com/HuSharp) **tw@lilin90** <!--1800-->

TiDB 在 v8.4.0 可以依据 "处理行数 (`PROCESSED_KEYS`)" 和 "Request Unit (`RU`)" 定义超出预期的查询。和"执行时间(`EXEC_ELAPSED`)"相比,新增阈值能够更准确的定义查询的资源消耗,避免整体性能下降时发生识别偏差。

支持同时设置多个条件,满足任意条件即识别为 `Runaway Queries`。

用户可以观测 [`Statement Summary Tables`](/statement-summary-tables.md) 中的几个对应字段 (`RESOURCE_GROUP`、`MAX_REQUEST_UNIT_WRITE`、`MAX_REQUEST_UNIT_READ`、`MAX_PROCESSED_KEYS`),根据历史执行情况决定条件值的大小。

更多信息,请参考[用户文档](/tidb-resource-control.md#管理资源消耗超出预期的查询-runaway-queries)。

* 超出预期的查询 (Runaway Queries) 支持切换资源组 [#issue号](链接) @[JmPotato](https://github.com/JmPotato) **tw@hfxsd** <!--1832-->

v8.4.0 新增支持将 `Runaway Queries` 切换到指定资源组。在降低优先级 (COOLDOWN) 仍旧无法有效降低资源消耗的情况下,用户可以创建一个资源组 [`RESOURCE GROUP`](/tidb-resource-control.md#管理资源组),并指定将识别到的查询切换到该资源组中,会话的后续查询仍旧会遵循原资源组。切换资源组的行为能够更精确地限制资源使用,对 `Runaway Queries` 的资源消耗做更加严格的控制。

更多信息,请参考[用户文档](/tidb-resource-control.md#管理资源消耗超出预期的查询-runaway-queries)。
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
### 高可用

* 功能标题 [#issue号](链接) @[贡献者 GitHub ID](链接) **tw@xxx** <!--1234-->

功能描述(需要包含这个功能是什么、在什么场景下对用户有什么价值、怎么用)

更多信息,请参考[用户文档](链接)。

### SQL 功能

* 功能标题 [#issue号](链接) @[贡献者 GitHub ID](链接) **tw@xxx** <!--1234-->

功能描述(需要包含这个功能是什么、在什么场景下对用户有什么价值、怎么用)

更多信息,请参考[用户文档](链接)。

* 支持向量搜索功能(实验特性) [#issue号](链接) @[贡献者 GitHub ID](链接) **tw@qiancai** <!--1898-->

向量搜索是一种优先考虑数据语义以提供相关结果的搜索方法,是 AI 和语言大模型的重要基础功能之一。通过向量索引,加速向量搜索的性能,数据库能够针对不同的距离函数快速查询相似向量,从而支撑 检索增强生成 (Retrieval-Augmented Generation, RAG)、语义搜索、推荐引擎等多种场景。
TiDB 从 v8.4 版本开始,支持向量数据类型和向量索引,提供强大的向量搜索能力。TiDB 的向量数据类型支持最大 16383 维度,支持的距离函数包括:L2 距离(欧式距离)、余弦距离、负内积、L1 距离(曼哈顿距离)。
使用时,创建包含向量类型的表并写入数据后,就可以进行向量搜索查询,或向量和传统关系数据的混合查询。
TiDB 的向量索引依赖于 TiFlash。因此,使用向量索引前,需要先为你的 TiDB 集群增加 TiFlash 节点。

Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
更多信息,请参考[用户文档](/vector-search-overview.md)。

Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
### 数据库管理

* 功能标题 [#issue号](链接) @[贡献者 GitHub ID](链接) **tw@xxx** <!--1234-->

功能描述(需要包含这个功能是什么、在什么场景下对用户有什么价值、怎么用)

更多信息,请参考[用户文档](链接)。

### 可观测性

* 功能标题 [#issue号](链接) @[贡献者 GitHub ID](链接) **tw@xxx** <!--1234-->

功能描述(需要包含这个功能是什么、在什么场景下对用户有什么价值、怎么用)

更多信息,请参考[用户文档](链接)。

* 在系统表中显示 TiDB 和 TiKV 的 CPU 时间 [#55542](https://github.com/pingcap/tidb/issues/55542) @[yibin87](https://github.com/yibin87) **tw@hfxsd** <!--1877-->
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

[TiDB Dashboard](/dashboard/dashboard-intro.md) 的 [TOP SQL 页面](/dashboard/top-sql.md)能够展示 CPU 消耗高的 SQL 语句。v8.4.0 开始,TiDB 将 CPU 时间消耗信息加入系统表展示,与会话或 SQL 的其他指标并列,方便客户从多角度对高 CPU 消耗的操作进行观测。在实例 CPU 飙升 或集群读写热点的场景下,这些信息能够协助客户快速发现问题的原因。

- [`STATEMENTS_SUMMARY`](/statement-summary-tables.md) 增加 `AVG_TIDB_CPU_TIME` 和 `AVG_TIKV_CPU_TIME`,显示单个 SQL 语句在历史上消耗的平均 CPU 时间。
- [`INFORMATION_SCHEMA.PROCESSLIST`](/information-schema/information-schema-processlist.md) 增加 `TIDB_CPU` 和 `TIKV_CPU`,显示会话当前正在执行 SQL 的累计 CPU 消耗。
- [慢日志](/analyze-slow-queries.md)中增加字段 `Tidb_cpu_time` 和 `Tikv_cpu_time`,显示被捕捉到的 SQL 语句的 CPU 时间。

其中,TiKV 的 CPU 时间默认显示;采集 TiDB 的 CPU 时间会引入额外开销(大概在8%),因此仅在开启 [Top SQL 特性](/dashboard/top-sql.md)时,TiDB 的 CPU 时间才会显示为实际值,否则始终显示为 `0`。
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

* TOP SQL 可按 `Schema` 或 `Table` 维度聚合 [#issue号](链接) @[nolouch](https://github.com/nolouch) **tw@lilin90** <!--1878-->

当前的 [TOP SQL](/dashboard/top-sql.md) 以 SQL 为单位来聚合 CPU 时间。如果 CPU 时间不是由少数几个 SQL 贡献,按 SQL 聚合并不能有效发现问题。从 v8.4.0 开始,用户可以选择按照 `Schema` 或 `Table` 聚合 CPU 时间。在多系统融合的场景下,新的聚合方式能够更有效地识别来自某个特定系统的负载变化,提升问题诊断的效率。

更多信息,请参考[用户文档](/dashboard/top-sql.md)。
lilin90 marked this conversation as resolved.
Show resolved Hide resolved

### 安全

* 功能标题 [#issue号](链接) @[贡献者 GitHub ID](链接) **tw@xxx** <!--1234-->

功能描述(需要包含这个功能是什么、在什么场景下对用户有什么价值、怎么用)

更多信息,请参考[用户文档](链接)。

### 数据迁移

Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
* 功能标题 [#issue号](链接) @[贡献者 GitHub ID](链接) **tw@xxx** <!--1234-->

功能描述(需要包含这个功能是什么、在什么场景下对用户有什么价值、怎么用)

更多信息,请参考[用户文档](链接)。

## 兼容性变更

> **注意:**
>
> 以下为从 v8.3.0 升级至当前版本 (v8.4.0) 所需兼容性变更信息。如果从 v8.2.0 或之前版本升级到当前版本,可能也需要考虑和查看中间版本 Release Notes 中提到的兼容性变更信息。

### 行为变更

* 行为变更 1

### 系统变量

| 变量名 | 修改类型(包括新增/修改/删除) | 描述 |
|--------|------------------------------|------|
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
| [`tidb_enable_inl_join_inner_multi_pattern`](/system-variables.md#tidb_enable_inl_join_inner_multi_pattern-从-v700-版本开始引入) | 修改 | 默认值改为 `ON`。当内表上有 `Selection` 或 `Projection` 算子时默认支持 Index Join |
| | | |
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
| | | |
| | | |

Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
### 配置文件参数

| 配置文件 | 配置项 | 修改类型 | 描述 |
| -------- | -------- | -------- | -------- |
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
| | | | |
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
| | | | |
| | | | |
| | | | |
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

### 系统表

## 离线包变更

## 废弃功能
lilin90 marked this conversation as resolved.
Show resolved Hide resolved

* 以下为从 v8.4.0 开始已废弃的功能:

* 废弃功能 1

* 以下为计划将在未来版本中废弃的功能:

* TiDB 在 v8.0.0 引入了系统变量 [`tidb_enable_auto_analyze_priority_queue`](/system-variables.md#tidb_enable_auto_analyze_priority_queue-从-v800-版本开始引入),用于控制是否启用优先队列来优化自动收集统计信息任务的排序。在未来版本中,优先队列将成为自动收集统计信息任务的唯一排序方式,系统变量 [`tidb_enable_auto_analyze_priority_queue`](/system-variables.md#tidb_enable_auto_analyze_priority_queue-从-v800-版本开始引入) 将被废弃。
* TiDB 在 v7.5.0 引入了系统变量 [`tidb_enable_async_merge_global_stats`](/system-variables.md#tidb_enable_async_merge_global_stats-从-v750-版本开始引入),用于设置 TiDB 使用异步方式合并分区统计信息,以避免 OOM 问题。在未来版本中,分区统计信息将统一使用异步方式进行合并,系统变量 [`tidb_enable_async_merge_global_stats`](/system-variables.md#tidb_enable_async_merge_global_stats-从-v750-版本开始引入) 将被废弃。
* 计划在后续版本重新设计[执行计划绑定的自动演进](/sql-plan-management.md#自动演进绑定-baseline-evolution),相关的变量和行为会发生变化。
* TiDB 在 v8.0.0 引入了系统变量 [`tidb_enable_parallel_hashagg_spill`](/system-variables.md#tidb_enable_parallel_hashagg_spill-从-v800-版本开始引入),用于控制 TiDB 是否支持并行 HashAgg 进行落盘。在未来版本中,系统变量 [`tidb_enable_parallel_hashagg_spill`](/system-variables.md#tidb_enable_parallel_hashagg_spill-从-v800-版本开始引入) 将被废弃。
* TiDB Lightning 参数 [`conflict.max-record-rows`](/tidb-lightning/tidb-lightning-configuration.md#tidb-lightning-任务配置) 计划在未来版本中废弃,并在后续版本中删除。该参数将由 [`conflict.threshold`](/tidb-lightning/tidb-lightning-configuration.md#tidb-lightning-任务配置) 替代,即记录的冲突记录数和单个导入任务允许出现的冲突记录数的上限数保持一致。

* 以下为计划将在未来版本中移除的功能:

* 从 v8.0.0 开始,TiDB Lightning 废弃了物理导入模式下的[旧版冲突检测](/tidb-lightning/tidb-lightning-physical-import-mode-usage.md#旧版冲突检测从-v800-开始已被废弃)策略,支持通过 [`conflict.strategy`](/tidb-lightning/tidb-lightning-configuration.md#tidb-lightning-任务配置) 参数统一控制逻辑导入和物理导入模式的冲突检测策略。旧版冲突检测的参数 [`duplicate-resolution`](/tidb-lightning/tidb-lightning-configuration.md) 将在未来版本中被移除。

## 改进提升

+ TiDB
- 优化扫描大量 region 场景下的执行效率 [#issue号](链接) @[贡献者 GitHub ID](链接) **tw@xxx** <!--1902-->
- 优化 MEMDB 实现,降低事务中的写操作延时 [#issue号](链接) @[贡献者 GitHub ID](链接) **tw@xxx** <!--1892-->
- 优化处理大量数据的 DML 性能 [#50215](https://github.com/pingcap/tidb/issues/50215) @[ekexium](https://github.com/ekexium) **tw@qiancai** <!--1860-->
- 优化器估行的最小值为`1`,与其他数据库行为一致 [#47400](https://github.com/pingcap/tidb/issues/47400) @[terry1purcell](https://github.com/terry1purcell) **tw@Oreoxmt** <!--1929-->
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
- 为日志表 [`mysql.tidb_runaway_queries`](/mysql-schema/mysql-schema.md#runaway-queries-相关系统表) 增加写入控制,降低并发大量写入引发的开销 [#issue号](链接) @[HuSharp](https://github.com/HuSharp) <!--1908--> **tw@lilin90**
lilin90 marked this conversation as resolved.
Show resolved Hide resolved
- 当内表上有 `Selection` 或 `Projection` 算子时默认支持 Index Join [#issue号](链接) @[winoros](https://github.com/winoros) **tw@qiancai** <!--1860-->
- 默认不允许使用 SQL 全量恢复数据到非空集群 [#55087](https://github.com/pingcap/tidb/issues/55087) @[BornChanger](https://github.com/BornChanger) **tw@Oreoxmt** <!--1711-->
- 减少部分场景的 DELETE 操作从 TiKV 获取的列信息数量,降低 DELETE 操作的资源开销。[#issue号](链接) [winoros](https://github.com/winoros) **tw@Oreoxmt** <!--1798-->
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
- 优化 Priority Queue 基于 Meta Cache V2 的运行效率 [#49972](https://github.com/pingcap/tidb/issues/49972) [Rustin170506](https://github.com/Rustin170506) <!--1935-->

Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
+ TiKV

+ PD

+ TiFlash

+ Tools

+ Backup & Restore (BR)

+ TiCDC

+ TiDB Data Migration (DM)

+ TiDB Lightning

+ Dumpling

+ TiUP

+ TiDB Binlog

## 错误修复

+ TiDB

+ TiKV

+ PD

+ TiFlash

+ Tools

+ Backup & Restore (BR)

+ TiCDC

+ TiDB Data Migration (DM)

+ TiDB Lightning

+ Dumpling

+ TiUP

+ TiDB Binlog

## 贡献者

感谢来自 TiDB 社区的贡献者们:
Loading