##查看所有表信息
SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA = '数据库名称';
##查看各个表数据量
SELECT table_name,table_rows FROM information_schema.tables
WHERE TABLE_SCHEMA = 'ehcore' ORDER BY table_rows DESC;
##查看数据库数据量大小
select concat(round(sum(data_length/1024/1024/1024),2),'G') as data from information_schema.TABLES where TABLE_SCHEMA='ehcore'