select round(sum(DATA_LENGTH / 1024 / 1024 ), 2) from `information_schema`.`tables` where table_schema = '%s' and table_name = '%s' % (db_name, table_name)
单位M
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3