• 查看Mysql数据库有多大

    日期:2011-11-29 | 分类:Mysql数据库

    方法一:SELECT table_schema AS 'DBname',
    Round( Sum( data_length + index_length ) / 1024 / 1024, 3 ) AS 'Db Size (MB)',
    Round( Sum( data_free ) / 1024 / 1024, 3 ) AS 'Free Space (MB)'
    FROM information_schema.tables GROUP BY table_schema ;...