您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

MySQL 获取数据库实际的大小

2025/11/30 12:23:13发布20次查看
通过一个sql语句便可知道你的数据库占用多大的空间 无 selectconcat(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%' ;-- 其
通过一个sql语句便可知道你的数据库占用多大的空间
selectconcat(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便是你的数据库名
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product