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

add v8.2.0 release notes #17514

Merged
merged 144 commits into from
Jul 11, 2024
Merged
Changes from 21 commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
4a3e166
Create release-8.2.0.md
qiancai Jun 3, 2024
9f4ff10
Update release-8.2.0.md
qiancai Jun 3, 2024
853d78d
Update release-8.2.0.md
joey-yez Jun 3, 2024
4f01a1e
Update release-8.2.0.md
joey-yez Jun 4, 2024
f53e427
Update release-8.2.0.md
joey-yez Jun 6, 2024
e3af6b9
Change of default value to avoid OOM in stats collection
songrijie Jun 7, 2024
608d6f0
Include the reason why plan cache is not qualified
songrijie Jun 7, 2024
2a59921
Increase the performance of loading stats
songrijie Jun 7, 2024
9859561
Aggregated result set in the inner side of index join
songrijie Jun 7, 2024
4206708
Permission enforcement of switching resource group
songrijie Jun 7, 2024
3b1988c
Apply suggestions from code review
qiancai Jun 11, 2024
8356d0e
adjust format and remove description for 1847
qiancai Jun 11, 2024
56ae988
Update release-8.2.0.md
qiancai Jun 11, 2024
3b2b563
Update releases/release-8.2.0.md
qiancai Jun 11, 2024
687bd96
Update releases/release-8.2.0.md
qiancai Jun 11, 2024
0d9babd
Update releases/release-8.2.0.md
qiancai Jun 11, 2024
29869c7
Update tiproxy note
joey-yez Jun 11, 2024
5462201
Update release-8.2.0.md
joey-yez Jun 11, 2024
741d811
add descriptions for two BR features
qiancai Jun 11, 2024
16f26ed
Update releases/release-8.2.0.md
qiancai Jun 11, 2024
93c7d98
add release notes for new BR command options
qiancai Jun 13, 2024
996238f
Update releases/release-8.2.0.md
qiancai Jun 13, 2024
9659720
Apply suggestions from code review
qiancai Jun 13, 2024
982bf4f
Update releases/release-8.2.0.md
3pointer Jun 17, 2024
6936971
Update releases/release-8.2.0.md
qiancai Jun 17, 2024
e5fe530
Merge remote-tracking branch 'upstream/master' into add-8.2-rn
qiancai Jun 17, 2024
ff0538a
add doc links for #53040
qiancai Jun 17, 2024
e8fa8f9
clean up placeholders
qiancai Jun 17, 2024
3f6b1c3
fix the value option of security.redact_info_log
Oreoxmt Jun 18, 2024
48ac9bd
new features: refine wording
Oreoxmt Jun 17, 2024
0ff02bc
Update releases/release-8.2.0.md
hawkingrei Jun 18, 2024
d884a6a
add deprecation announcement
songrijie Jun 18, 2024
7c97137
Apply suggestions from code review
hfxsd Jun 18, 2024
a98704d
Merge branch 'add-8.2-rn' of https://github.com/qiancai/docs-cn into …
songrijie Jun 18, 2024
9b2284f
draft highlight
songrijie Jun 18, 2024
79c6fc2
deprecating tidb_enable_async_merge_global_stats
songrijie Jun 18, 2024
61e2d6c
Apply suggestions from code review
hfxsd Jun 19, 2024
aea3c2d
Update releases/release-8.2.0.md
hfxsd Jun 19, 2024
8886325
Apply suggestions from code review
Oreoxmt Jun 19, 2024
c02ef49
add tw info for release highlights
qiancai Jun 19, 2024
926cffe
Update releases/release-8.2.0.md
hfxsd Jun 20, 2024
a17a279
Update releases/release-8.2.0.md
qw4990 Jun 20, 2024
fc75ed3
fix the version number
qiancai Jun 20, 2024
8baa307
update a bug fix
Oreoxmt Jun 21, 2024
e20d442
Apply suggestions from code review
Oreoxmt Jun 21, 2024
01552c8
Update releases/release-8.2.0.md
joey-yez Jun 21, 2024
a4dcde2
Update releases/release-8.2.0.md
joey-yez Jun 21, 2024
61e7b0a
Apply suggestions from code review
Oreoxmt Jun 21, 2024
a209a3f
Apply suggestions from code review
Oreoxmt Jun 21, 2024
65a2585
Apply suggestions from code review
qiancai Jun 21, 2024
3b6b72b
add issue number for #53440
qiancai Jun 21, 2024
b58cb2e
Update wording
lilin90 Jun 24, 2024
70026bc
Refine wording
lilin90 Jun 24, 2024
0fd9c9a
Update format
lilin90 Jun 24, 2024
1b22c1e
Update a link
lilin90 Jun 24, 2024
2a0b317
add some compatibility changes
qiancai Jun 24, 2024
76ad605
Update releases/release-8.2.0.md
qiancai Jun 24, 2024
e8f96eb
Add new feature description for TiCDC
lilin90 Jun 24, 2024
35b64d5
Update wording
lilin90 Jun 24, 2024
2226b42
Add a system variable to the table
lilin90 Jun 24, 2024
d7f0c90
Apply suggestions from code review
lilin90 Jun 25, 2024
0221af4
update the section for deprecated features
qiancai Jun 25, 2024
8af8468
Update releases/release-8.2.0.md
qiancai Jun 25, 2024
db2ee46
format udpates
qiancai Jun 25, 2024
6bf4c68
Merge remote-tracking branch 'upstream/master' into add-8.2-rn
qiancai Jun 26, 2024
4dcf4d0
add dup release notes
qiancai Jun 26, 2024
ecab137
Update releases/release-8.2.0.md
zanmato1984 Jun 26, 2024
3249f39
Update releases/release-8.2.0.md
zanmato1984 Jun 26, 2024
c12b80c
Update releases/release-8.2.0.md
zanmato1984 Jun 26, 2024
0c3c6e9
Update releases/release-8.2.0.md
zanmato1984 Jun 26, 2024
a122ab5
Update releases/release-8.2.0.md
zanmato1984 Jun 26, 2024
dab0c59
compatibility changes: add tidb_executor_concurrency and security.red…
Oreoxmt Jun 26, 2024
7c30bf8
Apply suggestions from code review
qiancai Jun 26, 2024
9175b19
Update releases/release-8.2.0.md
qiancai Jun 26, 2024
0d394e7
add bug fixes for sql/infra
qiancai Jun 26, 2024
a81590a
Add one config deprecation
lilin90 Jun 26, 2024
571b6b1
Update link format
lilin90 Jun 26, 2024
227645e
Update wording
lilin90 Jun 26, 2024
0dd18aa
Update wording
lilin90 Jun 26, 2024
d65e69d
add TiKV improvements and bug fixes
qiancai Jun 27, 2024
1569b6a
add sql/planner improvements and bug bixes
qiancai Jun 27, 2024
66d380b
add br improvements and bug fixes
qiancai Jun 27, 2024
5ab1862
Update releases/release-8.2.0.md
qiancai Jun 27, 2024
583c936
add DDL/DM/TiDB Lightning bug fixes
qiancai Jun 27, 2024
0bc9502
add TiCDC bug fixes
qiancai Jun 27, 2024
1dc4eaa
Apply suggestions from code review
Oreoxmt Jun 27, 2024
3b2dd28
add contributor info
qiancai Jun 27, 2024
7776491
minor wording updates
qiancai Jun 27, 2024
3b4fb02
add PD improvements
qiancai Jun 27, 2024
de2ad59
Apply suggestions from code review
qiancai Jun 27, 2024
95ece79
adjust the format and remove some placeholders
qiancai Jun 27, 2024
7caf313
Update releases/release-8.2.0.md
zanmato1984 Jun 27, 2024
c504ecb
add transaction improvements and bug fixes
qiancai Jun 28, 2024
e31fa59
Update releases/release-8.2.0.md
qiancai Jun 28, 2024
6c9876c
adjust improvements and bug fixes
qiancai Jun 28, 2024
e755787
Update releases/release-8.2.0.md
qw4990 Jul 1, 2024
89985ec
remove two unnecessary notes about test cases
qiancai Jul 1, 2024
179a986
Update releases/release-8.2.0.md
qiancai Jul 1, 2024
f0a3b89
move #53246 as the first note under TiDB improvements
qiancai Jul 1, 2024
d4a0cae
update tidb_enable_parallel_hashagg_spill
Oreoxmt Jul 1, 2024
6f6d1fa
update bug fixes > TiDB, DM, and Lightning
Oreoxmt Jul 1, 2024
5745aa3
Update releases/release-8.2.0.md
qiancai Jul 1, 2024
ea5f1be
refine descriptions for BR improvements and bug fixes
qiancai Jul 1, 2024
f9430cb
refine bug fixes for sql/planner
qiancai Jul 1, 2024
e053e2d
Refine wording and format
lilin90 Jul 1, 2024
e226199
Apply suggestions from code review
hfxsd Jul 1, 2024
23fe335
Update releases/release-8.2.0.md
hfxsd Jul 2, 2024
84903fc
Update releases/release-8.2.0.md
hfxsd Jul 2, 2024
1ae5901
Update releases/release-8.2.0.md
hfxsd Jul 2, 2024
2ff5e86
Update releases/release-8.2.0.md
lance6716 Jul 2, 2024
df7f23c
add a parameter change to server.grpc-compression-type
qiancai Jul 2, 2024
fd70780
Apply suggestions from code review
hfxsd Jul 2, 2024
201e054
Refine wording and add a related link
lilin90 Jul 2, 2024
dedf94f
Update releases/release-8.2.0.md
hfxsd Jul 2, 2024
b6ab561
Remove precheck before snapshot generation
lilin90 Jul 2, 2024
99ba075
Apply suggestions from hfxsd's code review
lilin90 Jul 2, 2024
3ec2068
Update format for consistency
lilin90 Jul 2, 2024
4cc036e
Apply suggestions from code review
hfxsd Jul 2, 2024
e4ac4b1
Apply suggestions from code review
lilin90 Jul 2, 2024
9f9e489
Update releases/release-8.2.0.md
qiancai Jul 2, 2024
be8f7ec
move #53305 to MySQL compatibility
qiancai Jul 2, 2024
cee741d
format updates
qiancai Jul 2, 2024
c3bebcb
Update releases/release-8.2.0.md
qiancai Jul 3, 2024
a8d6637
remove tw info from highlights
qiancai Jul 3, 2024
41076cb
fix links
qiancai Jul 3, 2024
1e061fb
update descriptions of max-apply-unpersisted-log-limit
qiancai Jul 3, 2024
6331d58
update descriptions of `token-limit`
qiancai Jul 3, 2024
a59c673
Apply suggestions from code review
Oreoxmt Jul 3, 2024
c5b41f9
Implement comments of system variable changes
qiancai Jul 3, 2024
2d0e193
Apply suggestions from code review
qiancai Jul 3, 2024
3612006
Update wording
lilin90 Jul 3, 2024
122ea4c
Update releases/release-8.2.0.md
hfxsd Jul 3, 2024
4566dae
minor format updates
qiancai Jul 3, 2024
bf2bfbc
Update format
lilin90 Jul 3, 2024
05c15ee
Merge remote-tracking branch 'upstream/master' into add-8.2-rn
qiancai Jul 3, 2024
288e6e0
Update releases/release-8.2.0.md
hfxsd Jul 3, 2024
bcf7c42
Apply suggestions from code review
hfxsd Jul 3, 2024
50a374c
format udpates
qiancai Jul 3, 2024
10ed759
fix a broken link
qiancai Jul 3, 2024
50590ac
Update releases/release-8.2.0.md
hfxsd Jul 3, 2024
ec59fc7
Update releases/release-8.2.0.md
hfxsd Jul 3, 2024
f65b874
Apply suggestions from code review
lilin90 Jul 3, 2024
c9a62df
Update releases/release-8.2.0.md
hfxsd Jul 9, 2024
5135c50
add TOC changes and clean up markers
qiancai Jul 10, 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
313 changes: 313 additions & 0 deletions releases/release-8.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,313 @@
---
title: TiDB 8.2.0 Release Notes
summary: 了解 TiDB 8.2.0 版本的新功能、兼容性变更、改进提升,以及错误修复。
---

