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
相关文章
相关标签/搜索