MYSQL表碎片整理

清除表碎片php MyISAM表:optimize table 表名mysql InnoDB表:alter table 表名 engine=InnoDBsql 清除碎片操做會暫時鎖表,數據量越大,耗費的時間越長shell 1、MYSQL表碎片 #!/bin/sh   mysql_user=root    mysql_pass=123123   time_log=/opt/time  databas
相關文章
相關標籤/搜索