清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>
SELECT CONCAT(sum(ROUND(((DATA_LENGTH + INDEX_LENGTH - DATA_FREE) / 1024 / 1024),2))," MB") AS Size FROM INFORMATION_SCHEMA.TABLES where TABLE_SCHEMA like '%YOUR_DATABASE_NAME_HERE%' ; -- 其中YOUR_DATABASE_NAME_HERE便是你的数据库名