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

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

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

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

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

posted @ 2022-12-18 22:44  littlevigra  阅读(89)  评论(1编辑  收藏  举报