select
concat(round(
sum
(DATA_LENGTH/1024/1024),2),
'MB'
)
as
data
from
TABLES
where
table_schema=
'apoyl'
and
table_name=
'apoyl_test'
;
查看数据库,表,的文件大小
最新推荐文章于 2022-09-18 07:40:20 发布
select
concat(round(
sum
(DATA_LENGTH/1024/1024),2),
'MB'
)
as
data
from
TABLES
where
table_schema=
'apoyl'
and
table_name=
'apoyl_test'
;