1. MySQL查看剩余空间
select table_name,
round(data_length/1024/1024) as data_length_mb,
round(data_free/1024/1024) as data_free_mb
from information_schema.tables
where table_name in
( 'EMPLOYEE', 'DEPARTMENT', 'BENEFITS' );
用一个例子来演示会更加清晰
wx5af80516d3233 博主文章分类:mysql ©著作权
文章标签 MySQL 文章分类 JavaScript 前端开发
1. MySQL查看剩余空间
select table_name,
round(data_length/1024/1024) as data_length_mb,
round(data_free/1024/1024) as data_free_mb
from information_schema.tables
where table_name in
( 'EMPLOYEE', 'DEPARTMENT', 'BENEFITS' );
用一个例子来演示会更加清晰
percona-toolkit
percona-toolkit之pt-table-checksum
pt-table-sync
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M