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 TiDB 5.4.0 release notes #8061

Merged
merged 106 commits into from
Feb 15, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
ee02100
releases: add TiDB 5.4.0 release notes
TomShawn Dec 27, 2021
06ba155
Merge branch 'master' into 5.4.0-release-notes
TomShawn Jan 4, 2022
c791431
add compatibility and features
TomShawn Jan 4, 2022
86807a1
Update _index.md
TomShawn Jan 4, 2022
47d5007
add content from LiSong2014 and youjiali1995
TomShawn Jan 4, 2022
ae11ed9
Update releases/release-5.4.0.md
TomShawn Jan 4, 2022
fc82523
add compatibility changes and some features
TomShawn Jan 5, 2022
af799d9
add one feature
TomShawn Jan 5, 2022
38a1985
add top sql and address comments
TomShawn Jan 6, 2022
fc71103
Update release-5.4.0.md
TomShawn Jan 6, 2022
ab3a07c
update compatibility
TomShawn Jan 6, 2022
b4bf160
remove unnecessary templates
TomShawn Jan 6, 2022
a705a36
Update release-5.4.0.md
TomShawn Jan 6, 2022
d022858
add a few configs
TomShawn Jan 6, 2022
f02dc89
Update release-5.4.0.md
TomShawn Jan 7, 2022
267c2d8
Update release-5.4.0.md
TomShawn Jan 7, 2022
2a8345d
add tikv improvement and bug fix notes
TomShawn Jan 7, 2022
d84f928
remove 统一各组件的日志格式和日志归档轮转规则
TomShawn Jan 10, 2022
4fb91f5
add index merge
TomShawn Jan 10, 2022
8e746fc
address comments from moyun
TomShawn Jan 10, 2022
1d7071a
Apply suggestions from code review
TomShawn Jan 10, 2022
e25c77a
Update releases/release-5.4.0.md
TomShawn Jan 10, 2022
e647d35
add 统计信息的同步加载
TomShawn Jan 10, 2022
c32a1e7
Apply suggestions from code review
TomShawn Jan 11, 2022
d48f150
address comments
TomShawn Jan 11, 2022
3e7bfb4
Update releases/release-5.4.0.md
TomShawn Jan 11, 2022
de2285a
Apply suggestions from code review
TomShawn Jan 11, 2022
89d915a
Update releases/release-5.4.0.md
TomShawn Jan 11, 2022
f295e58
Update releases/release-5.4.0.md
sunzhaoyang Jan 11, 2022
58441c8
Apply suggestions from code review
sunzhaoyang Jan 11, 2022
6752c99
Update releases/release-5.4.0.md
ran-huang Jan 11, 2022
5fa5e84
Update release-5.4.0.md
ThomasYYYY Jan 11, 2022
2cae4b7
Update releases/release-5.4.0.md
TomShawn Jan 11, 2022
27f0d4c
Update releases/release-5.4.0.md
TomShawn Jan 11, 2022
4003454
update TiKV configurations
en-jin19 Jan 11, 2022
85ee49a
Apply suggestions from code review
TomShawn Jan 11, 2022
03c4f18
revise orders of TiKV and PD configs
en-jin19 Jan 11, 2022
cae2c5a
remove some PD configs
en-jin19 Jan 11, 2022
abf5b5e
update `tidb_read_staleness` description
en-jin19 Jan 11, 2022
64c2f0b
Apply suggestions from code review
TomShawn Jan 11, 2022
1199ba1
format
en-jin19 Jan 11, 2022
aeb1028
Apply suggestions from code review
TomShawn Jan 11, 2022
24cd81e
Update releases/release-5.4.0.md
TomShawn Jan 11, 2022
9cfa124
Update releases/release-5.4.0.md
ran-huang Jan 11, 2022
fa8c3a7
Update releases/release-5.4.0.md
shichun-0415 Jan 11, 2022
1565ad6
change a sysvar value of tidb_backoff_lock_fast
TomShawn Jan 11, 2022
16ad17d
Apply suggestions from code review
TomShawn Jan 11, 2022
fa83990
Update releases/release-5.4.0.md
TomShawn Jan 11, 2022
82126b1
Apply suggestions from code review
en-jin19 Jan 12, 2022
e517882
Apply suggestions from code review
en-jin19 Jan 12, 2022
5966867
Update releases/release-5.4.0.md
TomShawn Jan 12, 2022
da61ca9
Update releases/release-5.4.0.md
qiancai Jan 12, 2022
b0b7f95
Apply suggestions from code review
qiancai Jan 12, 2022
d8715bb
Update releases/release-5.4.0.md
TomShawn Jan 12, 2022
0a2d174
Apply suggestions from code review
TomShawn Jan 12, 2022
b63c32b
Merge branch 'master' into 5.4.0-release-notes
TomShawn Jan 12, 2022
29b96f3
add two config changes
TomShawn Jan 13, 2022
b2c5b24
Apply suggestions from code review
TomShawn Jan 13, 2022
cae6129
Apply suggestions from code review
TomShawn Jan 13, 2022
b93b6f0
add ticdc notes
TomShawn Jan 13, 2022
5e5ab87
add a compatibility note
TomShawn Jan 13, 2022
6958800
add links
TomShawn Jan 13, 2022
ab4f5f3
add one more variable
TomShawn Jan 13, 2022
2057c61
adjust not order
TomShawn Jan 13, 2022
41541de
Merge remote-tracking branch 'upstream/master' into 5.4.0-release-notes
TomShawn Jan 13, 2022
14df288
Add user doc links to TiFlash, autopilot, and DP features
shichun-0415 Jan 13, 2022
0e1340c
remove experimental for blob azure
TomShawn Jan 13, 2022
d69c8bc
remove a non-5.4 TiKV config
en-jin19 Jan 14, 2022
cf3302b
add tiflash notes
TomShawn Jan 14, 2022
5d5680f
add 2 user docs
TomShawn Jan 14, 2022
a205b7a
add br, lightning, and pd notes
TomShawn Jan 14, 2022
ea47503
Merge remote-tracking branch 'upstream/master' into 5.4.0-release-notes
TomShawn Jan 17, 2022
fbe6cfd
add dm and drainer notes
TomShawn Jan 17, 2022
53fb78b
delete raft engine
TomShawn Jan 17, 2022
96e09cc
Merge remote-tracking branch 'upstream/master' into 5.4.0-release-notes
TomShawn Jan 19, 2022
5246601
Update tikv-configuration-file.md
TomShawn Jan 19, 2022
afedbe3
Apply suggestions from code review
TomShawn Jan 19, 2022
1aa6d18
Update release-5.4.0.md
TomShawn Jan 19, 2022
6739242
Update releases/release-5.4.0.md
TomShawn Jan 19, 2022
9456efb
update the part of reading historical data via session variables
en-jin19 Jan 19, 2022
bb4f383
Merge remote-tracking branch 'upstream/master' into 5.4.0-release-notes
TomShawn Jan 19, 2022
4fd8412
fix broken links
TomShawn Jan 19, 2022
8829340
fix typos
TomShawn Jan 19, 2022
aec52e1
reorder system variables
en-jin19 Jan 19, 2022
f53521a
Update releases/release-5.4.0.md
hfxsd Jan 19, 2022
fe2ee0e
Update releases/release-5.4.0.md
hfxsd Jan 19, 2022
12987b6
Apply suggestions from code review
TomShawn Jan 20, 2022
800d218
Update stale read part
en-jin19 Jan 20, 2022
a3848a2
Apply suggestions from code review
en-jin19 Jan 20, 2022
b9d2f01
deletes a few tiflash bug fix notes
TomShawn Jan 20, 2022
2546a57
add dm documentation statement
TomShawn Jan 21, 2022
179875d
delete raft engine
TomShawn Jan 21, 2022
e13855a
Update releases/release-5.4.0.md
TomShawn Jan 21, 2022
25128e5
Update releases/release-5.4.0.md
TomShawn Jan 24, 2022
d664dc8
add back raft engine
TomShawn Jan 24, 2022
d3f69d0
Update releases/release-5.4.0.md
TomShawn Jan 26, 2022
3cd32b5
Merge remote-tracking branch 'upstream/master' into 5.4.0-release-notes
TomShawn Jan 26, 2022
ee0d1dd
fix
TomShawn Jan 26, 2022
ee6dac7
add snapshot generator pool size and bump version for pd
TomShawn Jan 26, 2022
3a42cd3
Update releases/release-5.4.0.md
shichun-0415 Jan 26, 2022
8de148d
Update releases/release-5.4.0.md
shichun-0415 Jan 26, 2022
155b0d2
Merge remote-tracking branch 'upstream/master' into 5.4.0-release-notes
TomShawn Jan 28, 2022
2f3b92b
remove TiDB Dashboard root
TomShawn Jan 28, 2022
2c4e3a4
remove cdclog
TomShawn Feb 7, 2022
19d7cff
change date
TomShawn Feb 15, 2022
3ac2ed3
Update releases/release-5.4.0.md
TomShawn Feb 15, 2022
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
2 changes: 2 additions & 0 deletions TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,8 @@
- 版本发布历史
- [发布版本汇总](/releases/release-notes.md)
- [版本发布时间线](/releases/release-timeline.md)
- v5.4
- [5.4.0](/releases/release-5.4.0.md)
- v5.3
- [5.3.0](/releases/release-5.3.0.md)
- v5.2
Expand Down
2 changes: 1 addition & 1 deletion _index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ aliases: ['/docs-cn/dev/']

