Mysql数据库有一个  information_schema 库

在这个库下 执行下面的语句:

SELECT

concat(
round(
sum(DATA_LENGTH / 1024 / 1024),
2
),
'MB'
) AS DATA
FROM
TABLES
WHERE
table_schema = 'cloud'

AND table_name = 'table_event';

-- table_schema 是指  表所属的库名称

--table_name 是指 表的名称

查看数据表的数据容量大小

相关文章:

  • 2021-11-29
  • 2021-07-31
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
猜你喜欢
  • 2021-11-29
  • 2021-12-02
  • 2021-06-17
  • 2021-08-26
相关资源
相似解决方案