mysql查询表占用空间

select * from information_schema.TABLES where information_schema.TABLES.TABLE_SCHEMA = 'asdf' and information_schema.TABLES.TABLE_NAME = 'ads_recover' \G";

查询数据库'asdf'中的表'ads_recover'的大小
总大小 = DATA_LENGTH + INDEX_LENGTH

猜你喜欢

转载自13636476894.iteye.com/blog/1533650