- [TiDB 简介](/overview.md)
- [基本功能](/basic-features.md)
- [TiDB 5.3 Release Notes](/releases/release-5.3.0.md)
- [TiDB 5.4 Release Notes](/releases/release-5.4.0.md)
- [TiDB 版本发布时间线](/releases/release-timeline.md)
- [与 MySQL 的兼容性](/mysql-compatibility.md)
- [使用限制](/tidb-limitations.md)
Expand Down
267 changes: 267 additions & 0 deletions releases/release-5.4.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,267 @@
---
TiDB 5.4 Release Notes
---

# TiDB 5.4 Release Notes

发版日期:2022 年 x 月 x 日
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

TiDB 版本:5.4.0

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

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
+
+
+


## 兼容性变化

> **注意:**
>
> 当从一个早期的 TiDB 版本升级到 TiDB v5.4.0 时,如需了解所有中间版本对应的兼容性更改说明,请查看对应版本的 [Release Notes](/releases/release-notes.md)。

### 系统变量

| 变量名 | 修改类型 | 描述 |
| :---------- | :----------- | :----------- |
| `tidb_backoff_lock_fast` | 修改 | 默认值由 `100` 修改为 `10` |
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
| | | |
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
| | | |

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

| 配置文件 | 配置项 | 修改类型 | 描述 |
| :---------- | :----------- | :----------- | :----------- |
| TiKV | `backup.enable-auto-tune` | 修改 | 在 v5.3.0 中默认值为 `false`,自 v5.4.0 起默认值改为 `true`。 在默认配置下,备份速度可能下降。 |
| TiKV | `log-level`、`log-format`、`log-file`、`log-rotation-size`、`log-rotation-timespan` | 删除 | 废弃 TiKV log 参数,改为使用 TiDB 的 log 参数。如果 TiKV log 参数为非默认值则保持兼容;如果同时配置 TiKV log 参数和 TiDB log 参数,使用 TiDB log 参数。 |
| PD | `log.level` | 修改 | 默认值由 "INFO" 改为 "info",保证大小写不敏感 |
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
| PD | `log.disable-timestamp` | 删除 | v5.4.0 前该参数默认值为 `false`。自 v5.4.0 起废弃该参数。如果集群在升级至 v5.4.0 前该参数值不为 `false`,要保持兼容。 |

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
### 其他

