参考:MySQL 案例:Delete 删数据后磁盘空间未释放 - 腾讯云开发者社区-腾讯云 (tencent.com)

1. 查看有多少为回收的空间

Delete 删数据后磁盘空间未释放_MySQL

 select *  from information_schema.tables  where TABLE_NAME ='ai_t_placedetect_data'  \G;

2. 如果是 InnoDB 的表,执行 alter table ${table_name} engine = innodb

用一个例子来演示会更加清晰