This is an automated email from the ASF dual-hosted git repository.
menghaoran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 430581a Update proxy/props (#13635)
430581a is described below
commit 430581aa28f93663f9e83955004aa265dade9f44
Author: Liang Zhang <[email protected]>
AuthorDate: Tue Nov 16 12:05:06 2021 +0800
Update proxy/props (#13635)
---
.../shardingsphere-proxy/{yaml-config => }/props.cn.md | 5 +++--
.../shardingsphere-proxy/{yaml-config => }/props.en.md | 10 +++++-----
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/yaml-config/props.cn.md
b/docs/document/content/user-manual/shardingsphere-proxy/props.cn.md
similarity index 95%
rename from
docs/document/content/user-manual/shardingsphere-proxy/yaml-config/props.cn.md
rename to docs/document/content/user-manual/shardingsphere-proxy/props.cn.md
index 1e44c21..a63fbdc 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/yaml-config/props.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-proxy/props.cn.md
@@ -1,6 +1,6 @@
+++
title = "属性配置"
-weight = 2
+weight = 4
chapter = true
+++
@@ -27,4 +27,5 @@ Apache ShardingSphere 提供属性配置的方式配置系统级配置。
| proxy-backend-executor-suitable (?)| String | 可选选项:OLAP、OLTP。OLTP
选项可能会减少向客户端写入数据包的时间开销,但如果客户端连接数超过 `proxy-frontend-netty-executor-size`,尤其是执行慢
SQL 时,它可能会增加 SQL 执行的延迟。 | OLAP | 否 |
| sql-federation-enabled (?) | boolean | 是否开启 federation 查询。
| false | 是
|
-支持动态修改的属性通过 [DistSQL](/cn/user-manual/shardingsphere-proxy/usage/distsql/)
配置后能立即生效,不支持动态修改的属性也可以通过 DistSQL 配置但需要重启后生效。
+属性配置可以通过 [DistSQL](/cn/user-manual/shardingsphere-proxy/usage/distsql/) 修改。
+支持动态修改的属性可以立即生效,不支持动态修改的属性需要重启后生效。
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/yaml-config/props.en.md
b/docs/document/content/user-manual/shardingsphere-proxy/props.en.md
similarity index 94%
rename from
docs/document/content/user-manual/shardingsphere-proxy/yaml-config/props.en.md
rename to docs/document/content/user-manual/shardingsphere-proxy/props.en.md
index bbdc725..855dd26 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/yaml-config/props.en.md
+++ b/docs/document/content/user-manual/shardingsphere-proxy/props.en.md
@@ -1,6 +1,6 @@
+++
title = "Properties"
-weight = 2
+weight = 4
chapter = true
+++
@@ -10,7 +10,7 @@ Apache ShardingSphere provides the way of property
configuration to configure sy
## Configuration Item Explanation
-| *Name* | *Data Type* | *Description*
| *Default Value* | *dynamic update* |
+| *Name* | *Data Type* | *Description*
| *Default Value* | *Dynamic Update* |
| ----------------------------------- | ----------- |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
--------------- |----------------- |
| sql-show (?) | boolean | Whether show SQL or not
in log. <br /> Print SQL details can help developers debug easier. The log
details include: logic SQL, actual SQL and SQL parse result. <br /> Enable this
property will log into log topic `ShardingSphere-SQL`, log level is INFO.
| false | true |
| sql-simple (?) | boolean | Whether show SQL details
in simple style.
| false | true |
@@ -25,7 +25,7 @@ Apache ShardingSphere provides the way of property
configuration to configure sy
| sql-comment-parse-enabled (?) | boolean | Whether parse the
comment of SQL.
| false | true |
| proxy-frontend-executor-size (?) | int | Proxy frontend Netty
executor size. The default value is 0, which means let Netty decide.
| 0 | false |
| proxy-backend-executor-suitable (?) | String | Available options of
proxy backend executor suitable: OLAP(default), OLTP. The OLTP option may
reduce time cost of writing packets to client, but it may increase the latency
of SQL execution if client connections are more than
`proxy-frontend-netty-executor-size`, especially executing slow SQL. | OLAP
| false |
-| sql-federation-enabled (?) | boolean | Whether enable sql
federation.
| false | true |
+| sql-federation-enabled (?) | boolean | Whether enable sql
federation.
| false | true |
-Properties that support dynamic modification can take effect immediately after
being configured through
[DistSQL](/en/user-manual/shardingsphere-proxy/usage/distsql/).
-Properties that do not support dynamic modification can also be configured
through DistSQL but need to be restarted to take effect.
\ No newline at end of file
+Properties can be updated by
[DistSQL](/cn/user-manual/shardingsphere-proxy/usage/distsql/).
+Dynamic update can take effect immediately, static update can take effect
after restarted.