姜小嫌

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
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

posted on 2018-10-24 14:13  姜小嫌  阅读(196)  评论(0编辑  收藏  举报