1.查询某个数据库中表的数量:
SELECT COUNT( * ) FROM information_schema.tables WHERE TABLE_SCHEMA = 'your_db_name'
2.是否支持分区:
show variables like '%partition%'
3.查看表的定义:
show create table table_name
1.查询某个数据库中表的数量:
SELECT COUNT( * ) FROM information_schema.tables WHERE TABLE_SCHEMA = 'your_db_name'
2.是否支持分区:
show variables like '%partition%'
3.查看表的定义:
show create table table_name