optimize table table_name
这个可以清除你表里面的空记录,每次清除的时候记得锁表
lock tables table_name write|read;
unlock tables;