- TiDB Dashboard 默认不再使用 `root` + 空密码登录。
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

从 v5.4.0开始,使用 TiUP 启动集群时推荐使用 `start --initial`。执行该操作启动集群后,会为 `root` 账号自动生成一个随机密码,`root` 账号登录 Dashboard 需要使用这个密码。

- TiFlash 不支持 GBK 字符
- 如果 `character_set_client` 和 `character_set_connection` 都是 `gbk` 时,处理非法 GBK 字符与 MySQL 存在兼容性问题。
- `character_set_client` 在处理 `prepare` 语句时可能出现兼容性问题。
- TiDB 不支持 `_gbk"xxx"` 的用法,但是支持 `_utf8mb4"xxx"` 的用法。而 MySQL 对于 `_charset"xxx"` 的用法都支持。
- 从 TiDB v4.0(不包含 v4.0.0)升级到 v5.4.0 及更新的集群,`tidb_enable_index_merge` 变量默认关闭。

## 新功能

### SQL

- **功能 1**

<功能描述 (功能是什么 + 能给用户带来什么好处 + 需要用户注意什么)>

<功能支持情况,告诉用户 TiDB 默认开始还是关闭此功能,如果默认关闭,如何开启>

<如果功能限制或此功能特定的兼容性问题,需要提及>

