blob: 1ea7c4ca2332632c079da98d95af096142469ef7 [file] [log] [blame]
<?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::= &amp;#39;SHOW&amp;#39; &amp;#39;SINGLE&amp;#39; (&amp;#39;TABLES&amp;#39; (&amp;#39;LIKE&amp;#39; likeLiteral)?|&amp;#39;TABLE&amp;#39; tableName) (&amp;#39;FROM&amp;#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&amp;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::= &amp;#39;SHOW&amp;#39; &amp;#39;DEFAULT&amp;#39; &amp;#39;SINGLE&amp;#39; &amp;#39;TABLE&amp;#39; &amp;#39;STORAGE&amp;#39; &amp;#39;UNIT&amp;#39; (&amp;#39;FROM&amp;#39; databaseName)? databaseName ::= identifier 补充说明 未指定 databaseName 时,默认是当前使用的 DATABASE。 如果也未使用 DATABASE 则会提示 No database selected。 返回值说明 列 说明 storage_unit_name 存储单元名称 示例 查询当前逻辑库中的存储单元信息 SHOW DEFAULT SINGLE TABLE STORAGE UNIT sql&amp;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::= &amp;#39;COUNT&amp;#39; &amp;#39;SINGLE&amp;#39; &amp;#39;TABLE&amp;#39; (&amp;#39;FROM&amp;#39; databaseName)? databaseName ::= identifier 补充说明 未指定 databaseName 时,默认是当前使用的 DATABASE。 如果也未使用 DATABASE 则会提示 No database selected。 返回值说明 列 说明 database 单表所在的数据库名称 count 单表个数 示例 查询当前逻辑库中的单表规则个数 COUNT SINGLE TABLE mysql&amp;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::= &amp;#39;SHOW&amp;#39; &amp;#39;UNLOADED&amp;#39; &amp;#39;SINGLE&amp;#39; &amp;#39;TABLES&amp;#39; 返回值说明 列 说明 table_name 单表名称 storage_unit_name 单表所在的存储单元名称 示例 查询未加载的单表 SHOW UNLOADED SINGLE TABLES; mysql&amp;gt; SHOW UNLOADED SINGLE TABLES; +------------+-------------------+ | table_name | storage_unit_name | +------------+-------------------+ | t_single | ds_1 | +------------+-------------------+ 1 row in set (0.</description>
</item>
</channel>
</rss>