摘要:
查询数据库的占用SELECT CONCAT(ROUND(SUM(index_length)/(1024*1024), 2), ' MB') AS 'Total Index Size' , CONCAT(ROUND(SUM(data_length)/(1024*1024), 2), ' MB') AS 'Total Data Size' FROM information_schema.TABLES where table_schema like 'edb_a%' ;查询表的占用SELECT CONCAT(table_ 阅读全文