用于查看当前数据库实例的表组信息,包括每个表组的分区情况,每个表组里都包括哪些表等信息。
语法
show_tablegroup_stmt:
SHOW TABLEGROUP [WHERE where_condition]
示例
查找库名为test_db
下的所有tablegroup
信息。
SHOW TABLEGROUP WHERE schema_name='test_db';
用于查看当前数据库实例的表组信息,包括每个表组的分区情况,每个表组里都包括哪些表等信息。
show_tablegroup_stmt:
SHOW TABLEGROUP [WHERE where_condition]
查找库名为test_db
下的所有tablegroup
信息。
SHOW TABLEGROUP WHERE schema_name='test_db';
文章是否有用?
您觉得这篇文档的主要问题是哪些?
其他建议?