From d429f090d289b6a3a9857f07aea2d59b8d5bf25c Mon Sep 17 00:00:00 2001 From: Keke Yi <40977455+yikeke@users.noreply.github.com> Date: Mon, 29 Jun 2020 10:31:37 +0800 Subject: [PATCH 1/2] remove duplicate note --- garbage-collection-configuration.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/garbage-collection-configuration.md b/garbage-collection-configuration.md index 19dadbed3097..d67ffb572152 100644 --- a/garbage-collection-configuration.md +++ b/garbage-collection-configuration.md @@ -96,7 +96,7 @@ update mysql.tidb set VARIABLE_VALUE="24h" where VARIABLE_NAME="tikv_gc_life_tim > **注意:** > -> 该功能目前为实验特性,不建议在生产环境中使用。 +> Green GC 目前是实验性功能,不建议在生产环境中使用。 设定 GC 的 Resolve Locks 阶段中,扫描锁的方式,即是否开启 Green GC(实验性特性)。Resolve Locks 阶段需要扫描整个集群的锁。在不开启 Green GC 的情况下,TiDB 会以 Region 为单位进行扫描。Green GC 提供了“物理扫描”的功能,即每台 TiKV 节点分别绕过 Raft 层直接扫描数据。该功能可以有效缓解 [Hibernate Region](/tikv-configuration-file.md#raftstorehibernate-regions-实验特性) 功能开启时,GC 唤醒全部 Region 的现象,并一定程度上提升 Resolve Locks 阶段的执行速度。 @@ -104,8 +104,6 @@ update mysql.tidb set VARIABLE_VALUE="24h" where VARIABLE_NAME="tikv_gc_life_tim - `"physical"`:使用物理扫描的方式,即开启 Green GC。 > **注意:** -> -> Green GC 目前是实验性功能,不建议在生产环境中使用。 > > 该项配置是隐藏配置。首次开启需要执行: > From 5465c02361ad64fd212e1620cd722a1028bb7bb1 Mon Sep 17 00:00:00 2001 From: Keke Yi <40977455+yikeke@users.noreply.github.com> Date: Mon, 29 Jun 2020 16:50:27 +0800 Subject: [PATCH 2/2] Update garbage-collection-configuration.md --- garbage-collection-configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/garbage-collection-configuration.md b/garbage-collection-configuration.md index d67ffb572152..e2a63348743a 100644 --- a/garbage-collection-configuration.md +++ b/garbage-collection-configuration.md @@ -94,7 +94,7 @@ update mysql.tidb set VARIABLE_VALUE="24h" where VARIABLE_NAME="tikv_gc_life_tim ## `tikv_gc_scan_lock_mode` -> **注意:** +> **警告:** > > Green GC 目前是实验性功能,不建议在生产环境中使用。