sql,SELECT table_schema AS 'Database', , ROUND(SUM(data_length + index_length) / 1024 / 1024, 2) AS 'Size (MB)' ,FROM information_schema.tables ,GROUP BY table_schema;,
``,,这条语句会返回每个数据库的名称及其大小(以 MB 为单位)。Powered By Z-BlogPHP 1.7.3
Copyright Your WebSite.Some Rights Reserved.