| <?xml version="1.0" encoding="utf-8" standalone="yes"?> |
| <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> |
| <channel> |
| <title>Sharding on ShardingSphere</title> |
| <link>https://shardingsphere.apache.org/document/current/en/reference/distsql/syntax/rdl/rule-definition/sharding/</link> |
| <description>Recent content in Sharding on ShardingSphere</description> |
| <generator>Hugo -- gohugo.io</generator> |
| <language>en-us</language> |
| |
| <atom:link href="https://shardingsphere.apache.org/document/current/en/reference/distsql/syntax/rdl/rule-definition/sharding/index.xml" rel="self" type="application/rss+xml" /> |
| |
| |
| <item> |
| <title>CREATE SHARDING TABLE RULE</title> |
| <link>https://shardingsphere.apache.org/document/current/en/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-table-rule/</link> |
| <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> |
| |
| <guid>https://shardingsphere.apache.org/document/current/en/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-table-rule/</guid> |
| <description>Description The CREATE SHARDING TABLE RULE syntax is used to add sharding table rule for the currently selected database |
| Syntax CreateShardingTableRule ::= &#39;CREATE&#39; &#39;SHARDING&#39; &#39;TABLE&#39; &#39;RULE&#39; ( tableDefinition | autoTableDefinition ) ( &#39;,&#39; ( tableDefinition | autoTableDefinition ) )* tableDefinition ::= tableName &#39;(&#39; &#39;DATANODES&#39; &#39;(&#39; dataNode ( &#39;,&#39; dataNode )* &#39;)&#39; ( &#39;,&#39; &#39;DATABASE_STRATEGY&#39; &#39;(&#39; strategyDefinition &#39;)&#39; )? ( &#39;,&#39; &#39;TABLE_STRATEGY&#39; &#39;(&#39; strategyDefinition &#39;)&#39; )? ( &#39;,&#39; &#39;KEY_GENERATE_STRATEGY&#39; &#39;(&#39; keyGenerateStrategyDefinition &#39;)&#39; )?</description> |
| </item> |
| |
| <item> |
| <title>ALTER SHARDING TABLE RULE</title> |
| <link>https://shardingsphere.apache.org/document/current/en/reference/distsql/syntax/rdl/rule-definition/sharding/alter-sharding-table-rule/</link> |
| <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> |
| |
| <guid>https://shardingsphere.apache.org/document/current/en/reference/distsql/syntax/rdl/rule-definition/sharding/alter-sharding-table-rule/</guid> |
| <description>Description The ALTER SHARDING TABLE RULE syntax is used to alter sharding table rule for the currently selected database |
| Syntax AlterShardingTableRule ::= &#39;ALTER&#39; &#39;SHARDING&#39; &#39;TABLE&#39; &#39;RULE&#39; ( tableDefinition | autoTableDefinition ) ( &#39;,&#39; ( tableDefinition | autoTableDefinition ) )* tableDefinition ::= tableName &#39;(&#39; &#39;DATANODES&#39; &#39;(&#39; dataNode ( &#39;,&#39; dataNode )* &#39;)&#39; ( &#39;,&#39; &#39;DATABASE_STRATEGY&#39; &#39;(&#39; strategyDefinition &#39;)&#39; )? ( &#39;,&#39; &#39;TABLE_STRATEGY&#39; &#39;(&#39; strategyDefinition &#39;)&#39; )? ( &#39;,&#39; &#39;KEY_GENERATE_STRATEGY&#39; &#39;(&#39; keyGenerateStrategyDefinition &#39;)&#39; )?</description> |
| </item> |
| |
| <item> |
| <title>CREATE SHARDING ALGORITHM</title> |
| <link>https://shardingsphere.apache.org/document/current/en/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-algorithm/</link> |
| <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> |
| |
| <guid>https://shardingsphere.apache.org/document/current/en/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-algorithm/</guid> |
| <description>Description The CREATE SHARDING ALGORITHM syntax is used to create a sharding algorithm for the currently selected database. |
| Syntax CreateShardingAlgorithm ::= &#39;CREATE&#39; &#39;SHARDING&#39; &#39;ALGORITHM&#39; shardingAlgorithmName &#39;(&#39; algorithmDefinition &#39;)&#39; algorithmDefinition ::= &#39;TYPE&#39; &#39;(&#39; &#39;NAME&#39; &#39;=&#39; algorithmType ( &#39;,&#39; &#39;PROPERTIES&#39; &#39;(&#39; propertyDefinition &#39;)&#39; )?&#39;)&#39; propertyDefinition ::= ( key &#39;=&#39; value ) ( &#39;,&#39; key &#39;=&#39; value )* shardingAlgorithmName ::= identifier algorithmType ::= identifier Supplement algorithmType is the sharding algorithm type. For detailed sharding algorithm type information, please refer to Sharding Algorithm.</description> |
| </item> |
| |
| <item> |
| <title>CREATE DEFAULT SHARDING STRATEGY</title> |
| <link>https://shardingsphere.apache.org/document/current/en/reference/distsql/syntax/rdl/rule-definition/sharding/create-default-sharding-strategy/</link> |
| <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> |
| |
| <guid>https://shardingsphere.apache.org/document/current/en/reference/distsql/syntax/rdl/rule-definition/sharding/create-default-sharding-strategy/</guid> |
| <description>Description The CREATE DEFAULT SHARDING STRATEGY syntax is used to create a default sharding strategy |
| Syntax CreateDefaultShardingStrategy ::= &#39;CREATE&#39; &#39;DEFAULT&#39; &#39;SHARDING&#39; (&#39;DATABASE&#39; | &#39;TABLE&#39;) &#39;STRATEGY&#39; &#39;(&#39; shardingStrategy &#39;)&#39; shardingStrategy ::= &#39;TYPE&#39; &#39;=&#39; strategyType &#39;,&#39; ( &#39;SHARDING_COLUMN&#39; &#39;=&#39; columnName | &#39;SHARDING_COLUMNS&#39; &#39;=&#39; columnNames ) &#39;,&#39; ( &#39;SHARDING_ALGORITHM&#39; &#39;=&#39; algorithmName | algorithmDefinition ) algorithmDefinition ::= &#39;TYPE&#39; &#39;(&#39; &#39;NAME&#39; &#39;=&#39; algorithmType ( &#39;,&#39; &#39;PROPERTIES&#39; &#39;(&#39; propertyDefinition &#39;)&#39; )?&#39;)&#39; columnNames ::= columnName (&#39;,&#39; columnName)+ columnName ::= identifier algorithmName ::= identifier algorithmType ::= identifier Supplement When using the complex sharding algorithm, multiple sharding columns need to be specified using SHARDING_COLUMNS; algorithmType is the sharding algorithm type.</description> |
| </item> |
| |
| <item> |
| <title>CREATE SHARDING BINDING TABLE RULE</title> |
| <link>https://shardingsphere.apache.org/document/current/en/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-binding-table-rule/</link> |
| <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> |
| |
| <guid>https://shardingsphere.apache.org/document/current/en/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-binding-table-rule/</guid> |
| <description>Description The CREATE SHARDING BINDING TABLE RULE syntax is used to add binding relationships and create binding table rules for tables with sharding table rules |
| Syntax CreateBindingTableRule ::= &#39;CREATE&#39; &#39;SHARDING&#39; &#39;BINDING&#39; &#39;TABLE&#39; &#39;RULES&#39; bindingTableDefinition (&#39;,&#39; bindingTableDefinition )* bindingTableDefinition ::= &#39;(&#39; tableName (&#39;,&#39; tableName)* &#39;)&#39; tableName ::= identifier Supplement Creating binding relationships rules can only use sharding tables; A sharding table can only have one binding relationships; The sharding table for creating binding relationships needs to use the same resources and the same actual tables.</description> |
| </item> |
| |
| <item> |
| <title>CREATE SHARDING BROADCAST TABLE RULE</title> |
| <link>https://shardingsphere.apache.org/document/current/en/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-broadcast-table-rule/</link> |
| <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> |
| |
| <guid>https://shardingsphere.apache.org/document/current/en/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-broadcast-table-rule/</guid> |
| <description>Description The CREATE SHARDING BROADCAST TABLE RULE syntax is used to create broadcast table rules for tables that need to be broadcast (broadcast tables) |
| Syntax CreateBroadcastTableRule ::= &#39;CREATE&#39; &#39;SHARDING&#39; &#39;BROADCAST&#39; &#39;TABLE&#39; &#39;RULES&#39; &#39;(&#39; tableName (&#39;,&#39; tableName)* &#39;)&#39; tableName ::= identifier Supplement tableName can use an existing table or a table that will be created; Only one broadcast rule can exist, but can contain multiple broadcast tables, so can not execute CREATE SHARDING BROADCAST TABLE RULE more than one time.</description> |
| </item> |
| |
| <item> |
| <title>CREATE SHARDING KEY GENERATOR</title> |
| <link>https://shardingsphere.apache.org/document/current/en/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-key-generator/</link> |
| <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> |
| |
| <guid>https://shardingsphere.apache.org/document/current/en/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-key-generator/</guid> |
| <description>Description The CREATE SHARDING KEY GENERATOR syntax is used to add a distributed primary key generator for the currently selected logic database |
| Syntax CreateShardingAlgorithm ::= &#39;CREATE&#39; &#39;SHARDING&#39; &#39;KEY&#39; &#39;GENERATOR&#39; keyGeneratorName &#39;(&#39; algorithmDefinition &#39;)&#39; algorithmDefinition ::= &#39;TYPE&#39; &#39;(&#39; &#39;NAME&#39; &#39;=&#39; algorithmType ( &#39;,&#39; &#39;PROPERTIES&#39; &#39;(&#39; propertyDefinition &#39;)&#39; )?&#39;)&#39; propertyDefinition ::= ( key &#39;=&#39; value ) ( &#39;,&#39; key &#39;=&#39; value )* keyGeneratorName ::= identifier algorithmType ::= identifier Supplement algorithmType is the key generate algorithm type.</description> |
| </item> |
| |
| </channel> |
| </rss> |