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 release notes for v7.3.0 #14565

Merged
merged 119 commits into from
Aug 14, 2023
Merged
Changes from 50 commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
332ba0a
add release note template
ran-huang Jul 18, 2023
df3e2f6
Update release-7.3.0.md
joey-yez Jul 19, 2023
76d6ce2
add a section for deprecation
ran-huang Jul 20, 2023
3e13edf
Label tidb workers to select eligible instances
songrijie Jul 21, 2023
45c57ac
CMD to show the progress of stats collection
songrijie Jul 21, 2023
60d48a6
fix title
songrijie Jul 21, 2023
5a20fa0
new optimizer hints
songrijie Jul 21, 2023
600321d
include issue# and author
songrijie Jul 21, 2023
79865ee
plan replayer with historical stats
songrijie Jul 21, 2023
f5ffc62
Apply suggestions from code review
ran-huang Jul 24, 2023
c2f2f93
Update releases/release-7.3.0.md
ran-huang Jul 24, 2023
99efe5c
Apply suggestions from code review
ran-huang Jul 24, 2023
0b2a708
local runtime filter
songrijie Jul 24, 2023
991d842
local runtime filter
songrijie Jul 24, 2023
be9cee9
Update releases/release-7.3.0.md
ran-huang Jul 25, 2023
f82914c
Apply suggestions from code review
ran-huang Jul 25, 2023
3dcb8c8
cleanup format
ran-huang Jul 25, 2023
f20542c
manual management of runaway queries
songrijie Jul 25, 2023
c0bec62
Merge branch '7.3/release-notes' of https://github.com/ran-huang/docs…
songrijie Jul 25, 2023
2014903
Update releases/release-7.3.0.md
ran-huang Jul 25, 2023
64c6ee3
Refine the design of cursorFetch to avoid OOM
songrijie Jul 25, 2023
6b1514f
Update releases/release-7.3.0.md
ran-huang Jul 25, 2023
8263c26
Update releases/release-7.3.0.md
ran-huang Jul 26, 2023
124c661
Apply suggestions from code review
ran-huang Jul 27, 2023
8b52808
Update releases/release-7.3.0.md
ran-huang Jul 27, 2023
afd67c3
Update releases/release-7.3.0.md
ran-huang Jul 27, 2023
6073876
Update releases/release-7.3.0.md
ran-huang Jul 27, 2023
e1086a5
Update releases/release-7.3.0.md
ran-huang Jul 27, 2023
098b623
Update releases/release-7.3.0.md
ran-huang Jul 27, 2023
4824b05
Apply suggestions from code review
ran-huang Jul 28, 2023
9a133a4
Apply suggestions from code review
ran-huang Jul 28, 2023
de0cc5b
Apply suggestions from code review
ran-huang Jul 28, 2023
51bf545
Update releases/release-7.3.0.md
joey-yez Jul 31, 2023
f6b3fe0
Update releases/release-7.3.0.md
joey-yez Jul 31, 2023
b6ef31d
Update releases/release-7.3.0.md
joey-yez Jul 31, 2023
1c53048
Apply suggestions from code review
ran-huang Jul 31, 2023
db9d748
Update releases/release-7.3.0.md
qiancai Aug 1, 2023
8d04730
Update releases/release-7.3.0.md
qiancai Aug 1, 2023
d8dd502
Update releases/release-7.3.0.md
ran-huang Aug 1, 2023
8605993
Update releases/release-7.3.0.md
joey-yez Aug 1, 2023
156d39f
Update releases/release-7.3.0.md
joey-yez Aug 1, 2023
14a1751
Update releases/release-7.3.0.md
joey-yez Aug 1, 2023
d3107b3
Update releases/release-7.3.0.md
qiancai Aug 1, 2023
7228b62
Update releases/release-7.3.0.md
qiancai Aug 1, 2023
81aa1ac
Update releases/release-7.3.0.md
ran-huang Aug 1, 2023
2bb7747
Apply suggestions from code review
Oreoxmt Aug 2, 2023
ed749a6
Apply suggestions from code review
hfxsd Aug 2, 2023
ae3c955
Apply suggestions from code review
Oreoxmt Aug 2, 2023
0ab316e
Apply suggestions from code review
qiancai Aug 2, 2023
b2455dc
Apply suggestions from code review
ran-huang Aug 2, 2023
0b12b27
add `tikv-importer.parallel-import`
qiancai Aug 2, 2023
b3674ec
add compatibility changes
Oreoxmt Aug 2, 2023
07fd2a9
Apply suggestions from code review
hfxsd Aug 2, 2023
0cb9851
Update releases/release-7.3.0.md
ran-huang Aug 2, 2023
84c94a5
Apply suggestions from code review
Oreoxmt Aug 2, 2023
aab5bd7
Update releases/release-7.3.0.md
ran-huang Aug 2, 2023
8b8c0a8
Update releases/release-7.3.0.md
ran-huang Aug 2, 2023
ec89b02
Apply suggestions from code review
flowbehappy Aug 3, 2023
7c5f96c
Update releases/release-7.3.0.md
ran-huang Aug 3, 2023
6042278
Apply suggestions from code review
ran-huang Aug 3, 2023
6e13dc4
Update releases/release-7.3.0.md
ran-huang Aug 3, 2023
2c5aced
add sink.csv.binary-encoding-method
qiancai Aug 3, 2023
5ddfd88
Update releases/release-7.3.0.md
qiancai Aug 3, 2023
9457267
Apply suggestions from code review
ran-huang Aug 3, 2023
ddf3635
Apply suggestions from code review
ran-huang Aug 3, 2023
9fc9306
Update releases/release-7.3.0.md
ran-huang Aug 3, 2023
027b621
Apply suggestions from code review
ran-huang Aug 3, 2023
37f02a9
Apply suggestions from code review
Oreoxmt Aug 4, 2023
afc9114
fix ci
Oreoxmt Aug 4, 2023
1eb4d87
Apply suggestions from code review
ran-huang Aug 4, 2023
1aa4184
Apply suggestions from code review
ran-huang Aug 4, 2023
1b8bdfb
add assignment
ran-huang Aug 4, 2023
7b103f7
Apply suggestions from code review
qiancai Aug 4, 2023
a429fd9
improvements and bug fixes: update TiDB and TiKV part
Oreoxmt Aug 7, 2023
8aacc52
add highlight
ran-huang Aug 7, 2023
b6ec63c
Merge branch '7.3/release-notes' of https://github.com/ran-huang/docs…
ran-huang Aug 7, 2023
97036aa
add region-bucket-size
Oreoxmt Aug 7, 2023
ac95dde
cdc+lighting improvement+bugfixes
ran-huang Aug 7, 2023
c8677f0
Merge branch '7.3/release-notes' of https://github.com/ran-huang/docs…
ran-huang Aug 7, 2023
04ed45b
Update releases/release-7.3.0.md
hfxsd Aug 7, 2023
345b920
support IS_FREE_LOCK
Oreoxmt Aug 7, 2023
769d9b4
add contributors
ran-huang Aug 7, 2023
03c760a
Update releases/release-7.3.0.md
hfxsd Aug 8, 2023
2912c49
Update releases/release-7.3.0.md
Defined2014 Aug 8, 2023
f2ec135
Apply suggestions from code review
Oreoxmt Aug 8, 2023
6663968
Update releases/release-7.3.0.md
hfxsd Aug 8, 2023
8527db2
Update releases/release-7.3.0.md
qiancai Aug 8, 2023
4f24a19
Apply suggestions from code review
ran-huang Aug 8, 2023
5fdab74
add `tidb_skip_missing_partition_stats`
qiancai Aug 8, 2023
34caf92
Apply suggestions from code review
qiancai Aug 8, 2023
7dd3c31
Apply suggestions from code review
ran-huang Aug 8, 2023
a103f63
Update releases/release-7.3.0.md
ran-huang Aug 8, 2023
5686637
fix build failure
ran-huang Aug 8, 2023
afc572f
Apply suggestions from code review
ran-huang Aug 8, 2023
410838f
Apply suggestions from code review
Oreoxmt Aug 8, 2023
1418aca
Update releases/release-7.3.0.md
hfxsd Aug 9, 2023
58153ad
Update releases/release-7.3.0.md
hfxsd Aug 9, 2023
36f1acd
Apply suggestions from code review
ran-huang Aug 9, 2023
42705dd
Apply suggestions from code review
hfxsd Aug 9, 2023
640b120
Apply suggestions from code review
ran-huang Aug 9, 2023
919f3df
add dup notes
ran-huang Aug 9, 2023
4c06368
clean up comments
ran-huang Aug 9, 2023
ac1fa29
Merge remote-tracking branch 'upstream/master' into 7.3/release-notes
ran-huang Aug 9, 2023
cd5f93e
fix dead links
ran-huang Aug 9, 2023
5444e44
add toc and other files
ran-huang Aug 9, 2023
f4d6d67
fix anchors
ran-huang Aug 9, 2023
dfbebfd
Apply suggestions from code review
ran-huang Aug 9, 2023
8f9f171
adjust order of sysvar and configs
ran-huang Aug 9, 2023
75683e1
update format
ran-huang Aug 9, 2023
889d76c
Update releases/release-7.3.0.md
ran-huang Aug 9, 2023
e786f5c
Update releases/release-7.3.0.md
ran-huang Aug 9, 2023
76e437b
Update releases/release-7.3.0.md
ran-huang Aug 10, 2023
c5d7867
Update releases/release-7.3.0.md
Rustin170506 Aug 10, 2023
b62c10a
Update releases/release-7.3.0.md
Rustin170506 Aug 10, 2023
106b7cd
Apply suggestions from code review
ran-huang Aug 10, 2023
7ce4bf2
Update releases/release-7.3.0.md
ran-huang Aug 11, 2023
8c123e8
Update releases/release-7.3.0.md
ran-huang Aug 11, 2023
b27a7a2
Merge remote-tracking branch 'upstream/master' into 7.3/release-notes
ran-huang Aug 14, 2023
c2cf219
Apply suggestions from code review
ran-huang Aug 14, 2023
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
269 changes: 269 additions & 0 deletions releases/release-7.3.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,269 @@
---
title: TiDB 7.3.0 Release Notes
summary: 了解 TiDB 7.3.0 版本的新功能、兼容性变更、改进提升,以及错误修复。
---

