SHOW DEFAULT SINGLE TABLE STORAGE UNIT
Description
The SHOW DEFAULT SINGLE TABLE STORAGE UNIT
syntax is used to query storage units for specified database.
Syntax
ShowDefaultSingleTableStorageUnit::=
'SHOW' 'DEFAULT' 'SINGLE' 'TABLE' 'STORAGE' 'UNIT' ('FROM' databaseName)?
databaseName ::=
identifier
Supplement
- When
databaseName
is not specified, the default is the currently usedDATABASE
. IfDATABASE
is not used,No database selected
will be prompted.
Return Value Description
Column | Description |
---|---|
storage_unit_name | Storage unit name |
Example
- Query storage units for specified database.
SHOW DEFAULT SINGLE TABLE STORAGE UNIT
sql> SHOW DEFAULT SINGLE TABLE STORAGE UNIT;
+-------------------+
| storage_unit_name |
+-------------------+
| ds_0 |
+-------------------+
1 row in set (0.01 sec)
Reserved word
SHOW
, DEFAULT
, SINGLE
, TABLE
, STORAGE
, UNIT
Related links
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .