查看mysql表的数据大小和索引大小
select data_length,index_length
from information_schema.tables wheretable_schema='tpcc100'
and table_name = 'district';
table_schema:数据库名称
table_name:表名称
查看mysql表的数据大小和索引大小
select data_length,index_length
from information_schema.tables whereand table_name = 'district';
table_schema:数据库名称
table_name:表名称