[用户文档](/)

- **功能 2**

<功能描述 (功能是什么 + 能给用户带来什么好处 + 需要用户注意什么)>

<功能支持情况,告诉用户 TiDB 默认开始还是关闭此功能,如果默认关闭,如何开启>

<如果功能限制或此功能特定的兼容性问题,需要提及>

shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved
shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved
[用户文档](/)

### 事务

- **功能 3**

<功能描述 (功能是什么 + 能给用户带来什么好处 + 需要用户注意什么)>

<功能支持情况,告诉用户 TiDB 默认开始还是关闭此功能,如果默认关闭,如何开启>

shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved
<如果功能限制或此功能特定的兼容性问题,需要提及>

[用户文档](/)

- **功能 4**

<功能描述 (功能是什么 + 能给用户带来什么好处 + 需要用户注意什么)>

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
<功能支持情况,告诉用户 TiDB 默认开始还是关闭此功能,如果默认关闭,如何开启>

<如果功能限制或此功能特定的兼容性问题,需要提及>

[用户文档](/)

### 安全

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- **功能 5**

<功能描述 (功能是什么 + 能给用户带来什么好处 + 需要用户注意什么)>

<功能支持情况,告诉用户 TiDB 默认开始还是关闭此功能,如果默认关闭,如何开启>

flowbehappy marked this conversation as resolved.
Show resolved Hide resolved
<如果功能限制或此功能特定的兼容性问题,需要提及>

[用户文档](/)

### 性能

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- **功能 6**

<功能描述 (功能是什么 + 能给用户带来什么好处 + 需要用户注意什么)>

<功能支持情况,告诉用户 TiDB 默认开始还是关闭此功能,如果默认关闭,如何开启>

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
<如果功能限制或此功能特定的兼容性问题,需要提及>

[用户文档](/)

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- **Raft Engine(实验特性)**

支持使用 Raft Engine 作为 TiKV 的日志存储引擎。与使用 RocksDB 相比,Raft Engine 可以减少至多 40% 的 TiKV I/O 写流量和 10% 的 CPU 使用,同时在特定负载下提升 5% 左右前台吞吐,减少 20% 尾延迟。

由于 Raft Engine 涉及数据格式改动,目前仍属于实验特性,并默认关闭。同时请注意最新的 Raft Engine 不与 v5.4.0 版本前的 Raft Engine 兼容。因此在进行跨越 v5.4.0 版本的升级和降级之前,需要确保已有 TiKV 节点上的 Raft Engine 已被关闭。
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

### 稳定性

- **功能 7**

<功能描述 (功能是什么 + 能给用户带来什么好处 + 需要用户注意什么)>

<功能支持情况,告诉用户 TiDB 默认开始还是关闭此功能,如果默认关闭,如何开启>

<如果功能限制或此功能特定的兼容性问题,需要提及>

[用户文档](/)

## 高可用和容灾

- **功能 8**

<功能描述 (功能是什么 + 能给用户带来什么好处 + 需要用户注意什么)>

<功能支持情况,告诉用户 TiDB 默认开始还是关闭此功能,如果默认关闭,如何开启>

<如果功能限制或此功能特定的兼容性问题,需要提及>

