mysql删掉数据后表的空间大小没有释放

原因参照:https://blog.csdn.net/weixin_41563161/article/details/103021918

执行:alter table table engine=InnoDB;

查看空间:show table status like 'table'

查看 Data_length 和 Index_length

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章