This is an automated email from the ASF dual-hosted git repository. yy2so pushed a commit to branch yy2so-patch-5 in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
commit 76a7f4ac5e37d57dd37273cd6f5362c3a1d3172a Author: Yacine Si Tayeb <[email protected]> AuthorDate: Mon Jul 3 11:36:48 2023 +0800 Update create-readwrite-splitting-rule.en.md --- .../create-readwrite-splitting-rule.en.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/rule-definition/readwrite-splitting/create-readwrite-splitting-rule.en.md b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/rule-definition/readwrite-splitting/create-readwrite-splitting-rule.en.md index 13a52b7e0d2..94f3a23b35b 100644 --- a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/rule-definition/readwrite-splitting/create-readwrite-splitting-rule.en.md +++ b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/rule-definition/readwrite-splitting/create-readwrite-splitting-rule.en.md @@ -5,7 +5,7 @@ weight = 1 ## Description -The `CREATE READWRITE_SPLITTING RULE` syntax is used to create a readwrite-splitting rule. +The `CREATE READWRITE_SPLITTING RULE` syntax is used to create a read/write splitting rule. ### Syntax @@ -60,16 +60,16 @@ value ::= {{% /tab %}} {{< /tabs >}} -### Supplement +### Note - `transactionalReadQueryStrategyType` specifies the routing strategy for read query within a transaction, please refer to [YAML configuration](/en/user-manual/shardingsphere-jdbc/yaml-config/rules/readwrite-splitting/); - `loadBalancerType` specifies the load balancing algorithm type, please refer to [Load Balance Algorithm](/en/user-manual/common-config/builtin-algorithm/load-balance/); - Duplicate `ruleName` will not be created; -- `ifNotExists` clause used for avoid `Duplicate readwrite_splitting rule` error. +- `ifNotExists` clause used to avoid the `Duplicate readwrite_splitting rule` error. ### Example -#### Create a readwrite-splitting rule +#### Create a read/write splitting rule ```sql CREATE READWRITE_SPLITTING RULE ms_group_0 ( @@ -79,9 +79,9 @@ CREATE READWRITE_SPLITTING RULE ms_group_0 ( ); ``` -#### Create readwrite-splitting rule with `ifNotExists` clause +#### Create read/write splitting rule with the `ifNotExists` clause -- readwrite-splitting rule +- read/write splitting rule ```sql CREATE READWRITE_SPLITTING RULE IF NOT EXISTS ms_group_0 ( @@ -91,12 +91,12 @@ CREATE READWRITE_SPLITTING RULE IF NOT EXISTS ms_group_0 ( ); ``` -### Reserved word +### Reserved words `CREATE`, `READWRITE_SPLITTING`, `RULE`, `WRITE_STORAGE_UNIT`, `READ_STORAGE_UNITS` , `TYPE`, `NAME`, `PROPERTIES`, `TRUE`, `FALSE` ### Related links -- [Reserved word](/en/user-manual/shardingsphere-proxy/distsql/syntax/reserved-word/) +- [Reserved words](/en/user-manual/shardingsphere-proxy/distsql/syntax/reserved-word/) - [Load Balance Algorithm](/en/user-manual/common-config/builtin-algorithm/load-balance/)
