-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[WIP]: add v8.5.4 release notes #21000
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
base: master
Are you sure you want to change the base?
Changes from 7 commits
aba762e
a5c23fd
a8b60d9
d6276c2
7834050
be13155
44361ff
7e54b2f
79de7e2
c1d5e3e
19224e1
65f4058
fb19fba
b251d64
ac03800
7d652a0
daabc07
4d90861
5169c9d
24cae23
a1317fa
a799984
8d1d43f
a1606cd
302b011
4128e94
9a9ce40
17b3bb9
a70dc43
c05b3cc
0595ad5
99abef5
0697a48
fd28ec9
2296d5b
01f0972
df1342d
a6bb5db
b2d768b
5c486ee
bb67a5e
5b7a47e
3cdc470
c819b3b
38818a7
9bafa7c
77711ba
149032c
e6bd4dc
ddf7939
b7c0eba
39e4728
338cae9
528d5dc
a1379c8
a775ba0
121cb35
313821f
4eea8fa
ac7c68f
8ab36c1
bd0cd5a
1a5dd35
b16fa29
ab55fd2
a17e427
13165c1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,147 @@ | ||||||||||||||||||||||
| --- | ||||||||||||||||||||||
| title: TiDB 8.5.4 Release Notes | ||||||||||||||||||||||
| summary: 了解 TiDB 8.5.4 版本的兼容性变更、改进提升,以及错误修复。 | ||||||||||||||||||||||
| --- | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| # TiDB 8.5.4 Release Notes | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| 发版日期:2025 年 x 月 x 日 | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| TiDB 版本:8.5.4 | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| 试用链接:[快速体验](https://docs.pingcap.com/zh/tidb/v8.5/quick-start-with-tidb) | [生产部署](https://docs.pingcap.com/zh/tidb/v8.5/production-deployment-using-tiup) | [下载离线包](https://cn.pingcap.com/product-community/?version=v8.5.4#version-list) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ## 兼容性变更 | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/${repo-name}/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - (dup): release-7.5.7.md > 兼容性变更 - TiKV 废弃以下配置项,并由新的 [`gc.auto-compaction`](https://docs.pingcap.com/zh/tidb/v7.5/tikv-configuration-file/#gcauto-compaction) 配置项替代,用于控制自动 compaction 行为 [#18727](https://github.com/tikv/tikv/issues/18727) @[v01dstar](https://github.com/v01dstar) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
qiancai marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||
| - 废弃配置项:[`region-compact-check-interval`](https://docs.pingcap.com/zh/tidb/v7.5/tikv-configuration-file#region-compact-check-interval)、[`region-compact-check-step`](https://docs.pingcap.com/zh/tidb/v7.5/tikv-configuration-file#region-compact-check-step)、[`region-compact-min-tombstones`](https://docs.pingcap.com/zh/tidb/v7.5/tikv-configuration-file#region-compact-min-tombstones)、[`region-compact-tombstones-percent`](https://docs.pingcap.com/zh/tidb/v7.5/tikv-configuration-file#region-compact-tombstones-percent)、[`region-compact-min-redundant-rows`](https://docs.pingcap.com/zh/tidb/v7.5/tikv-configuration-file#region-compact-min-redundant-rows-从-v710-版本开始引入) 和 [`region-compact-redundant-rows-percent`](https://docs.pingcap.com/zh/tidb/v7.5/tikv-configuration-file#region-compact-redundant-rows-percent-从-v710-版本开始引入)。 | ||||||||||||||||||||||
| - 新增配置项:[`gc.auto-compaction.check-interval`](https://docs.pingcap.com/zh/tidb/v7.5/tikv-configuration-file#check-interval-从-v757-版本开始引入)、[`gc.auto-compaction.tombstone-num-threshold`](https://docs.pingcap.com/zh/tidb/v7.5/tikv-configuration-file#tombstone-num-threshold-从-v757-版本开始引入)、[`gc.auto-compaction.tombstone-percent-threshold`](https://docs.pingcap.com/zh/tidb/v7.5/tikv-configuration-file#tombstone-percent-threshold-从-v757-版本开始引入)、[`gc.auto-compaction.redundant-rows-threshold`](https://docs.pingcap.com/zh/tidb/v7.5/tikv-configuration-file#redundant-rows-threshold-从-v757-版本开始引入)、[`gc.auto-compaction.redundant-rows-percent-threshold`](https://docs.pingcap.com/zh/tidb/v7.5/tikv-configuration-file#redundant-rows-percent-threshold-从-v757-版本开始引入) 和 [`gc.auto-compaction.bottommost-level-force`](https://docs.pingcap.com/zh/tidb/v7.5/tikv-configuration-file#bottommost-level-force-从-v757-版本开始引入)。 | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
qiancai marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||
| ## 改进提升 | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| + TiDB | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
qiancai marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tidb/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tidb/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - (dup): release-9.0.0.md(beta.1) > # SQL 功能 * 支持对分区表的非唯一列创建全局索引 [#58650](https://github.com/pingcap/tidb/issues/58650) @[Defined2014](https://github.com/Defined2014) @[mjonss](https://github.com/mjonss) | ||||||||||||||||||||||
Oreoxmt marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
| - (dup): release-9.0.0.md(beta.1) > 改进提升> TiDB - 支持由 `IN` 子查询而来的 Semi Join 使用 `semi_join_rewrite` 的 Hint [#58829](https://github.com/pingcap/tidb/issues/58829) @[qw4990](https://github.com/qw4990) | ||||||||||||||||||||||
qiancai marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| + TiKV | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - note [#issue](https://github.com/tikv/tikv/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - note [#issue](https://github.com/tikv/tikv/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
qiancai marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
| - (dup): release-7.5.7.md > 改进提升> TiKV - 优化在存在大量 SST 文件的环境中 async snapshot 和 write 的尾延迟 [#18743](https://github.com/tikv/tikv/issues/18743) @[Connor1996](https://github.com/Connor1996) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| + PD | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - note [#issue](https://github.com/tikv/pd/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - note [#issue](https://github.com/tikv/pd/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - (dup): release-7.5.7.md > 改进提升> PD - 减少非必要的错误日志 [#9370](https://github.com/tikv/pd/issues/9370) @[bufferflies](https://github.com/bufferflies) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
qiancai marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||
| + TiFlash | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tiflash/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tiflash/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
qiancai marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
| - 跳过不必要读取的数据,优化 TableScan 的读取性能 [#9875](https://github.com/pingcap/tiflash/issues/9875) @[gengliqi](https://github.com/gengliqi) | ||||||||||||||||||||||
| - 优化 TiFlash 在宽且稀疏的表上 TableScan 的性能 [#10361](https://github.com/pingcap/tiflash/issues/10361) @[JaySon-Huang](https://github.com/JaySon-Huang) | ||||||||||||||||||||||
| - 优化当集群存在大量表时,添加向量索引时的 TiFlash CPU 开销 [#10357](https://github.com/pingcap/tiflash/issues/10357) @[Lloyd-Pottiger](https://github.com/Lloyd-Pottiger) | ||||||||||||||||||||||
| - 减少不必要的处理 raft commands 时的日志 [#10467](https://github.com/pingcap/tiflash/issues/10467) @[JaySon-Huang](https://github.com/JaySon-Huang) | ||||||||||||||||||||||
JaySon-Huang marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| + Tools | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
qiancai marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
| + Backup & Restore (BR) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tidb/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tidb/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| + TiCDC | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tiflow/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tiflow/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| + TiDB Data Migration (DM) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tiflow/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tiflow/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
qiancai marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||
| + TiDB Lightning | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tidb/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tidb/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| + Dumpling | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tidb/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tidb/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| + TiUP | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tiup/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tiup/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
qiancai marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||
| ## 错误修复 | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| + TiDB | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - 修复当 `tidb_isolation_read_engines` 设置为 "tiflash" 时,`use index` hint 无法生效的问题 [#60869](https://github.com/pingcap/tidb/issues/60869) @[Lloyd-Pottiger](https://github.com/Lloyd-Pottiger) | ||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tidb/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
qiancai marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
| - 修复了 `max_execution_time` 对 `SELECT FOR UPDATE` 语句不生效的问题. [#62960](https://github.com/pingcap/tidb/issues/62960) @[ekexium](https://github.com/ekexium) | ||||||||||||||||||||||
| - (dup): release-7.5.7.md > 错误修复> TiDB - 修复估算跨月或跨年的行数时,结果可能过分偏大的问题 [#50080](https://github.com/pingcap/tidb/issues/50080) @[terry1purcell](https://github.com/terry1purcell) | ||||||||||||||||||||||
qiancai marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||
| - 修复预处理语句中处理 decimal 与 mysql 不一致的问题 [#62602](https://github.com/pingcap/tidb/issues/62602) @[ChangRui-Ryan](https://github.com/ChangRui-Ryan) | ||||||||||||||||||||||
| - 修复 `truncate` 函数中短路径处理错误的问题 [#57608](https://github.com/pingcap/tidb/issues/57608) @[xzhangxian1008](https://github.com/xzhangxian1008) | ||||||||||||||||||||||
| - 修复当 `Out Of Quota For Local Temporary Space` 触发时,spill 文件可能未被全部删除的问题 [#63216](https://github.com/pingcap/tidb/issues/63216) @[xzhangxian1008](https://github.com/xzhangxian1008) | ||||||||||||||||||||||
qiancai marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
qiancai marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||
| + TiKV | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - note [#issue](https://github.com/tikv/tikv/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - note [#issue](https://github.com/tikv/tikv/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
qiancai marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| + PD | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - note [#issue](https://github.com/tikv/pd/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - note [#issue](https://github.com/tikv/pd/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - (dup): release-9.0.0.md(beta.1) > 错误修复> PD - 修复 PD Client 重试策略没有正确初始化的问题 [#9013](https://github.com/tikv/pd/issues/9013) @[rleungx](https://github.com/rleungx) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| + TiFlash | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. -- 优化了 MODIFY COLUMN / CHANGE COLUMN 的性能,将部分有损 DDL(如 BIGINT → INT、CHAR(128) → VARCHAR(64))的执行耗时从小时级缩短到分钟甚至毫秒级,整体性能提升数十倍到上万倍。#63366 @wjhuang2016 @tangenta @fzzf678 |
||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tiflash/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tiflash/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
qiancai marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
| - 修复当查询的列存储大量 `NULL` 值时,可能导致查询失败的问题 [#10340](https://github.com/pingcap/tiflash/issues/10340) @[Lloyd-Pottiger](https://github.com/Lloyd-Pottiger) | ||||||||||||||||||||||
| - 修复 TiFlash 消耗超过预期的 RU 的问题 [#10380](https://github.com/pingcap/tiflash/issues/10380) @[JinheLin](https://github.com/JinheLin) | ||||||||||||||||||||||
| - 修复存算分离架构下,在存在慢查询时 TiFlash 容易发生 OOM 的问题 [#10278](https://github.com/pingcap/tiflash/issues/10278) @[JaySon-Huang](https://github.com/JaySon-Huang) | ||||||||||||||||||||||
| - 修复存算分离架构下,TiFlash 遇到与 S3 网络分区时可能无限重试的问题 [#10424](https://github.com/pingcap/tiflash/issues/10424) @[JaySon-Huang](https://github.com/JaySon-Huang) | ||||||||||||||||||||||
qiancai marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
| - 修复了当参数为 `decimal` 类型时,`floor` 和 `ceil` 函数结果可能不正确的问题 [#10365](https://github.com/pingcap/tidb/issues/10365) @[ChangRui-Ryan](https://github.com/ChangRui-Ryan) | ||||||||||||||||||||||
hfxsd marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| + Tools | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| + Backup & Restore (BR) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tidb/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tidb/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| + TiCDC | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tiflow/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
qiancai marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tiflow/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| + TiDB Data Migration (DM) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tiflow/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tiflow/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| + TiDB Lightning | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tidb/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tidb/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| + Dumpling | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tidb/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tidb/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| + TiUP | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tiup/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
| - note [#issue](https://github.com/pingcap/tiup/issues/${issue-id}) @[贡献者 GitHub ID](https://github.com/${github-id}) | ||||||||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.