From b9f7886f0d4c803bc25496b444af3023a58d1de0 Mon Sep 17 00:00:00 2001 From: amyangfei Date: Sun, 12 Sep 2021 14:30:33 +0800 Subject: [PATCH 1/2] tidb: fix default value of `performance.committer-concurrency` --- tidb-configuration-file.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tidb-configuration-file.md b/tidb-configuration-file.md index 17836436a3ce..54242415dd94 100644 --- a/tidb-configuration-file.md +++ b/tidb-configuration-file.md @@ -378,7 +378,7 @@ TiDB 配置文件比命令行参数支持更多的选项。你可以在 [config/ ### `committer-concurrency` + 在单个事务的提交阶段,用于执行提交操作相关请求的 goroutine 数量 -+ 默认值:16 ++ 默认值:128 + 若提交的事务过大,事务提交时的流控队列等待耗时可能会过长,可以通过调大该配置项来加速提交。 ### `stmt-count-limit` @@ -650,4 +650,4 @@ experimental 部分为 TiDB 实验功能相关的配置。该部分从 v3.1.0 ### `allow-expression-index` 从 v4.0.0 版本开始引入 + 用于控制是否能创建表达式索引。自 v5.2.0 版本起,如果表达式中的函数是安全的,你可以直接基于该函数创建表达式索引,不需要打开该配置项。如果要创建基于其他函数的表达式索引,可以打开该配置项,但可能存在正确性问题。通过查询 `tidb_allow_function_for_expression_index` 变量可得到能直接用于创建表达式的安全函数。 -+ 默认值:false \ No newline at end of file ++ 默认值:false From eec6524ea7e55ed2f5b8f7daec736a08ba02e5f6 Mon Sep 17 00:00:00 2001 From: amyangfei Date: Sun, 12 Sep 2021 14:34:02 +0800 Subject: [PATCH 2/2] remove no new line update --- tidb-configuration-file.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-configuration-file.md b/tidb-configuration-file.md index 54242415dd94..a20e9b52ee3b 100644 --- a/tidb-configuration-file.md +++ b/tidb-configuration-file.md @@ -650,4 +650,4 @@ experimental 部分为 TiDB 实验功能相关的配置。该部分从 v3.1.0 ### `allow-expression-index` 从 v4.0.0 版本开始引入 + 用于控制是否能创建表达式索引。自 v5.2.0 版本起,如果表达式中的函数是安全的,你可以直接基于该函数创建表达式索引,不需要打开该配置项。如果要创建基于其他函数的表达式索引,可以打开该配置项,但可能存在正确性问题。通过查询 `tidb_allow_function_for_expression_index` 变量可得到能直接用于创建表达式的安全函数。 -+ 默认值:false ++ 默认值:false \ No newline at end of file