forked from apache/shardingsphere-doc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathold_version_ss
184 lines (172 loc) · 9.87 KB
/
old_version_ss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
commit 5f196a8d57a765d5ad0c569cf1e05214b47e75b0
Author: Raigor <[email protected]>
Date: Wed Jul 14 19:08:11 2021 +0800
For #11247, make datasource configuration match the Hikari properties. (#11326)
* rename props 'maxPoolSize','minPoolSize' to 'maximumPoolSize' and 'minimumIdle'.
* For #11247, remove useless config 'maintenanceIntervalMilliseconds'.
diff --git a/docs/document/content/features/dist-sql/syntax/rql/rql-resource.cn.md b/docs/document/content/features/dist-sql/syntax/rql/rql-resource.cn.md
index ef37a04a00..0075d6b467 100644
--- a/docs/document/content/features/dist-sql/syntax/rql/rql-resource.cn.md
+++ b/docs/document/content/features/dist-sql/syntax/rql/rql-resource.cn.md
@@ -27,8 +27,8 @@ mysql> show 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,"maintenanceIntervalMilliseconds":30000} |
-| ds_1 | MySQL | 127.0.0.1 | 3306 | ds_1 | {"minPoolSize":1,"connectionTimeoutMilliseconds":30000,"maxLifetimeMilliseconds":1800000,"readOnly":false,"idleTimeoutMilliseconds":60000,"maxPoolSize":50,"maintenanceIntervalMilliseconds":30000} |
+| 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} |
+------+-------+-----------+------+------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
2 rows in set (0.84 sec)
```
diff --git a/docs/document/content/features/dist-sql/syntax/rql/rql-resource.en.md b/docs/document/content/features/dist-sql/syntax/rql/rql-resource.en.md
index 8a54a2c100..0cff581ede 100644
--- a/docs/document/content/features/dist-sql/syntax/rql/rql-resource.en.md
+++ b/docs/document/content/features/dist-sql/syntax/rql/rql-resource.en.md
@@ -27,8 +27,8 @@ mysql> show 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,"maintenanceIntervalMilliseconds":30000} |
-| ds_1 | MySQL | 127.0.0.1 | 3306 | ds_1 | {"minPoolSize":1,"connectionTimeoutMilliseconds":30000,"maxLifetimeMilliseconds":1800000,"readOnly":false,"idleTimeoutMilliseconds":60000,"maxPoolSize":50,"maintenanceIntervalMilliseconds":30000} |
+| 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} |
+------+-------+-----------+------+------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
2 rows in set (0.84 sec)
```
diff --git a/docs/document/content/features/governance/management/registry-center.cn.md b/docs/document/content/features/governance/management/registry-center.cn.md
index 6e366dfff2..ccccd38025 100644
--- a/docs/document/content/features/governance/management/registry-center.cn.md
+++ b/docs/document/content/features/governance/management/registry-center.cn.md
@@ -78,7 +78,6 @@ ds_0:
url: jdbc:mysql://127.0.0.1:3306/demo_ds_0?serverTimezone=UTC&useSSL=false
password: null
maxPoolSize: 50
- maintenanceIntervalMilliseconds: 30000
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
minPoolSize: 1
@@ -90,7 +89,6 @@ ds_1:
url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false
password: null
maxPoolSize: 50
- maintenanceIntervalMilliseconds: 30000
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
minPoolSize: 1
diff --git a/docs/document/content/features/governance/management/registry-center.en.md b/docs/document/content/features/governance/management/registry-center.en.md
index a136cb89fe..c536cdbfbe 100644
--- a/docs/document/content/features/governance/management/registry-center.en.md
+++ b/docs/document/content/features/governance/management/registry-center.en.md
@@ -78,7 +78,6 @@ ds_0:
url: jdbc:mysql://127.0.0.1:3306/demo_ds_0?serverTimezone=UTC&useSSL=false
password: null
maxPoolSize: 50
- maintenanceIntervalMilliseconds: 30000
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
minPoolSize: 1
@@ -90,7 +89,6 @@ ds_1:
url: jdbc:mysql://127.0.0.1:3306/demo_ds_1?serverTimezone=UTC&useSSL=false
password: null
maxPoolSize: 50
- maintenanceIntervalMilliseconds: 30000
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
minPoolSize: 1
diff --git a/docs/document/content/features/test-engine/performance-test-sysbench.cn.md b/docs/document/content/features/test-engine/performance-test-sysbench.cn.md
index 9c20e03662..0ae7165f74 100644
--- a/docs/document/content/features/test-engine/performance-test-sysbench.cn.md
+++ b/docs/document/content/features/test-engine/performance-test-sysbench.cn.md
@@ -338,7 +338,6 @@ dataSources:
maxLifetimeMilliseconds: 1800000
maxPoolSize: 256
minPoolSize: 256
- maintenanceIntervalMilliseconds: 30000
ds_1:
url: jdbc:mysql://${host-mysql-2}:3306/sbtest?serverTimezone=UTC&useSSL=false
username: root
@@ -348,7 +347,6 @@ dataSources:
maxLifetimeMilliseconds: 1800000
maxPoolSize: 256
minPoolSize: 256
- maintenanceIntervalMilliseconds: 30000
rules:
- !SHARDING
@@ -516,7 +514,6 @@ dataSources:
maxLifetimeMilliseconds: 1800000
maxPoolSize: 128
minPoolSize: 128
- maintenanceIntervalMilliseconds: 30000
rules:
- !READWRITE_SPLITTING
@@ -543,7 +540,6 @@ dataSources:
maxLifetimeMilliseconds: 1800000
maxPoolSize: 256
minPoolSize: 256
- maintenanceIntervalMilliseconds: 30000
primary_ds_1:
url: jdbc:mysql://${host-mysql-2}:3306/sbtest?serverTimezone=UTC&useSSL=false
username: root
@@ -553,7 +549,6 @@ dataSources:
maxLifetimeMilliseconds: 1800000
maxPoolSize: 256
minPoolSize: 256
- maintenanceIntervalMilliseconds: 30000
rules:
- !SHARDING
@@ -735,7 +730,6 @@ dataSources:
maxLifetimeMilliseconds: 1800000
maxPoolSize: 256
minPoolSize: 256
- maintenanceIntervalMilliseconds: 30000
rules:
- !ENCRYPT
diff --git a/docs/document/content/features/test-engine/performance-test-sysbench.en.md b/docs/document/content/features/test-engine/performance-test-sysbench.en.md
index dd0544e532..c77b77187b 100644
--- a/docs/document/content/features/test-engine/performance-test-sysbench.en.md
+++ b/docs/document/content/features/test-engine/performance-test-sysbench.en.md
@@ -338,7 +338,6 @@ dataSources:
maxLifetimeMilliseconds: 1800000
maxPoolSize: 256
minPoolSize: 256
- maintenanceIntervalMilliseconds: 30000
ds_1:
url: jdbc:mysql://${host-mysql-2}:3306/sbtest?serverTimezone=UTC&useSSL=false
username: root
@@ -348,7 +347,6 @@ dataSources:
maxLifetimeMilliseconds: 1800000
maxPoolSize: 256
minPoolSize: 256
- maintenanceIntervalMilliseconds: 30000
rules:
- !SHARDING
@@ -516,7 +514,6 @@ dataSources:
maxLifetimeMilliseconds: 1800000
maxPoolSize: 128
minPoolSize: 128
- maintenanceIntervalMilliseconds: 30000
rules:
- !READWRITE_SPLITTING
@@ -543,7 +540,6 @@ dataSources:
maxLifetimeMilliseconds: 1800000
maxPoolSize: 256
minPoolSize: 256
- maintenanceIntervalMilliseconds: 30000
primary_ds_1:
url: jdbc:mysql://${host-mysql-2}:3306/sbtest?serverTimezone=UTC&useSSL=false
username: root
@@ -553,7 +549,6 @@ dataSources:
maxLifetimeMilliseconds: 1800000
maxPoolSize: 256
minPoolSize: 256
- maintenanceIntervalMilliseconds: 30000
rules:
- !SHARDING
@@ -735,7 +730,6 @@ dataSources:
maxLifetimeMilliseconds: 1800000
maxPoolSize: 256
minPoolSize: 256
- maintenanceIntervalMilliseconds: 30000
rules:
- !ENCRYPT