From 4b56c27ad3c36de10e6596c8aa9c6613bf1977ab Mon Sep 17 00:00:00 2001 From: Docsite Preview Bot <> Date: Tue, 26 Mar 2024 03:07:56 +0000 Subject: [PATCH] Preview PR https://github.com/pingcap/docs-cn/pull/16664 and this preview is triggered from commit https://github.com/pingcap/docs-cn/pull/16664/commits/b0fdd67702c9db83a9355321194c3312fcc439ce --- .../zh/tidb/master/releases/release-8.0.0.md | 613 ++++++++++++++++++ 1 file changed, 613 insertions(+) create mode 100644 markdown-pages/zh/tidb/master/releases/release-8.0.0.md diff --git a/markdown-pages/zh/tidb/master/releases/release-8.0.0.md b/markdown-pages/zh/tidb/master/releases/release-8.0.0.md new file mode 100644 index 0000000..ba3280f --- /dev/null +++ b/markdown-pages/zh/tidb/master/releases/release-8.0.0.md @@ -0,0 +1,613 @@ +--- +title: TiDB 8.0.0 Release Notes +summary: 了解 TiDB 8.0.0 版本的新功能、兼容性变更、改进提升,以及错误修复。 +--- + +# TiDB 8.0.0 Release Notes + +发版日期:2024 年 x 月 x 日 + +TiDB 版本:8.0.0 + +试用链接:[快速体验](https://docs.pingcap.com/zh/tidb/v8.0/quick-start-with-tidb) | [下载离线包](https://cn.pingcap.com/product-community/?version=v8.0.0-DMR#version-list) + +在 8.0.0 版本中,你可以获得以下关键特性: + +
分类 | +功能/增强 | +描述 | +
---|---|---|
可扩展性与性能 | +支持拆分 PD 功能为微服务,提高可扩展性(实验特性)**tw@qiancai** | +Placement Driver (PD) 包含了多个确保 TiDB 集群能正常运行的关键模块。当集群的工作负载增加时,PD 中各模块的资源消耗也会随之增加,造成这些模块间功能的相互干扰,进而影响整个集群的服务质量。为了解决该问题,从 v8.0.0 起,TiDB 支持将 PD 的 TSO 和调度模块拆分成可独立部署的微服务,可以显著降低当集群规模扩大时模块间的互相影响。通过这种架构,TiDB 能够支持更大规模、更高负载的集群。 + |
用于处理更大事务的批量 DML 执行方式(实验特性)**tw@Oreoxmt** | +大批量的 DML 任务,例如大规模的清理任务、连接或聚合,可能会消耗大量内存,并且在非常大的规模上受到限制。批量 DML (tidb_dml_type = "bulk" ) 是一种新的 DML 类型,用于更高效地处理大批量 DML 任务,同时提供事务保证并减轻 OOM 问题。该功能与用于数据加载的导入、加载和恢复操作不同。 |
+ |
Acceleration of cluster snapshot restore speed **tw@qiancai** | +An optimization to involve all TiKV nodes in the preparation step for cluster restores was introduced to leverage scale such that restore speeds for a cluster are much faster for larger sets of data on larger clusters. Real world tests exhibit restore acceleration of ~300% in slower cases. | +|
增强在有大量表时缓存 schema 信息的稳定性**tw@hfxsd** | +对于使用 TiDB 作为多租户应用程序记录系统的 SaaS 公司,经常需要存储大量的表。在以前的版本中,尽管支持处理百万级或更大数量的表,但可能会影响用户体验。TiDB v8.0.0 通过以下增强功能改善了这一问题:
+
|
+ |
数据库管理与可观测性 | +支持观测索引使用情况 **tw@Oreoxmt** | +TiDB v8.0.0 引入 INFORMATION_SCHEMA.TIDB_INDEX_USAGE 表和 sys.schema_unused_index 视图,以提供索引的使用统计信息。该功能有助于用户评估所有索引的重要性并优化索引设计。 |
+
数据迁移 | +TiCDC 支持在双向复制 (Bidirectional replication, BDR) 模式下同步 DDL 语句 (GA) **tw@hfxsd** | +TiCDC 支持将集群指定为 PRIMARY BDR role,并且可以将 DDL 语句从该集群同步到下游集群。 |
+
+
TiCDC 支持 Simple 协议 **tw@lilin90** | +TiCDC 支持了新的 Simple 消息协议,该协议通过在 DDL 和 BOOTSTRAP 事件中嵌入模式信息,实现了动态的消息模式跟踪功能 (in-band schema tracking)。 | +|
TiCDC 支持 Debezium 协议 **tw@lilin90** | +TiCDC 支持了新的 Debezium 协议,现在可以使用生成 Debezium 格式消息的协议向 Kafka sink 发布复制事件。 | +