关于mysql数据库的表概况 ,查看表状态

SHOW TABLE STATUS FROM `DB_NAME` WHERE  ENGINE IS NOT NULL; 

SHOW TABLE STATUS FROM `DB_NAME`  WHERE NAME IN ('table_1','table_2') AND ENGINE IS NOT NULL; 

 

posted @ 2018-01-08 19:55 Dzs 阅读(...) 评论(...) 编辑 收藏