# TiDB 8.2.0 Release Notes

发版日期:2024 年 x 月 x 日

TiDB 版本:8.2.0

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

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

## 功能详情

### 可扩展性

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

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

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

### 性能

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

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

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

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

* `JSON_ARRAY_APPEND()`
* `JSON_MERGE_PATCH()`
* `JSON_REPLACE()`

更多信息,请参考[用户文档](/functions-and-operators/expressions-pushed-down.md)。

* TiDB 支持并行排序功能 [#49217](https://github.com/pingcap/tidb/issues/49217) [#50746](https://github.com/pingcap/tidb/issues/50746) @[xzhangxian1008](https://github.com/xzhangxian1008) **tw@Oreoxmt** <!--1665-->

在 v8.2.0 版本之前,TiDB 进行排序计算时只能以非并行的方式进行处理,当需要对大量数据进行排序时,查询性能收到影响。
qiancai marked this conversation as resolved.
Show resolved Hide resolved

在 v8.2.0 版本中,TiDB 支持并行排序功能,所有的排序计算性能都将得到提升。该功能不需要单独开启,TiDB 将根据变量 [`tidb_executor_concurrency`](/system-variables.md#tidb_executor_concurrency-从-v50-版本开始引入) 的设定,确定使用并行方式或非并行方式进行排序。
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

* TiDB 的并发 HashAgg 算法支持数据落盘(GA)[#35637](https://github.com/pingcap/tidb/issues/35637) @[xzhangxian1008](https://github.com/xzhangxian1008) **tw@Oreoxmt** <!--1842-->

在 v8.0.0 中,TiDB 以实验特性发布了并发 HashAgg 算法支持数据落盘功能。

在 v8.2.0 中,TiDB 正式发布该功能。TiDB 在使用并发 HashAgg 算法时,将根据内存使用情况自动触发数据落盘,从而兼顾性能和数据处理量。该功能默认打开,变量 `tidb_enable_concurrent_hashagg_spill` 将被废弃。

qiancai marked this conversation as resolved.
Show resolved Hide resolved
* 提升备份百万表场景的备份稳定性以及性能。解决备份过程中因为各种原因(节点重启/扩容/网络问题)带来的长尾问题。 [#52534](https://github.com/pingcap/tidb/issues/52534) @[3pointer](https://github.com/3pointer) **tw@qiancai** <!--1844-->

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

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

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

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

* 统计信息加载效率提升 10 倍 [#52831](https://github.com/pingcap/tidb/issues/52831) @[hawkingrei](https://github.com/hawkingrei) **tw@hfxsdt** <!--1754-->

SaaS 或 PaaS 类业务应用中可能存在大量的数据表,这会拖慢了初始统计信息加载的速度,也会降低运行时加载的成功率。TiDB 的启动时间,以及执行计划的准确性都相应会受到影响。在 v8.2.0 中,我们从并发模型,内存分配方式等多个角度了优化统计信息的加载过程,降低延迟,提升吞吐,避免由于统计信息加载问题造成的大规模性能回退,进一步提升了数据库的稳定性。

新增支持自适应的并行加载。默认情况下,配置项[`stats-load-concurrency`](/tidb-configuration-file.md#stats-load-concurrency-从-v540-版本开始引入)的值为 `0`,统计信息加载的并行度会根据硬件规格自动选择。

更多信息,请参考[用户文档](/tidb-configuration-file.md#stats-load-concurrency-从-v540-版本开始引入)。
hawkingrei marked this conversation as resolved.
Show resolved Hide resolved

### 高可用

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

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

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

* TiProxy 支持多种负载均衡策略 [#465](https://github.com/pingcap/tiproxy/issues/465) @[djshow832](https://github.com/djshow832) @[xhebox](https://github.com/xhebox) **tw@Oreoxmt** <!--1777-->

TiProxy 是 TiDB 的官方代理组件,位于客户端和 TiDB server 之间,为 TiDB 集群提供负载均衡、连接保持功能。在 v8.2.0 之前,TiProxy 默认使用 v1.0.0 版本,只能基于状态和连接数进行负载均衡。
在 v8.2.0 中,TiProxy 默认使用 v1.1.0 版本,引入了多种负载均衡策略,除了状态和连接数,还可以根据健康度、资源、地理位置等信息,对 TiDB 集群的连接进行动态负载均衡调度,使整个 TiDB 集群更加稳定。

TiProxy 的负载均衡策略可以通过配置项进行配置,具体策略包括:
* `resource`: 资源优先策略,优先级顺序依次为基于状态、健康度、内存、CPU、地理位置、连接数的负载均衡。
* `location`: 地理优先策略,优先级顺序依次为基于状态、地理位置、健康度、内存、CPU、连接数的负载均衡。
* `connection`: 最小连接数策略,优先级顺序依次为基于状态、连接数的负载均衡。

更多信息,请参考[用户文档](/tiproxy/tiproxy-load-balance.md)。

### SQL 功能

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

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

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

qiancai marked this conversation as resolved.
Show resolved Hide resolved
* TiDB 支持 JSON Schema Validation 函数 [#52780](https://github.com/pingcap/tidb/pull/52780) @[dveeden](https://github.com/dveeden) **tw@hfxsd** <!--1840-->

在 v8.2.0 版本之前,用户需要依赖外部工具或自定义验证逻辑进行 JSON 数据验证,增加了开发和维护的复杂度,降低了开发效率。 引入该功能后,允许用户在 TiDB 中直接验证 JSON 数据的有效性,提高数据的完整性和一致性,提升了用户的开发效率。

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

### 数据库管理

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

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

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

qiancai marked this conversation as resolved.
Show resolved Hide resolved
* TiUP 支持部署 PD 微服务 [#5766](https://github.com/tikv/pd/issues/5766) @[rleungx](https://github.com/rleungx) **tw@qiancai** <!--1841-->

通过将 PD 拆分成多个单独的服务,独立部署进行管理,可以更好地控制资源的使用和隔离,减少不同服务相互之间的影响。从 v8.2.0 开始,TiUP 支持将 PD 以微服务的模式进行部署,用户可以将 TSO 微服务和 Scheduling 微服务,单独进行部署,实现资源隔离以及快速迭代的目的。

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

* 为切换资源组的操作增加权限控制 [#issue号](链接) @[glorv](https://github.com/glorv) **tw@lilin90** <!--1740-->
Copy link
Collaborator Author

@qiancai qiancai Jun 17, 2024

Choose a reason for hiding this comment

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

Hi @glorv, please provide the issue number and link for this feature. Thanks.

Copy link
Contributor

Choose a reason for hiding this comment

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

qiancai marked this conversation as resolved.
Show resolved Hide resolved
qiancai marked this conversation as resolved.
Show resolved Hide resolved

TiDB 允许用户利用命令 [`SET RESOURCE GROUP`](/sql-statements/sql-statement-set-resource-group.md) 或 Hint [`RESOURCE_GROUP()`](/optimizer-hints.md#resource_groupresource_group_name) 切换到其他资源组,这可能会造成部分数据库用户对资源组的滥用。TiDB v8.2.0 增加了对资源组切换行为的管控,只有被授予动态权限 `RESOURCE_GROUP_ADMIN` 或者 `RESOURCE_GROUP_USER` 的数据库用户,才能切换到其他资源组,加强对系统资源的保护。
lilin90 marked this conversation as resolved.
Show resolved Hide resolved

为了维持兼容性,从旧版本升级的集群维持原行为不变。通过设置新增变量 [`tidb_resource_control_strict_mode`](/system-variables.md) 为 `ON` ,开启上述的增强权限控制。
lilin90 marked this conversation as resolved.
Show resolved Hide resolved

更多信息,请参考[用户文档](/tidb-resource-control.md#绑定资源组)。

### 可观测性

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

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

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

* 记录执行计划没有被缓存的原因 [#issue号](链接) @[qw4990](https://github.com/qw4990) **tw@hfxsdt** <!--1819-->

在一些场景下,用户希望多数执行计划能够被缓存,以节省执行开销,并降低延迟。目前执行计划缓存对 SQL 有一定限制,部分形态 SQL 的执行计划无法被缓存,但是用户很难识别出无法被缓存的 SQL 以及对应的原因。因此,在新版本中,我们向系统表 [`STATEMENTS_SUMMARY`](/statement-summary-tables.md) 中增加了新的列,解释计划无法被缓存的原因,协助用户做性能调优。
lilin90 marked this conversation as resolved.
Show resolved Hide resolved

更多信息,请参考[用户文档](/statement-summary-tables.md#表的字段介绍)。

### 安全

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

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

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

* 增强 TiFlash 日志脱敏 [#8977](https://github.com/pingcap/tiflash/issues/8977) @[JaySon-Huang](https://github.com/JaySon-Huang) **tw@Oreoxmt** <!--1818-->

在 v8.0.0 版本,TiDB 增强了日志脱敏功能,可以控制是否对日志信息进行脱敏,以实现在不同场景下安全使用 TiDB 日志,提升了使用日志脱敏能力的安全性和灵活性。在 v8.2.0 版本中,TiFlash 进行了类似的日志脱敏功能增强。要使用此功能,需要将 tiflash-server 中 `security.redact_info_log` 配置项的值设为 `MARKER`。
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

更多信息,请参考[用户文档](/tiflash/tiflash-configuration.md#配置文件-tiflashtoml)。

### 数据迁移

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

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

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

## 兼容性变更

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

### 行为变更

* TiDB Lightning,从 v8.2.0 开始当用户设置 strict-format = true,来切分大的 CSV 文件为多个小的 CSV 文件来提升并发和导入性能时,需要显式指定行结束符 terminator 参数的取值为 \r,\n 或 \r\n 。否则可能导致 CSV 文件数据解析异常。
* Import Into SQL 语法,从 v8.2.0 开始,当用户导入 CSV 文件,且指定 split 参数来切分大的 CSV 文件为多个小的 CSV 文件来提升并发和导入性能时,需显式指定行结束符 LINES_TERMINATED_BY 参数的取值为 \r,\n 或 \r\n 。否则可能导致 CSV 文件数据解析异常。

qiancai marked this conversation as resolved.
Show resolved Hide resolved
* 行为变更 2

### MySQL 兼容性

* 兼容性 1

* 兼容性 2

### 系统变量

| 变量名 | 修改类型(包括新增/修改/删除) | 描述 |
|--------|------------------------------|------|
qiancai marked this conversation as resolved.
Show resolved Hide resolved
| [`tidb_enable_historical_stats`](/system-variables.md#tidb_enable_historical_stats) | 修改 | 自 v8.2.0,默认不保存历史统计信息,避免潜在的稳定性问题 **tw@hfxsdt** <!--1759--> |
qiancai marked this conversation as resolved.
Show resolved Hide resolved
| [`tidb_analyze_skip_column_types`](/system-variables.md#tidb_analyze_skip_column_types-从-v720-版本开始引入) | 修改 | 默认设置下,TiDB 不会收集类型为 `mediumtext` 和 `longtext` 的列,避免潜在的 OOM 风险。 |
qiancai marked this conversation as resolved.
Show resolved Hide resolved
| | | |
| | | |

### 系统表

### 其他

qiancai marked this conversation as resolved.
Show resolved Hide resolved
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
## 离线包变更

## 废弃功能

* 废弃功能 1

* 变量 [`tidb_enable_concurrent_hashagg_spill`](/system-variables.md#tidb_enable_concurrent_hashagg_spill-从-v800-版本开始引入) 将被废弃。
* BR 快照恢复参数 [`concurrency`](/use-br-command-line-tool#常用选项) 将被废弃。
* BR 快照恢复参数 [`granularity`](/br-snapshot-guide#快照恢复的性能与影响) 将被废弃。
qiancai marked this conversation as resolved.
Show resolved Hide resolved

qiancai marked this conversation as resolved.
Show resolved Hide resolved
## 改进提升

+ TiDB

- note [#issue](链接) @[贡献者 GitHub ID](链接)
qiancai marked this conversation as resolved.
Show resolved Hide resolved
- note [#issue](链接) @[贡献者 GitHub ID](链接)
- 优化客户端读取数据超时无法终止查询的问题 [#44009](https://github.com/pingcap/tidb/issues/44009) @[wshwsh12](https://github.com/wshwsh12) **tw@Oreoxmt** <!--1636-->
- 优化对大数据量的表进行简单查询的性能 [#53850](https://github.com/pingcap/tidb/issues/53850) @[you06](https://github.com/you06) **tw@Oreoxmt** <!--1561-->
Copy link
Contributor

Choose a reason for hiding this comment

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

这个表达没有问题,但是涵盖的范围可能过大,有的简单查询并不在这个优化的范畴之内

改成 “优化对大数据量的表进行简单查询时定位数据分布的性能” 这样如何?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@joey-yez PTAL

Copy link
Contributor

Choose a reason for hiding this comment

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

LGTM

Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
- 聚合的结果集能够作为 Index Join 的内表 [#37068](https://github.com/pingcap/tidb/issues/37068) @[elsa0520](https://github.com/elsa0520) **tw@hfxsdt** <!--1510-->
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

zanmato1984 marked this conversation as resolved.
Show resolved Hide resolved
qiancai marked this conversation as resolved.
Show resolved Hide resolved
+ TiKV

- note [#issue](链接) @[贡献者 GitHub ID](链接)
qiancai marked this conversation as resolved.
Show resolved Hide resolved
- note [#issue](链接) @[贡献者 GitHub ID](链接)

+ PD

- note [#issue](链接) @[贡献者 GitHub ID](链接)
- note [#issue](链接) @[贡献者 GitHub ID](链接)
qiancai marked this conversation as resolved.
Show resolved Hide resolved

+ TiFlash

- note [#issue](链接) @[贡献者 GitHub ID](链接)
- note [#issue](链接) @[贡献者 GitHub ID](链接)
zanmato1984 marked this conversation as resolved.
Show resolved Hide resolved

+ Tools

+ Backup & Restore (BR)

qiancai marked this conversation as resolved.
Show resolved Hide resolved
- 优化恢复过程中对 Changefeed 的检查,对于安全的 Changefeed(checkpoint 大于备份时间),不再阻止其恢复 [#53131](https://github.com/pingcap/tidb/issues/53131) @[YuJuncen](https://github.com/YuJuncen) **tw@qiancai** <!--1843-->
3pointer marked this conversation as resolved.
Show resolved Hide resolved
- 对 `BACKUP` 和 `RESTORE` SQL 语句添加了若干常用的参数选项 [#53040](https://github.com/pingcap/tidb/issues/53040) @[[RidRisR](https://github.com/RidRisR) **tw@qiancai** <!--1849-->
Copy link
Collaborator

Choose a reason for hiding this comment

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

这里应该有一个跳转链接,直接跳转到最新的参数说明页面。

- note [#issue](链接) @[贡献者 GitHub ID](链接)
qiancai marked this conversation as resolved.
Show resolved Hide resolved
- note [#issue](链接) @[贡献者 GitHub ID](链接)

+ TiCDC

- note [#issue](链接) @[贡献者 GitHub ID](链接)
- note [#issue](链接) @[贡献者 GitHub ID](链接)

+ TiDB Data Migration (DM)

- note [#issue](链接) @[贡献者 GitHub ID](链接)
- note [#issue](链接) @[贡献者 GitHub ID](链接)

+ TiDB Lightning

- note [#issue](链接) @[贡献者 GitHub ID](链接)
- note [#issue](链接) @[贡献者 GitHub ID](链接)

+ TiUP

- note [#issue](链接) @[贡献者 GitHub ID](链接)
- note [#issue](链接) @[贡献者 GitHub ID](链接)

## 错误修复

+ TiDB

- note [#issue](链接) @[贡献者 GitHub ID](链接)
qiancai marked this conversation as resolved.
Show resolved Hide resolved
- note [#issue](链接) @[贡献者 GitHub ID](链接)

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

- note [#issue](链接) @[贡献者 GitHub ID](链接)
qiancai marked this conversation as resolved.
Show resolved Hide resolved
- note [#issue](链接) @[贡献者 GitHub ID](链接)

+ PD

- note [#issue](链接) @[贡献者 GitHub ID](链接)
- note [#issue](链接) @[贡献者 GitHub ID](链接)
qiancai marked this conversation as resolved.
Show resolved Hide resolved

+ TiFlash

- note [#issue](链接) @[贡献者 GitHub ID](链接)
- note [#issue](链接) @[贡献者 GitHub ID](链接)

+ Tools

+ Backup & Restore (BR)

- note [#issue](链接) @[贡献者 GitHub ID](链接)
- note [#issue](链接) @[贡献者 GitHub ID](链接)

+ TiCDC

- note [#issue](链接) @[贡献者 GitHub ID](链接)
qiancai marked this conversation as resolved.
Show resolved Hide resolved
- note [#issue](链接) @[贡献者 GitHub ID](链接)

+ TiDB Data Migration (DM)

- note [#issue](链接) @[贡献者 GitHub ID](链接)
- note [#issue](链接) @[贡献者 GitHub ID](链接)

+ TiDB Lightning

- note [#issue](链接) @[贡献者 GitHub ID](链接)
qiancai marked this conversation as resolved.
Show resolved Hide resolved
- note [#issue](链接) @[贡献者 GitHub ID](链接)

+ TiUP

- note [#issue](链接) @[贡献者 GitHub ID](链接)
- note [#issue](链接) @[贡献者 GitHub ID](链接)

## 贡献者

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

- [贡献者 GitHub ID]()
Loading