This is an automated email from the ASF dual-hosted git repository.
zhangliang 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 6145d756502 Modify the documentation for the DistSQL resource-related
examples. (#19012)
6145d756502 is described below
commit 6145d75650236815efb41ea30e57496691a6e678
Author: Jieker <[email protected]>
AuthorDate: Mon Jul 11 13:18:43 2022 +0800
Modify the documentation for the DistSQL resource-related examples. (#19012)
---
.../distsql/syntax/rql/resource-query.cn.md | 12 ++++++------
.../distsql/syntax/rql/resource-query.en.md | 12 ++++++------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/resource-query.cn.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/resource-query.cn.md
index fa56fb5e551..22ec5c0bf3e 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/resource-query.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/resource-query.cn.md
@@ -24,11 +24,11 @@ SHOW DATABASE RESOURCES [FROM databaseName]
```sql
mysql> SHOW DATABASE RESOURCES;
-+------+-------+-----------+------+------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| name | type | host | port | db | attribute
|
-+------+-------+-----------+------+------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ds_0 | MySQL | 127.0.0.1 | 3306 | ds_0 |
{"minPoolSize":1,"connectionTimeoutMilliseconds":30000,"maxLifetimeMilliseconds":1800000,"readOnly":false,"idleTimeoutMilliseconds":60000,"maxPoolSize":50}
|
-| ds_1 | MySQL | 127.0.0.1 | 3306 | ds_1 |
{"minPoolSize":1,"connectionTimeoutMilliseconds":30000,"maxLifetimeMilliseconds":1800000,"readOnly":false,"idleTimeoutMilliseconds":60000,"maxPoolSize":50}
|
-+------+-------+-----------+------+------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
++------+-------+-----------+------+------+---------------------------------+---------------------------+---------------------------+---------------+---------------+-----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[...]
+| name | type | host | port | db | connection_timeout_milliseconds |
idle_timeout_milliseconds | max_lifetime_milliseconds | max_pool_size |
min_pool_size | read_only | other_attributes
[...]
++------+-------+-----------+------+------+---------------------------------+---------------------------+---------------------------+---------------+---------------+-----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[...]
+| ds_0 | MySQL | 127.0.0.1 | 3306 | db_0 | 30000 |
60000 | 1800000 | 50 | 1
| false |
{"dataSourceProperties":{"cacheServerConfiguration":"true","elideSetAutoCommits":"true","useServerPrepStmts":"true","cachePrepStmts":"true","rewriteBatchedStatements":"true","cacheResultSetMetadata":"false","useLocalSessionState":"true","maintainTimeStats":"false","prepStmtCacheSize":"8192","tinyInt1isBit":"false
[...]
+| ds_1 | MySQL | 127.0.0.1 | 3306 | db_1 | 30000 |
60000 | 1800000 | 50 | 1
| false |
{"dataSourceProperties":{"cacheServerConfiguration":"true","elideSetAutoCommits":"true","useServerPrepStmts":"true","cachePrepStmts":"true","rewriteBatchedStatements":"true","cacheResultSetMetadata":"false","useLocalSessionState":"true","maintainTimeStats":"false","prepStmtCacheSize":"8192","tinyInt1isBit":"false
[...]
++------+-------+-----------+------+------+---------------------------------+---------------------------+---------------------------+---------------+---------------+-----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[...]
2 rows in set (0.84 sec)
```
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/resource-query.en.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/resource-query.en.md
index 26facfd1c89..48e42448753 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/resource-query.en.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/resource-query.en.md
@@ -24,11 +24,11 @@ SHOW DATABASE RESOURCES [FROM databaseName]
```sql
mysql> SHOW DATABASE RESOURCES;
-+------+-------+-----------+------+------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| name | type | host | port | db | attribute
|
-+------+-------+-----------+------+------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
-| ds_0 | MySQL | 127.0.0.1 | 3306 | ds_0 |
{"minPoolSize":1,"connectionTimeoutMilliseconds":30000,"maxLifetimeMilliseconds":1800000,"readOnly":false,"idleTimeoutMilliseconds":60000,"maxPoolSize":50}
|
-| ds_1 | MySQL | 127.0.0.1 | 3306 | ds_1 |
{"minPoolSize":1,"connectionTimeoutMilliseconds":30000,"maxLifetimeMilliseconds":1800000,"readOnly":false,"idleTimeoutMilliseconds":60000,"maxPoolSize":50}
|
-+------+-------+-----------+------+------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
++------+-------+-----------+------+------+---------------------------------+---------------------------+---------------------------+---------------+---------------+-----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[...]
+| name | type | host | port | db | connection_timeout_milliseconds |
idle_timeout_milliseconds | max_lifetime_milliseconds | max_pool_size |
min_pool_size | read_only | other_attributes
[...]
++------+-------+-----------+------+------+---------------------------------+---------------------------+---------------------------+---------------+---------------+-----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[...]
+| ds_0 | MySQL | 127.0.0.1 | 3306 | db_0 | 30000 |
60000 | 1800000 | 50 | 1
| false |
{"dataSourceProperties":{"cacheServerConfiguration":"true","elideSetAutoCommits":"true","useServerPrepStmts":"true","cachePrepStmts":"true","rewriteBatchedStatements":"true","cacheResultSetMetadata":"false","useLocalSessionState":"true","maintainTimeStats":"false","prepStmtCacheSize":"8192","tinyInt1isBit":"false
[...]
+| ds_1 | MySQL | 127.0.0.1 | 3306 | db_1 | 30000 |
60000 | 1800000 | 50 | 1
| false |
{"dataSourceProperties":{"cacheServerConfiguration":"true","elideSetAutoCommits":"true","useServerPrepStmts":"true","cachePrepStmts":"true","rewriteBatchedStatements":"true","cacheResultSetMetadata":"false","useLocalSessionState":"true","maintainTimeStats":"false","prepStmtCacheSize":"8192","tinyInt1isBit":"false
[...]
++------+-------+-----------+------+------+---------------------------------+---------------------------+---------------------------+---------------+---------------+-----------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[...]
2 rows in set (0.84 sec)
```