# TiDB 7.3.0 Release Notes

发版日期:2023 年 x 月 x 日

TiDB 版本:7.3.0

试用链接:[快速体验](https://docs.pingcap.com/zh/tidb/v7.3/quick-start-with-tidb) | [下载离线包](https://cn.pingcap.com/product-community/)

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

<!-- to be added -->


## 功能详情

### 可扩展性

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
### 性能

* TiFlash 支持副本选择策略 [#44106](https://github.com/pingcap/tidb/issues/44106) @[XuHuaiyu](https://github.com/XuHuaiyu) **tw@qiancai** <!--1394-->

在 v7.3.0 之前,当 TiFlash 进行数据扫描和 MPP 计算时,会尽可能使用其所有节点的副本,以提供最强大的性能。从 v7.3.0 起,TiFlash 引入副本选择策略,该策略由系统变量 [`tiflash_replica_read`](/system-variables.md#tiflash_replica_read-从-v730-版本开始引入) 控制,可以根据节点的[区域属性](/schedule-replicas-by-topology-labels.md#设置-tidb-的-labels可选)选择特定的副本,调度部分节点进行数据扫描及 MPP 计算。

当集群部署在多个机房且每个机房都拥有完整的 TiFlash 数据副本时,你可以设置该策略只选择使用当前机房的 TiFlash 副本,即只在当前机房的 TiFlash 节点中进行数据扫描和 MPP 计算,从而避免大量跨机房的网络数据传输。

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

* TiFlash 支持节点内的 Runtime Filter [#40220](https://github.com/pingcap/tidb/issues/40220) @[elsa0520](https://github.com/elsa0520) **tw@ran-huang** <!--1130-->
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

Runtime Filter 是在查询规划阶段生成的一种**动态取值谓词**。在表连接的过程中,这些动态谓词能够有效过滤掉不满足连接条件的行,减少扫描时间和网络开销,提升表连接的效率。自 v7.3.0 起,TiFlash 支持节点内的 Runtime Filter,提升了数据分析类查询的整体性能,在部分 TPC-DS 数据集的查询中可达到 10% ~ 50% 的性能提升。

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
该功能在 v7.3.0 默认关闭。要启用此功能,需将变量 [`tidb_runtime_filter_mode`](#tidb_runtime_filter_mode-从-v720-版本开始引入) 设置为 `LOCAL`。

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
更多信息,请参考[用户文档](/runtime-filter.md)。

* TiFlash 支持执行公共表表达式 (CTE)(实验特性)[#43333](https://github.com/pingcap/tidb/issues/43333) @[winoros](https://github.com/winoros) **tw@ran-huang** <!--1244-->

在 v7.3.0 版本之前,TiFlash 的 MPP 引擎默认无法执行包含 CTE 的查询,你需要通过系统变量 [`tidb_opt_force_inline_cte`](/system-variables.md#tidb_opt_force_inline_cte-从-v630-版本开始引入) 将 CTE inline 展开,达到让查询尽可能在 MPP 框架下执行的效果。在 v7.3.0 中,TiFlash MPP 引擎支持执行包含 CTE 的查询,无需将 CTE inline 展开也可以尽可能地在 MPP 框架中执行查询。在 TPC-DS 基准测试中,与 inline 的执行方式相比,该功能可以将包含 CTE 的查询的总执行速度提升 20%。
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

该功能为实验特性,默认关闭,由变量 [`tidb_opt_enable_mpp_shared_cte_execution`](/system-variables.md#tidb_opt_enable_mpp_shared_cte_execution-从-v720-版本开始引入) 控制。

### 稳定性

* 新增部分优化器提示 [#45520](https://github.com/pingcap/tidb/issues/45520) @[qw4990](https://github.com/qw4990) **tw@ran-huang** <!--1457-->

TiDB 在 v7.3.0 新增了几个优化器提示,用来控制表之间的连接方式,包括:

- [`INDEX_JOIN()`](链接) 选择 Index Nested Loop Join,利用索引过滤并将结果集作为内表连接。
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
- [`NO_HASH_JOIN()`](/optimizer-hints.md#no_hash_joint1_name--tl_name-) 选择哈希连接以外的连接方式。
- [`NO_INDEX_HASH_JOIN()`](/optimizer-hints.md#no_index_hash_joint1_name--tl_name-) 选择除 [Index Nested Loop Hash Join](/optimizer-hints.md#inl_hash_join) 以外的连接方式。

更多信息,请参考[用户文档](/optimizer-hints.md)。
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

* 手动标记资源使用超出预期的查询 (实验特性) [#43691](https://github.com/pingcap/tidb/issues/43691) @[Connor1996](https://github.com/Connor1996) @[CabinfeverB](https://github.com/CabinfeverB) **tw@hfxsd** <!--1446-->

在 v7.2.0 中,TiDB 对资源使用超出预期的查询 (Runaway Queries) 实施自动管理,运行时间超过预期的查询能够被自动降级或取消。在实际运行时,只依靠规则无法筛覆盖所有情况。因此,在 v7.3.0 中,补充了手动标记查询的能力。利用新增的命令 [`QUERY WATCH`](/sql-statements/sql-statement-query-watch.md),你可以根据 SQL 的文本、SQL Digest、或者执行计划对查询进行标记,命中的查询可以被降级或取消。

手动标记 Runaway Queries 的能力,为数据库中突发的性能问题提供了有效的干预手段。针对由查询引发的性能问题,在找到问题根本原因之前,能够快速缓解其对整体性能的影响,提升系统服务质量。
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

更多信息,请参考[用户文档](/tidb-resource-control.md#query-watch-语句说明)。

### 高可用

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
### SQL 功能

* List 和 List COLUMNS 分区表支持默认分区 [#20679](https://github.com/pingcap/tidb/issues/20679) @[mjonss](https://github.com/mjonss) @[bb7133](https://github.com/bb7133) **tw@qiancai** <!--1342-->

在 v7.3.0 以前,当使用 `INSERT` 语句向 List 或 List COLUMNS 分区表插入数据时,这些数据需要满足分区表指定的分区条件。如果要插入的数据不匹配任何分区条件,该语句将执行失败或忽略不符合分区条件的数据。

在 v7.3.0 中,List 和 List COLUMNS 分区表支持默认分区功能。在创建默认分区后,如果要插入的数据不匹配任何分区条件,则数据将被写入默认分区。默认分区功能可以提升 List 分区和 List COLUMNS 分区的使用便捷性,避免不符合分区条件的数据导致 `INSERT` 语句执行失败或者数据被忽略。

joey-yez marked this conversation as resolved.
Show resolved Hide resolved
需要注意的是,该功能是 TiDB 对 MySQL 语法的扩展。创建默认分区后,该分区表的数据无法直接同步到 MySQL 中。

更多信息,请参考[用户文档](/partitioned-table.md#list-分区)。

### 数据库管理

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
### 可观测性

* 显示统计信息收集的进度 [#44033](https://github.com/pingcap/tidb/issues/44033) @[hawkingrei](https://github.com/hawkingrei) **tw@Oreoxmt** <!--1380-->

收集大表的统计信息经常会持续较长时间。在之前的版本中,无法了解统计信息收集的进度,进而无法预测完成时间。TiDB v7.3.0 新增显示统计信息收集进度的功能。你可以通过系统表 `mysql.analyze_jobs` 或者 `SHOW ANALYZE STATUS` 查看各个子任务的总体工作量、当前进度以及预计的完成时间。在大规模数据导入、SQL 性能优化等场景下,该功能有助于了解整体任务进度,提升用户体验。

更多信息,请参考[用户文档](/sql-statements/sql-statement-show-analyze-status.md)。

* Plan Replayer 支持导出历史统计信息 [#45038](https://github.com/pingcap/tidb/issues/45038) @[time-and-fate](https://github.com/time-and-fate) **tw@ran-huang** <!--1445-->

自 v7.3.0 起,通过新增的 [`dump with stats as of timestamp`](/sql-plan-replayer.md) 子句,Plan Replayer 能够导出指定 SQL 相关对象在指定时间点的统计信息。在执行计划问题的诊断过程中,通过对历史统计信息的准确抓取,能够更精确地分析出执行计划在问题发生的时间点是如何生成的,从而找到问题的根本原因,大大提升执行计划问题的诊断效率。

更多信息,请参考[用户文档](/sql-plan-replayer.md)。

### 安全

### 数据迁移

* TiDB Lightning 引入新版冲突数据检测与处理的能力 [#41629](https://github.com/pingcap/tidb/issues/41629) @[lance6716](https://github.com/lance6716) **tw@hfxsd** <!--1296-->

在之前的版本中,TiDB Lightning 逻辑导入模式和物理导入模式都有各自的冲突检测和处理的方式,配置较为复杂且不易理解。另外使用物理导入模式,冲突的数据无法通过替换 (`replace`) 或忽略 (`ignore`) 策略来处理。新版的冲突检测和处理方式,逻辑导入模式和物理导入模式都使用同一套冲突检测和处理方式,即遇到冲突数据报错 (`error`)、替换 (`replace`) 或忽略 (`ignore`) 冲突数据。同时还支持设置冲突记录的上限,如处理多少冲突记录后任务中断退出,你也可以让程序记录哪些数据发生了冲突,方便排查。

如果导入数据有较多的冲突数据,推荐使用新版的冲突检测和处理策略,以获得更好的性能。注意新版和旧版冲突策略互斥,不能同时使用。未来将废弃旧版冲突检测和处理策略。
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

更多信息,请参考[用户文档](/tidb-lightning/tidb-lightning-physical-import-mode-usage.md#冲突数据检测)。

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
* TiDB Lightning 引入新的参数 `enable-diagnose-log` 用于打印更多的诊断日志,方便定位问题 [#45497](https://github.com/pingcap/tidb/issues/45497) @[D3Hunter](https://github.com/D3Hunter) **tw@hfxsd** <!--1517-->

默认情况下,此功能未启用,只会打印包含 `lightning/main` 的日志。当启用时,将打印所有包(包括 `client-go` 和 `tidb`)的日志,以帮助诊断与 `client-go` 和 `tidb` 相关的问题。
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

更多信息,请参考[用户文档](/tidb-lightning/tidb-lightning-configuration.md#tidb-lightning-全局配置)。

## 兼容性变更

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

### 行为变更

Rustin170506 marked this conversation as resolved.
Show resolved Hide resolved
<!-- 此小节包含 MySQL 兼容性变更-->
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

* TiDB Lightning **tw@hfxsd**

- `tikv-importer.on-duplicate` 废弃,由 [`conflict.strategy`](/tidb-lightning/tidb-lightning-configuration.md#tidb-lightning-任务配置) 取代。
- TiDB Lightning 停止迁移任务之前能容忍的最大非严重 (non-fatal errors) 错误数的参数 `max-error` 不再包含导入数据冲突的上限,而是由新的参数 [`conflict.threshold`](/tidb-lightning/tidb-lightning-configuration.md#tidb-lightning-任务配置) 来控制可容忍的最大冲突的记录数。
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

* 兼容性 2
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
### 系统变量

| 变量名 | 修改类型 | 描述 |
|---|----|------|
| [`tiflash_replica_read`](/system-variables.md#tiflash_replica_read-从-v730-版本开始引入) | 新增 | 这个变量用于设置当查询需要使用 TiFlash 引擎时,TiFlash 副本的选择策略。 |
| | 新增/删除/修改 | |
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
| | 新增/删除/修改 | |
| | 新增/删除/修改 | |
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

### 配置文件参数

| 配置文件 | 配置项 | 修改类型 | 描述 |
| -------- | -------- | -------- | -------- |
|TiDB Lightning | `conflict.max-record-rows` | 新增 | TiDB Lightning 新版冲突检测与处理策略,用于记录在数据导入过程中遇到的冲突记录,并允许设置最大上限,默认值为 `100`。 |
|TiDB Lightning | `conflict.strategy` | 新增 | TiDB Lightning 新版冲突检测与处理的策略,包含 ""(不做冲突检测),`error`(遇到冲突数据即报错并停止导入),`replace`(遇到冲突记录替换已有的冲突记录),`ignore`(遇到冲突记录忽略需要插入的该条冲突记录)四种策略。默认值为 "", 即不做冲突检测。 |
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
|TiDB Lightning | `conflict.threshold` | 新增 |TiDB Lightning 新版冲突检测与处理策略允许的冲突上限,`conflict.strategy="error"` 时默认值为 `0`,当 `conflict.strategy="replace"` 或 `conflict.strategy="ignore"` 时默认值为 maxint。 |
|TiDB Lightning | `enable-diagnose-logs` | 新增 | 是否开启诊断日志。默认为 `false`,即只输出和导入有关的日志,不会输出依赖的其他组件的日志。设置为 `true` 后,既输出和导入相关的日志,也输出依赖的其他组件的日志,并开启 GRPC debug,可用于问题诊断。 |
|TiDB Lightning | `tikv-importer.on-duplicate` | 废弃 | TiDB Lightning 逻辑导入模式插入冲突数据时执行的操作。从 v7.3.0 起,该参数由 [`conflict.strategy`](/tidb-lightning/tidb-lightning-configuration.md#tidb-lightning-任务配置) 取代。|
|BR | azblob.encryption-scope | 新增 |BR 为外部存储 Azure Blob Storage 提供加密范围支持 |
qiancai marked this conversation as resolved.
Show resolved Hide resolved
|BR | azblob.encryption-key | 新增 |BR 为外部存储 Azure Blob Storage 提供加密密钥支持 |
| TiCDC | [`large-message-handle-option`](/ticdc/ticdc-sink-to-kafka.md#处理超过-kafka-topic-限制的消息) | 新增 | 默认为空,即消息大小超过 Kafka Topic 的限制后,同步任务失败。设置为 "handle-key-only" 时,如果消息超过大小,只发送 handle key 以减少消息的大小;如果依旧超过大小,则同步任务失败。 |
| | | 新增/删除/修改 | |
qiancai marked this conversation as resolved.
Show resolved Hide resolved
| | | 新增/删除/修改 | |
| | | 新增/删除/修改 | |
| | | 新增/删除/修改 | |
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
| | | 新增/删除/修改 | |

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
## 废弃功能

- note
- note

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
Rustin170506 marked this conversation as resolved.
Show resolved Hide resolved
## 改进提升

+ TiDB

- 游标 (Cursor) 结果过大时,写入 TiDB 临时磁盘空间从而避免OOM [#43233](https://github.com/pingcap/tidb/issues/43233) @[YangKeao](https://github.com/YangKeao) <!--1430-->
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
- 新增 `tidb_opt_enable_non_eval_scalar_subquery` 系统变量用于控制 `EXPLAIN` 语句是否在优化阶段提前执行子查询 [#22076](https://github.com/pingcap/tidb/issues/22076) @[winoros](https://github.com/winoros) **tw@Oreoxmt** <!--983-->
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
- 在启用 [Global Kill](/tidb-configuration-file#enable-global-kill-从-v610-版本开始引入) 的情况下,可以通过 <kbd>Control+C</kbd> 终止当前会话 [#8854](https://github.com/pingcap/tidb/issues/8854) @[pingyu](https://github.com/pingyu) **tw@Oreoxmt**
- note [#issue](链接) @[贡献者 GitHub ID](链接)
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
+ TiKV

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

+ PD

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

+ TiFlash

- 支持新的 DTFile 格式版本,减少物理文件数量(实验特性) [#7595](https://github.com/pingcap/tiflash/issues/7595) @[hongyunyan](https://github.com/hongyunyan) **tw@qiancai** <!--?-->
flowbehappy marked this conversation as resolved.
Show resolved Hide resolved
- note [#issue](链接) @[贡献者 GitHub ID](链接)
- note [#issue](链接) @[贡献者 GitHub ID](链接)

+ Tools

+ Backup & Restore (BR)

- 使用 BR 备份数据到 Azure Blob Storage 时,支持使用加密范围或加密密钥对数据进行服务端加密 [#45025](https://github.com/pingcap/tidb/issues/45025) @[Leavrth](https://github.com/Leavrth) **tw@Oreoxmt** <!--1385-->
- note [#issue](链接) @[贡献者 GitHub ID](链接)

+ TiCDC

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
- Kafka Sink 支持在消息过大时只发送 Handle Key 数据,减少数据大小 [#9382](https://github.com/pingcap/tiflow/issues/9382) @[3AceShowHand](https://github.com/3AceShowHand) **tw@ran-huang** <!--1406-->
- note [#issue](链接) @[贡献者 GitHub ID](链接)

+ TiDB Data Migration (DM)

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

+ TiDB Lightning

- 更新 TiDB Lightning 并行导入的参数名称从 "tikv-importer.incremental-import" 变更为 “tikv-importer.parallel-import” ,避免用户误认为是增量导入而误用该参数。 [#45501](https://github.com/pingcap/tidb/issues/45501) @[lyzx2001](https://github.com/lyzx2001) **tw@hfxsd**
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- 更新 TiDB Lightning 并行导入的参数名称从 "tikv-importer.incremental-import" 变更为 tikv-importer.parallel-import” ,避免用户误认为是增量导入而误用该参数。 [#45501](https://github.com/pingcap/tidb/issues/45501) @[lyzx2001](https://github.com/lyzx2001) **tw@hfxsd**
- TiDB Lightning 并行导入的参数名从 `tikv-importer.incremental-import` 变更为 `tikv-importer.parallel-import`,避免用户误解为增量导入而误用该参数 [#45501](https://github.com/pingcap/tidb/issues/45501) @[lyzx2001](https://github.com/lyzx2001) **tw@hfxsd**

Copy link
Collaborator

Choose a reason for hiding this comment

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

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

+ TiUP

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

## 错误修复

+ TiDB

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

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
+ TiKV

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

+ PD

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

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

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

+ Tools

+ Backup & Restore (BR)

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

+ TiCDC

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
- 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](链接)
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
- note [#issue](链接) @[贡献者 GitHub ID](链接)

+ TiUP

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

## 贡献者

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

+ [Contributor 1]()
Loading