Skip to content

Commit

Permalink
Update 5.0 GA release notes and experimental features (pingcap#5835)
Browse files Browse the repository at this point in the history
  • Loading branch information
scsldb authored Apr 7, 2021
1 parent 148023c commit 447f800
Show file tree
Hide file tree
Showing 7 changed files with 545 additions and 26 deletions.
4 changes: 3 additions & 1 deletion TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@

+ 关于 TiDB
+ [TiDB 简介](/overview.md)
+ [What's New in TiDB 5.0](/releases/release-5.0.0-rc.md)
+ [What's New in TiDB 5.0](/releases/release-5.0.0.md)
+ [基本功能](/basic-features.md)
+ [实验特性](/experimental-features.md)
+ 性能测试报告
+ [TPC-H 100 性能对比 - v5.0 MPP 对比 Greenplum / Apache Spark](/benchmark/v5.0-performance-benchmarking-with-tpch.md)
+ [Sysbench 性能对比 - v4.0 对比 v3.0](/benchmark/benchmark-sysbench-v4-vs-v3.md)
Expand Down Expand Up @@ -525,6 +526,7 @@
+ [发布版本汇总](/releases/release-notes.md)
+ [产品路线图](/roadmap.md)
+ v5.0
- [5.0 GA](/releases/release-5.0.0.md)
- [5.0.0-rc](/releases/release-5.0.0-rc.md)
+ v4.0
- [4.0.12](/releases/release-4.0.12.md)
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)
- [What's New in TiDB 5.0](/releases/release-5.0.0-rc.md)
- [What's New in TiDB 5.0](/releases/release-5.0.0.md)
- [与 MySQL 的兼容性](/mysql-compatibility.md)
- [使用限制](/tidb-limitations.md)

Expand Down
23 changes: 0 additions & 23 deletions experimental-features-4.0.md

This file was deleted.

62 changes: 62 additions & 0 deletions experimental-features.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
title: TiDB 实验特性
summary: 了解 TiDB 各版本的实验特性。
aliases: ['/docs-cn/dev/experimental-features-4.0/','/zh/tidb/dev/experimental-features-4.0/']
---

# TiDB 实验特性

本文介绍 TiDB 各版本中的实验特性。**不建议**在生产环境中使用实验特性。

## 稳定性

+ TiFlash 限制压缩或整理数据占用 I/O 资源,缓解后台任务与前端的数据读写对 I/O 资源的争抢(v5.0 实验特性)
+ 提升优化器选择索引的稳定性(v5.0 实验特性)
+ 扩展统计信息功能,收集多列顺序依赖性信息,帮助优化器选择相对较优的索引。
+ 重构统计信息模块,帮助优化器选择相对较优的索引,包括从 `CMSKetch` 和直方图中删除 `TopN` 值,为索引的直方图维护 Bucket NDV。
+ [hibernate-regions](/tikv-configuration-file.md#hibernate-regions-实验特性),如果 Region 长时间处于非活跃状态,即被自动设置为静默状态。静默状态的 Region 可以降低 Leader 和 Follower 之间心跳信息的系统开销。

## 调度功能

+ Cascading Placement Rules 是一套副本规则系统,用于指导 PD 针对不同类型的数据生成对应的调度。通过组合不同的调度规则,用户可以精细地控制任何一段连续数据的副本数量、存放位置、主机类型、是否参与 Raft 投票、是否可以担任 Raft leader 等属性。详情参阅:[Cascading Placement Rules](/configure-placement-rules.md)。(v4.0 实验特性)
+ 弹性调度功能。结合 Kubernetes,可根据实时负载状态,动态扩缩节点,能够有效地缓解业务高峰的压力并且节约不必要的成本开销。详情参阅:[启用 TidbCluster 弹性伸缩](https://docs.pingcap.com/zh/tidb-in-kubernetes/stable/enable-tidb-cluster-auto-scaling)。(v4.0 实验特性)

## SQL 功能

+ List 分区表 (List Partition)。(v5.0 实验特性)
+ List Column 分区表 (List Column Partition)。(v5.0 实验特性)
+ 表达式索引 (Expression Index) 功能。表达式索引也叫函数索引,在创建索引时索引的字段不一定是一个具体的列,也可以是由一个或者多个列计算出来的表达式。对于快速访问那些基于计算结果的表非常有用。详情参阅:[表达式索引](/sql-statements/sql-statement-create-index.md)。(v4.0 实验特性)
+ [生成列](/generated-columns.md#生成列)
+ [自定义变量](/user-defined-variables.md#用户自定义变量)
+ [JSON 数据类型](/data-type-json.md)[JSON 函数](/functions-and-operators/json-functions.md)
+ [View](/information-schema/information-schema-views.md)

## 配置管理

+ 将配置参数持久化存储到 PD 中,并且可以动态修改配置项的功能。(v4.0 实验特性)
+ [SHOW CONFIG](/sql-statements/sql-statement-show-config.md)。(v4.0 实验特性)

## TiDB 数据共享订阅

+ TiCDC 集成第三方生态 [Kafka Connect (Confluent Platform)](/ticdc/integrate-confluent-using-ticdc.md)(v5.0 实验特性)
+ TiCDC [支持 TiDB 集群之间环形同步](/ticdc/manage-ticdc.md#环形同步)。(v5.0 实验特性)
+ [TiCDC Open Protocol](/ticdc/ticdc-open-protocol.md#row-changed-event)[列标志位](/ticdc/ticdc-open-protocol.md#列标志位) 功能。

## 存储

+ [关闭 Titan 功能](/storage-engine/titan-configuration.md#关闭-titan实验功能)
+ [Titan Level Merge 功能](/storage-engine/titan-configuration.md#level-merge实验功能)
+ TiFlash 支持将存储引擎的新数据分布在多个硬盘上,分摊 I/O 压力。(v4.0 实验特性)

## 备份与恢复

+ [Raw KV 备份](/br/use-br-command-line-tool.md#raw-kv-备份实验性功能)

## 垃圾回收

+ [Green GC](/system-variables.md#tidb_gc_scan_lock_mode-从-v50-版本开始引入)

## 问题诊断

+ [SQL 诊断](/information-schema/information-schema-sql-diagnostics.md)
+ [集群诊断](/dashboard/dashboard-diagnostics-access.md)
2 changes: 1 addition & 1 deletion releases/release-5.0.0-rc.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ DBA 在排查 SQL 语句性能问题时,需要比较详细的信息来判断

## 部署及运维

+ TiUP 支持将 TiDB Ansible 的配置信息导入到 TiUP。以前导入 Ansible 集群的时候 TiUP 会将用户的配置放在 `ansible-imported-configs` 目录下面。用户后续修改配置执行 `tiup cluster edit` 时,配置编辑界面中不显示导入的配置,会给用户造成困扰。现在导入 TiDB Ansible 配置信息的时候 TiUP 不仅会放一份到 ansible-imported-configs 目录下面,还会导入到 `tiup cluster edit` 的配置编辑界面,这样用户以后编辑集群配置时就能够看到导入的配置了。
+ TiUP 支持将 TiDB Ansible 的配置信息导入到 TiUP。以前导入 Ansible 集群的时候 TiUP 会将用户的配置放在 `ansible-imported-configs` 目录下面。用户后续修改配置执行 `tiup cluster edit-config` 时,配置编辑界面中不显示导入的配置,会给用户造成困扰。现在导入 TiDB Ansible 配置信息的时候 TiUP 不仅会放一份到 ansible-imported-configs 目录下面,还会导入到 `tiup cluster edit` 的配置编辑界面,这样用户以后编辑集群配置时就能够看到导入的配置了。
+ 增强 TiUP `mirror`命令的功能,支持将多个镜像合并成一个,支持在本地镜像发布组件,支持添加组件所有者到本地镜像 [#814](https://github.com/pingcap/tiup/issues/814)
+ 金融行业或者大型企业生产环境的变更是一项非常严肃的事情,若每个版本都采用光盘安装一次,用户使用起来不是很方便。TiUP 提升 `merge` 命令将多个安装包合并成一个,方便 DBA 安装部署。
+ 在 v4.0 中,用户发布自建的镜像时需要启动 tiup-server,使用起来不是很方便。在 v5.0 中,执行 `tiup mirror set` 将当前镜像设置成本地的镜像就可以方便发布自建镜像。
Loading

0 comments on commit 447f800

Please sign in to comment.