[用户文档](/)

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- **优化备份对集群的影响**

Backup & Restore (BR) 增加了备份线程自动调节功能。该功能通过监控集群资源的使用率自动调节备份的线程数的方式,降低备份过程对集群的影响。在某些 Case 验证中,通过增加集群用于备份的资源和开启备份线程自动调节功能,备份的影响可以降低到 10% 以下。
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

该功能默认开启,但是如果你在离线环境中进行备份,可以关闭该功能来获得更高的备份速度。
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

详细文档请阅读 [BR 自动调节](/br/br-features.md#自动调节-从-v54-版本开始引入)。
shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved

- **支持 Azure Blob Storage 作为备份目标存储(实验特性)**

BR 支持 Azure Blob Storage 作为备份的远端目标存储。在 Azure Cloud 环境部署 TiDB 的用户,可以支持使用该功能将集群数据备份到 Azure Blob Storage 服务中。

该功能目前是实验特性,详细情况参考 [BR 支持 Azure Blob Storage 远端存储](/br/backup-and-restore-azblob.md)。

shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved

### 数据迁移

- **功能 9**

<功能描述 (功能是什么 + 能给用户带来什么好处 + 需要用户注意什么)>

<功能支持情况,告诉用户 TiDB 默认开始还是关闭此功能,如果默认关闭,如何开启>

shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved
<如果功能限制或此功能特定的兼容性问题,需要提及>

[用户文档](/)

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- **为 TiDB Lightning 增加已存在数据表是否允许导入的开关**

为 TiDB Lightning 增加 `incremental-import` 开关。默认值为 `false`,表明目标表已存在数据时将不会执行导入。将默认值改为 `true` 则继续导入。注意,当使用并行导入特性时,需要将该配置项设为 `true`。

sunzhaoyang marked this conversation as resolved.
Show resolved Hide resolved
shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved
- **在 TiDB Lightning 中添加重复数据的检测**
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

在 `backend=local` 模式下,数据导入完成之前 TiDB Lightning 会输出冲突数据,然后从数据库中删除这些冲突数据。用户可以在导入完成后解析冲突数据,并根据业务规则选择适合的数据进行插入。建议根据冲突数据清洗上游数据源,避免在后续增量数据迁移阶段遇到冲突数据而造成数据不一致。

shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved
- **在 TiDB Data Migration (DM) 中 优化 relay log 的使用方式**

- 恢复 `source` 配置中 `enable-relay` 开关
- 增加 `start-relay` 或 `stop-relay` 命令中动态开启或关闭 relay log 的功能
- relay log 的开启状态与 `source` 绑定,source 迁移到任意 DM-worker 均保持原有开启或关闭状态
- relay log 的存放路径移至 DM-worker 配置文件
shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved

- **在 DM 中优化排序规则的处理方式**

增加 `collation_compatible` 开关,支持 `strict` 和 `loose`(默认)两种模式。如果对排序规则要求不严格,允许排序规则不一致,使用默认的 `loose` 模式可使同步正常进行;如果对排序规则要求严格,排序规则不一致导致报错,则可以使用 `strict` 模式。
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
增加 `collation_compatible` 开关,支持 `strict` 和 `loose`(默认)两种模式。如果对排序规则要求不严格,允许排序规则不一致,使用默认的 `loose` 模式可使同步正常进行;如果对排序规则要求严格,排序规则不一致导致报错,则可以使用 `strict` 模式。
增加 `collation_compatible` 开关,支持 `strict` 和 `loose`(默认)两种模式。如果对排序规则要求不严格,允许排序规则在上下游不一致,使用默认的 `loose` 模式可使同步正常进行;如果对排序规则要求严格,排序规则在上下游不一致会导致业务报错,则可以使用 `strict` 模式。

cc @sunzhaoyang

Copy link
Contributor

Choose a reason for hiding this comment

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

release notes 和用户文档“strict”模式的描述 上有点出入。 cc @sunzhaoyang

同步 CREATE 语句中缺省 Collation 的方式,可选 "loose" 和 "strict",默认为 "loose"。"loose" 模式不会显式补充上游缺省的 Collation,"strict" 会显式补充上游缺省的 Collation。当使用 "strict" 模式,但下游不支持上游缺省的 Collation 时,下游可能会报错。

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
Contributor

Choose a reason for hiding this comment

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

增加 collation_compatible 开关,支持 strictloose(默认)两种模式。
如果对排序规则要求不严格,允许上下游查询结果排序规则不一致,使用默认的 loose 模式比较方便维护;
如果对排序规则要求严格,业务要求排序规则必须一致,则应当使用 strict 模式,但如果下游不支持上游缺省的 collation,同步可能会报错,需要手动处理。

cc @glorv @lance6716


shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved
- **在 DM 中新增 `transfer source` 支持平滑执行同步任务**
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

当 DM-worker 所在各节点负载不均衡时,`transfer source` 命令可用于手动将某 `source` 配置迁移到其他节点。优化后的 `transfer source` 简化了用户操作步骤,不再要求先暂停所有关联 task 而是直接执行平滑迁移,DM 将在内部完成所需操作。

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
### 问题诊断效率

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- **功能 10**

<功能描述 (功能是什么 + 能给用户带来什么好处 + 需要用户注意什么)>

<功能支持情况,告诉用户 TiDB 默认开始还是关闭此功能,如果默认关闭,如何开启>

<如果功能限制或此功能特定的兼容性问题,需要提及>

[用户文档](/)

### TiDB 数据共享订阅

- **功能 11**

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
<功能描述 (功能是什么 + 能给用户带来什么好处 + 需要用户注意什么)>

<功能支持情况,告诉用户 TiDB 默认开始还是关闭此功能,如果默认关闭,如何开启>

<如果功能限制或此功能特定的兼容性问题,需要提及>

[用户文档](/)


### 部署及运维

- **功能 12**
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

<功能描述 (功能是什么 + 能给用户带来什么好处 + 需要用户注意什么)>

<功能支持情况,告诉用户 TiDB 默认开始还是关闭此功能,如果默认关闭,如何开启>

<如果功能限制或此功能特定的兼容性问题,需要提及>

[用户文档](/)

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- **持续性能分析(实验特性)**

- 支持更多组件:支持 TiFlash 组件查看 CPU Profiling
- 支持更方便的查看形式:支持以火焰图形式查看 CPU Profiling 和 Goroutine 结果。
- 支持更多部署环境:支持在 TiDB Operator 部署环境下启用持续性能分析功能。

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
该功能默认关闭,需进入 TiDB Dashboard 持续性能分析页面开启,开启方法见[用户文档](/dashboard/continuous-profiling.md)。

要使用持续性能分析功能,集群须由 TiUP v1.9.0 及以上版本或 TiDB Operator vx.x.x(TBD)及以上版本升级或安装。

## 遥测

- **功能 13**

<功能描述 (功能是什么 + 能给用户带来什么好处 + 需要用户注意什么)>

<功能支持情况,告诉用户 TiDB 默认开始还是关闭此功能,如果默认关闭,如何开启>

<如果功能限制或此功能特定的兼容性问题,需要提及>

[用户文档](/)

## 提升改进

TomShawn marked this conversation as resolved.
Show resolved Hide resolved

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
## Bug 修复


4 changes: 4 additions & 0 deletions releases/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ aliases: ['/docs-cn/dev/releases/release-notes/','/docs-cn/dev/releases/rn/']

TiDB 历史版本发布声明如下:

## 5.4

- [5.4.0](/releases/release-5.4.0.md)

## 5.3

- [5.3.0](/releases/release-5.3.0.md)
Expand Down
1 change: 1 addition & 0 deletions releases/release-timeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ summary: 了解 TiDB 的版本发布时间线。

| 版本 | 发布日期 |
| :--- | :--- |
| [5.4.0](/releases/release-5.4.0.md) | 2022-x-x |
| [5.0.6](/releases/release-5.0.6.md) | 2021-12-31 |
| [4.0.16](/releases/release-4.0.16.md) | 2021-12-17 |
| [5.1.3](/releases/release-5.1.3.md) | 2021-12-03 |
Expand Down