-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Oreoxmt
wants to merge
193
commits into
pingcap:master
Choose a base branch
from
Oreoxmt:v8.4.0/release-notes
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+499
−1
Open
Changes from 11 commits
Commits
Show all changes
193 commits
Select commit
Hold shift + click to select a range
0b4609b
releases: add release notes for v8.4.0
Oreoxmt 26e35c9
Update release-8.4.0.md
joey-yez 55ec1df
Do not allow cardinality to go below 1
songrijie d58b260
include the enhancements made for runaway queries
songrijie 431c004
fix the link for tidb_runaway_queries
songrijie fbf7c60
enable tidb_enable_inl_join_inner_multi_pattern by default
songrijie cc01d2f
Include CPU usage (TiDB, TiKV) in system tables
songrijie 2c811d4
Provide warnings for restoring data to a non-empty cluster (SQL Based…
songrijie 05f2bc0
DELETE fetches partial columns for cop tasks
songrijie a44e541
Introduce additional labels to TOP SQL
songrijie 4aa8c1f
Maintain The Priority Queue In Memory V2
songrijie cd749b6
Update release-8.4.0.md
joey-yez 548b965
Update release-8.4.0.md
joey-yez b63d7d4
Update release-8.4.0.md
joey-yez 5eaac1b
Update release-8.4.0.md
joey-yez 1e8c541
Introduce limit for background tasks
songrijie ce2fe91
Merge branch 'v8.4.0/release-notes' of https://github.com/Oreoxmt/doc…
songrijie 1ef6b8e
instance plan cache as experimental
songrijie 196961e
Update release-8.4.0.md
joey-yez c374570
include workload repository in TiDB
songrijie 47b926c
update the variables for instance plan cache
songrijie a9a1816
Enabling prepared statements for lightning (logical mode)
songrijie 160b581
fix issue#
songrijie b14ee65
Optimized strategy of resource control
songrijie bfdfa4d
Adaptive parallelism for stats collection in single TiDB instance
songrijie 83eee7e
br restore needs to honor split-table=false/split-region-on-table=f…
songrijie 007abe2
move the enhancement of BR to the correct position
songrijie cf97283
larger region size for the compatibility to larger clusters.
songrijie 761491a
Allow evicting leader scheduling when lightning importing
songrijie 25a66b1
Apply suggestions from code review
Oreoxmt 0b1b51a
Apply suggestions from code review
Oreoxmt 25cf2bd
Apply suggestions from code review
Oreoxmt 3ed6231
fix format
Oreoxmt 170637d
draft highlights
songrijie ef6fcf3
Merge branch 'v8.4.0/release-notes' of https://github.com/Oreoxmt/doc…
songrijie 5311f14
add release notes for BR eliminate unnecessary write privileges to ex…
Oreoxmt 549c901
add comments for highlights
Oreoxmt b1fd95a
Update release-8.4.0.md
joey-yez b18d6c4
Update release-8.4.0.md
joey-yez 4ff7024
rephrase highlights.
songrijie 776b306
add Global Index GA, cached table optimization, GB18030, client-side …
Oreoxmt 37de400
update client-side log backup, BR reduces requires storage permission…
Oreoxmt d16176b
Apply suggestions from code review
Oreoxmt 6546c87
Apply suggestions from code review
hfxsd 23afa5b
Update releases/release-8.4.0.md
hfxsd 73a0a7f
Apply suggestions from code review
hfxsd cbf264f
Apply suggestions from code review
hfxsd 974c262
Apply suggestions from code review
hfxsd a99c92d
Apply suggestions from code review
hfxsd ca38a76
update TiProxy traffic replay
Oreoxmt d3ccb34
update TiKV in-mem pessimistic lock and BR RESTORE SQL statement
Oreoxmt d4dc9bf
highlights: update TiProxy traffic replay
Oreoxmt cfb4df3
Update highlight wording
lilin90 74bf2f6
Update format and wording
lilin90 404e919
Update format
lilin90 77add80
Apply suggestions from code review
hfxsd 5d2b706
update TiCDC and removal of TiDB Binlog
Oreoxmt 7d4cfd9
Apply suggestions from code review
Oreoxmt 9dc02e3
Update wording and format
lilin90 27af2f5
fix tidb_enable_inl_join_inner_multi_pattern
Oreoxmt 306f1e2
Update wording
lilin90 c279c34
Update and correct descriptions
lilin90 ec7c716
Remove inapplicable content and update wording
lilin90 b589c11
Update releases/release-8.4.0.md
CbcWestwolf fbfb4ee
Update wording
lilin90 c87974e
Apply suggestions from code review
lilin90 ff3e83d
Remove inapplicable content
lilin90 1d9629c
Apply suggestions from code review
lilin90 25b9e35
Update a link
lilin90 f98fd20
Apply suggestions from code review
lilin90 d55588f
Update format
lilin90 f34b285
Apply suggestions from code review
qiancai 3fca887
Improve description
lilin90 5a2afb9
Update releases/release-8.4.0.md
joey-yez 72febaf
Update releases/release-8.4.0.md
joey-yez d954bf9
Update releases/release-8.4.0.md
joey-yez 8dfac1d
Update releases/release-8.4.0.md
joey-yez b31b74e
update BR reduces storage permission for restores, TiCDC Claim-Check,…
Oreoxmt 37a5d04
add link for highlights
Oreoxmt e104b0f
Update releases/release-8.4.0.md
qiancai b7a4bba
Apply suggestions from code review
hfxsd b26669e
fix HTML table
Oreoxmt 6fe5c34
Update capitalization
lilin90 e0db0fa
compatibility changes: add tidb_schema_cache_size
Oreoxmt c5341bd
fix website build
Oreoxmt 63cb46c
Apply suggestions from code review
qiancai 586b80c
Update TiDB Binlog removal
lilin90 655397d
Apply suggestions from code review
lilin90 87d6a2e
add GitHub issue link for automatic statistics collection
Oreoxmt 1307f1e
Remove foreign key GA
lilin90 b63daae
Apply suggestions from code review
hfxsd f505c95
Apply suggestions from code review
qiancai c767fda
Apply suggestions from code review
qiancai 5d42520
Update releases/release-8.4.0.md
lilin90 886dbc3
bug fixes and improvements: fix indention and add dup notes
Oreoxmt 91e57fa
Apply suggestions from code review
lilin90 c9b6896
Update releases/release-8.4.0.md
qiancai 6952c8c
include the enhancement of top sql in highlights
songrijie d5b94cb
Apply suggestions from code review
lilin90 cccda2f
Update a link
lilin90 07fd3f0
Update rowspan to fix format
lilin90 9b840ff
Merge branch 'v8.4.0/release-notes' of https://github.com/Oreoxmt/doc…
lilin90 721e5fe
Apply suggestions from code review
lilin90 896fb9d
add a contributor for vector search
Oreoxmt c2af72a
improvements: add TiDB and TiFlash
Oreoxmt ee493df
bug fix: add TiDB
Oreoxmt 221df31
bug fix: add TiFlash
Oreoxmt 830ed70
bug fix: add TiDB
Oreoxmt 70e8afc
bug fix: add TiDB and BR; improvement: add TiKV
Oreoxmt c476b2e
improvement: add TiKV
Oreoxmt c5616c5
improvement & bug fix: add TiDB, DM, and TiDB Lightning
Oreoxmt 2dfc976
add DDL Owner during TiDB upgrade
Oreoxmt 1b139e7
Apply suggestions from code review
Oreoxmt 6ac806c
Apply suggestions from code review
Oreoxmt 142e6c8
update tidb_enable_inl_join_inner_multi_pattern
Oreoxmt 0f87fff
Apply suggestions from code review
qiancai 1ee04d7
Update releases/release-8.4.0.md
qiancai 46c7b2b
add storage.format_version
Oreoxmt ddd15dc
Apply suggestions from code review
Oreoxmt 605166b
Apply suggestions from code review
qiancai 5081f48
Remove description for gb18030
lilin90 ba921dc
compatibility changes: tidb_enable_inl_join_inner_multi_pattern, tidb…
Oreoxmt 8f0ad5d
remove Maintain The Priority Queue In Memory V2
Oreoxmt 476473a
Refine format
lilin90 25928e6
bug fix: add TiDB sql-infra
Oreoxmt 9e0aa8e
bug fix: add PD
Oreoxmt e1860b8
Add more removed system variables and parameters
lilin90 3246d75
Merge branch 'v8.4.0/release-notes' of https://github.com/Oreoxmt/doc…
lilin90 9984e9f
Update wording
lilin90 f30b7e5
Add parameter "logical-import-prep-stmt"
lilin90 d69802d
Update wording
lilin90 cfc1e39
Update releases/release-8.4.0.md
qiancai ce0caed
update improvement and bug fix
Oreoxmt 683b8a9
add dup note for v7.5.4
Oreoxmt 137cdc2
improvement and bug fix: assignment
Oreoxmt b23494d
fix format and remove empty notes
Oreoxmt dc499c1
update removed and deprecated features
Oreoxmt 38b0e90
Update releases/release-8.4.0.md
joey-yez 57169d3
add compatibility changes for tidb_tso_client_rpc_mode
qiancai b243249
add compatibility changes for BR log backup
qiancai b7f7919
Add binary package changes
lilin90 3309d06
Update releases/release-8.4.0.md
qiancai de7355b
add compatibility changes for max-merge-region-keys
qiancai 3afc372
Apply suggestions from code review
hfxsd db56000
Apply suggestions from code review
hfxsd e4b0f9e
Fix a typo
lilin90 9d2933f
refine TiKV, PD, and TiFlash improvements + TiFlash bug fixes
qiancai a6eddee
Apply suggestions from code review
hfxsd 72a02e6
compatibility changes: sort lines
Oreoxmt cc8ebdd
Refine wording
lilin90 1f57346
Update description
lilin90 de678e1
Update wording
lilin90 3dd0d58
Update format
lilin90 12c2121
Apply suggestions from code review
qiancai 48ab516
update improvements > TiDB and bug fixes > BR, TiDB Lightning
Oreoxmt 41370d9
Apply suggestions from code review
lilin90 e74c7e5
Apply suggestions from code review
Oreoxmt 2af65b3
Apply suggestions from code review
Oreoxmt 79b8d14
Apply suggestions from code review
hfxsd 65753e5
Update links
lilin90 7522b6e
Apply suggestions from code review
lilin90 bc37469
remove empty notes
Oreoxmt ac70bde
Merge branch 'master' into v8.4.0/release-notes
Oreoxmt 0c843c6
sync v7.5.4 release notes
Oreoxmt eba5f59
remove Behavior changes and deprecated features in v8.4.0
Oreoxmt a5ab017
Merge branch 'master' into v8.4.0/release-notes
Oreoxmt 2985c85
Apply suggestions from code review
lilin90 ed2dd41
Remove a link that no longer exists
lilin90 01916cd
add Contributors
Oreoxmt c3f07c3
fix format
Oreoxmt 9ed7a96
make ci happy
Oreoxmt 83897f4
move vector search improvements to new features section
Oreoxmt d61f687
Update releases/release-8.4.0.md
hawkingrei 0c3bb6d
add tidb_enable_stats_owner
Oreoxmt 9aab30c
update TSO RPC mode
Oreoxmt 006a498
update instance-level plan cache
Oreoxmt 1e8d987
remove links for deleted system variables
Oreoxmt fbeeaac
fix MD038/no-space-in-code
Oreoxmt eee73e7
update release date, fix format
Oreoxmt 8a72e7a
release notes: remove comments
Oreoxmt 2681c60
update TOC.md, release-timeline.md, release-notes.md, README.md
Oreoxmt 4c8d143
Apply suggestions from code review
hfxsd 98b3e40
Update releases/release-8.4.0.md
hfxsd 1615f8f
update release date
Oreoxmt 58d89f5
update release date
Oreoxmt 665d7e2
Merge branch 'v8.4.0/release-notes' into remove-comments-in-release-n…
Oreoxmt 522d7a6
Merge pull request #6 from Oreoxmt/remove-comments-in-release-notes
Oreoxmt 2d19f7a
Apply suggestions from code review
qiancai 04ece62
Apply suggestions from code review
Oreoxmt 831e65c
fix the format of deprecated features
Oreoxmt a3a60fa
fix typo "tiproxyctrl"
Oreoxmt 51a9b91
remove empty list
Oreoxmt 352836a
Update releases/release-8.4.0.md
hfxsd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
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
|
||
|
||
qiancai 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-任务配置) 替代,即记录的冲突记录数和单个导入任务允许出现的冲突记录数的上限数保持一致。 | ||
|
||
hfxsd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* 以下为计划将在未来版本中移除的功能: | ||
|
||
* 从 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) 将在未来版本中被移除。 | ||
|
||
## 改进提升 | ||
Oreoxmt marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
+ 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 社区的贡献者们: |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
preview: https://pingcap-docsite-preview-git-v84-preview-oreoxmts-projects.vercel.app/zh/tidb/dev/release-8.4.0