[build by hexo/next/gitalk/hexo-generator-search/LaTeX]"> MySQL-元数据(information_schema库) 发表于 2016-12-29 分类于 MySQL 1234567use information_schema;select concat(round(data_length/1024/1024,2),'MB') as data_length_MB,concat(round(index_length/1024/1024,2),'MB') as index_length_MBfrom tables wheretable_schema='<数据库名>'and table_name = '<表名>';