| <?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/rql/rule-query/single-table/</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/rql/rule-query/single-table/index.xml" rel="self" type="application/rss+xml" /> |
| <item> |
| <title>SHOW SINGLE TABLE</title> |
| <link>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/single-table/show-single-table/</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/rql/rule-query/single-table/show-single-table/</guid> |
| <description>描述 SHOW SINGLE TABLE 语法用于查询指定逻辑库中的单表。 |
| 语法 Grammar Railroad diagram ShowSingleTable::= &#39;SHOW&#39; &#39;SINGLE&#39; (&#39;TABLES&#39; (&#39;LIKE&#39; likeLiteral)?|&#39;TABLE&#39; tableName) (&#39;FROM&#39; databaseName)? tableName ::= identifier databaseName ::= identifier 补充说明 未指定 databaseName 时,默认是当前使用的 DATABASE。 如果也未使用 DATABASE 则会提示 No database selected。 返回值说明 列 说明 table_name 单表名称 storage_unit_name 单表所在的数据源名称 示例 查询指定逻辑库中的指定单表 SHOW SINGLE TABLE t_user FROM sharding_db; mysql&gt; SHOW SINGLE TABLE t_user FROM sharding_db; +------------+---------------+ | table_name | resource_name | +------------+---------------+ | t_user | ds_0 | +------------+---------------+ 1 row in set (0.</description> |
| </item> |
| |
| <item> |
| <title>SHOW DEFAULT SINGLE TABLE STORAGE UNIT</title> |
| <link>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/single-table/show-deafult-single-table-storage-unit/</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/rql/rule-query/single-table/show-deafult-single-table-storage-unit/</guid> |
| <description>描述 SHOW DEFAULT SINGLE TABLE STORAGE UNIT 语法用于查询指定逻辑库中的存储单元信息。 |
| 语法 Grammar Railroad diagram ShowDefaultSingleTableStorageUnit::= &#39;SHOW&#39; &#39;DEFAULT&#39; &#39;SINGLE&#39; &#39;TABLE&#39; &#39;STORAGE&#39; &#39;UNIT&#39; (&#39;FROM&#39; databaseName)? databaseName ::= identifier 补充说明 未指定 databaseName 时,默认是当前使用的 DATABASE。 如果也未使用 DATABASE 则会提示 No database selected。 返回值说明 列 说明 storage_unit_name 存储单元名称 示例 查询当前逻辑库中的存储单元信息 SHOW DEFAULT SINGLE TABLE STORAGE UNIT sql&gt; SHOW DEFAULT SINGLE TABLE STORAGE UNIT; +-------------------+ | storage_unit_name | +-------------------+ | ds_0 | +-------------------+ 1 row in set (0.</description> |
| </item> |
| |
| <item> |
| <title>COUNT SINGLE_TABLE RULE</title> |
| <link>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/single-table/count-single-table/</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/rql/rule-query/single-table/count-single-table/</guid> |
| <description>描述 COUNT SINGLE TABLE 语法用于查询指定逻辑库中的单表个数。 |
| 语法 Grammar Railroad diagram CountSingleTable::= &#39;COUNT&#39; &#39;SINGLE&#39; &#39;TABLE&#39; (&#39;FROM&#39; databaseName)? databaseName ::= identifier 补充说明 未指定 databaseName 时,默认是当前使用的 DATABASE。 如果也未使用 DATABASE 则会提示 No database selected。 返回值说明 列 说明 database 单表所在的数据库名称 count 单表个数 示例 查询当前逻辑库中的单表规则个数 COUNT SINGLE TABLE mysql&gt; COUNT SINGLE TABLE; +----------+--------+ | database | count | +----------+--------+ | ds | 2 | +----------+--------+ 1 row in set (0.</description> |
| </item> |
| |
| <item> |
| <title>SHOW UNLOADED SINGLE TABLES</title> |
| <link>https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/single-table/show-unloaded-single-tables/</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/rql/rule-query/single-table/show-unloaded-single-tables/</guid> |
| <description>描述 SHOW UNLOADED SINGLE TABLES 语法用于查询未加载的单表。 |
| 语法 Grammar Railroad diagram showUnloadedSingleTables::= &#39;SHOW&#39; &#39;UNLOADED&#39; &#39;SINGLE&#39; &#39;TABLES&#39; 返回值说明 列 说明 table_name 单表名称 storage_unit_name 单表所在的存储单元名称 示例 查询未加载的单表 SHOW UNLOADED SINGLE TABLES; mysql&gt; SHOW UNLOADED SINGLE TABLES; +------------+-------------------+ | table_name | storage_unit_name | +------------+-------------------+ | t_single | ds_1 | +------------+-------------------+ 1 row in set (0.</description> |
| </item> |
| |
| </channel> |
| </rss> |