| <?xml version="1.0" encoding="utf-8" standalone="yes"?> |
| <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> |
| <channel> |
| <title>熔断 on ShardingSphere</title> |
| <link>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/ral/circuit-breaker/</link> |
| <description>Recent content in 熔断 on ShardingSphere</description> |
| <generator>Hugo -- gohugo.io</generator> |
| <language>en-us</language><atom:link href="https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/ral/circuit-breaker/index.xml" rel="self" type="application/rss+xml" /> |
| <item> |
| <title>ALTER READWRITE_SPLITTING RULE ENABLE/DISABLE</title> |
| <link>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/ral/circuit-breaker/alter-readwrite-splitting-rule-enable-disable/</link> |
| <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> |
| |
| <guid>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/ral/circuit-breaker/alter-readwrite-splitting-rule-enable-disable/</guid> |
| <description>描述 ALTER READWRITE_SPLITTING RULE ENABLE/DISABLE 语法用于启用/禁用指定逻辑库中指定读写分离规则中的指定读数据存储单元。 |
| 语法定义 语法 铁路图 AlterReadwriteSplittingRule ::= &#39;ALTER&#39; &#39;READWRITE_SPLITTING&#39; &#39;RULE&#39; groupName (&#39;ENABLE&#39; | &#39;DISABLE&#39;) storageUnitName &#39;FROM&#39; databaseName groupName ::= identifier storageUnitName ::= identifier databaseName ::= identifier 补充说明 未指定 databaseName 时,默认是当前使用的 DATABASE。 如果也未使用 DATABASE 则会提示 No database selected。 示例 禁用指定逻辑库中指定读写分离规则中的指定读数据存储单元 ALTER READWRITE_SPLITTING RULE ms_group_0 DISABLE read_ds_0 FROM sharding_db; 启用指定逻辑库中指定读写分离规则中的指定读数据存储单元 ALTER READWRITE_SPLITTING RULE ms_group_0 ENABLE read_ds_0 FROM sharding_db; 禁用当前逻辑库中指定读写分离规则中的指定读数据存储单元 ALTER READWRITE_SPLITTING RULE ms_group_0 DISABLE read_ds_0; 启用当前逻辑库中指定读写分离规则中的指定读数据存储单元 ALTER READWRITE_SPLITTING RULE ms_group_1 ENABLE read_ds_0; 保留字 ALTER、READWRITE_SPLITTING、RULE、ENABLE、DISABLE</description> |
| </item> |
| |
| <item> |
| <title>SHOW STATUS FROM READWRITE_SPLITTING RULE</title> |
| <link>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/ral/circuit-breaker/show-status-from-readwrite-splitting-rule/</link> |
| <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> |
| |
| <guid>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/ral/circuit-breaker/show-status-from-readwrite-splitting-rule/</guid> |
| <description>描述 SHOW STATUS FROM READWRITE_SPLITTING RULE 语法用于查询指定逻辑库中指定读写分离规则中读写分离存储单元状态。 |
| 语法 语法 铁路图 ShowStatusFromReadwriteSplittingRule ::= &#39;SHOW&#39; &#39;STATUS&#39; &#39;FROM&#39; &#39;READWRITE_SPLITTING&#39; (&#39;RULES&#39; | &#39;RULE&#39; groupName) (&#39;FROM&#39; databaseName)? groupName ::= identifier databaseName ::= identifier 补充说明 未指定 databaseName 时,默认是当前使用的 DATABASE。 如果也未使用 DATABASE 则会提示 No database selected。 返回值说明 列 说明 storage_unit 存储单元名称 status 存储单元状态 示例 查询指定逻辑库中指定读写分离规则中读写分离存储单元状态 SHOW STATUS FROM READWRITE_SPLITTING RULE ms_group_0 FROM sharding_db; mysql&gt; SHOW STATUS FROM READWRITE_SPLITTING RULE ms_group_0 FROM sharding_db; +--------------+----------+ | storage_unit | status | +--------------+----------+ | ds_0 | disabled | +--------------+----------+ 1 rows in set (0.</description> |
| </item> |
| |
| <item> |
| <title>SHOW COMPUTE NODES</title> |
| <link>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/ral/circuit-breaker/show-compute-nodes/</link> |
| <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> |
| |
| <guid>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/ral/circuit-breaker/show-compute-nodes/</guid> |
| <description>描述 SHOW COMPUTE NODES 语法用于查询计算节点信息。 |
| 语法 语法 铁路图 ShowComputeNodes ::= &#39;SHOW&#39; &#39;COMPUTE&#39; &#39;NODES&#39; 返回值说明 列 说明 instance_id 实例 id instance_type 实例类型 host 主机地址 port 端口号 status 实例状态 mode_type 模式类型 worker_id worker id labels 标签 version 版本 示例 mysql&gt; SHOW COMPUTE NODES; +--------------------------------------+---------------+------------+------+--------+------------+-----------+--------+----------+ | instance_id | instance_type | host | port | status | mode_type | worker_id | labels | version | +--------------------------------------+---------------+------------+------+--------+------------+-----------+--------+----------+ | 3e84d33e-cb97-42f2-b6ce-f78fea0ded89 | PROXY | 127.</description> |
| </item> |
| |
| <item> |
| <title>ENABLE/DISABLE COMPUTE NODE</title> |
| <link>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/ral/circuit-breaker/enable-disable-compute-node/</link> |
| <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> |
| |
| <guid>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/ral/circuit-breaker/enable-disable-compute-node/</guid> |
| <description>描述 ENABLE/DISABLE COMPUTE NODE 语法用于启用/禁用指定 proxy 实例。 |
| 语法定义 语法 铁路图 EnableDisableComputeNode ::= (&#39;ENABLE&#39; | &#39;DISABLE&#39;) &#39;COMPUTE&#39; &#39;NODE&#39; instanceId instanceId ::= string 补充说明 instanceId 需要通过 SHOW COMPUTE NODES 语法查询得到 |
| 不可禁用当前正在使用的 proxy 实例 |
| 示例 禁用指定 proxy 实例 DISABLE COMPUTE NODE &#39;734bb086-b15d-4af0-be87-2372d8b6a0cd&#39;; 启用指定 proxy 实例 ENABLE COMPUTE NODE &#39;734bb086-b15d-4af0-be87-2372d8b6a0cd&#39;; 保留字 ENABLE、DISABLE、COMPUTE、NODE |
| 相关链接 保留字 SHOW COMPUTE NODES </description> |
| </item> |
| |
| <item> |
| <title>LABEL|RELABEL COMPUTE NODE</title> |
| <link>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/ral/circuit-breaker/label-relabel-compute-node/</link> |
| <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> |
| |
| <guid>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/ral/circuit-breaker/label-relabel-compute-node/</guid> |
| <description>描述 LABEL|RELABEL COMPUTE NODE 语法用于为 PROXY 实例添加标签。 |
| 语法 语法 铁路图 LableRelabelComputeNodes ::= (&#39;LABEL&#39; | &#39;RELABEL&#39;) &#39;COMPUTE&#39; &#39;NODE&#39; instance_id &#39;WITH&#39; labelName instance_id ::= string labelName ::= identifier 补充说明 instance_id 需要通过 SHOW COMPUTE NODES 语法查询获得 |
| RELABEL 用于为 PROXY 实例修改标签 |
| 示例 为 PROXY 实例添加标签 LABEL COMPUTE NODE &#34;0699e636-ade9-4681-b37a-65240c584bb3&#34; WITH label_1; 为 PROXY 实例修改标签 RELABEL COMPUTE NODE &#34;0699e636-ade9-4681-b37a-65240c584bb3&#34; WITH label_2; 保留字 LABEL、RELABEL、COMPUTE、NODE 、WITH</description> |
| </item> |
| |
| <item> |
| <title>UNLABEL COMPUTE NODE</title> |
| <link>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/ral/circuit-breaker/unlabel-compute-node/</link> |
| <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> |
| |
| <guid>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/ral/circuit-breaker/unlabel-compute-node/</guid> |
| <description>描述 UNLABEL COMPUTE NODE 语法用于为 PROXY 实例去除指定标签。 |
| 语法 语法 铁路图 UnlabelComputeNode ::= &#39;UNLABEL&#39; &#39;COMPUTE&#39; &#39;NODE&#39; instance_id &#39;WITH&#39; labelName instance_id ::= string labelName ::= identifier 补充说明 instance_id 需要通过 SHOW COMPUTE NODES 语法查询获得 示例 为 PROXY 实例去除指定标签 UNLABEL COMPUTE NODE &#34;0699e636-ade9-4681-b37a-65240c584bb3&#34; WITH label_1; 保留字 UNLABEL、COMPUTE、NODE、WITH |
| 相关链接 保留字 SHOW COMPUTE NODES </description> |
| </item> |
| |
| </channel> |
| </rss> |