MYSQL获取表空间大小

SELECT
table_name AS "Table",
round(((data_length + index_length) / 1024 / 1024), 2) as size
FROM information_schema.TABLES where table_name= "audit_log"
ORDER BY size DESC;

猜你喜欢

转载自www.cnblogs.com/gigi2653/p/12377442.html