myisam 表 转换为 innodb 表_MySQL
mysql> ALTER TABLE boblog_history ENGINE=InnoDB;
Query OK, 2808 rows affected (0.76 sec)
Records: 2808 Duplicates: 0 Warnings: 0
ALTER TABLE boblog_blogs ENGINE=InnoDB;
ALTER TABLE boblog_calendar ENGINE=InnoDB;
ALTER TABLE boblog_categoriesENGINE=InnoDB;
ALTER TABLE boblog_counter ENGINE=InnoDB;
ALTER TABLE boblog_forbidden ENGINE=InnoDB;
ALTER TABLE boblog_history ENGINE=InnoDB;
ALTER TABLE boblog_linkgroup ENGINE=InnoDB;
ALTER TABLE boblog_links ENGINE=InnoDB;
ALTER TABLE boblog_maxrec ENGINE=InnoDB;
ALTER TABLE boblog_messages ENGINE=InnoDB;
ALTER TABLE boblog_mods ENGINE=InnoDB;
ALTER TABLE boblog_pages ENGINE=InnoDB;
ALTER TABLE boblog_plugins ENGINE=InnoDB;
ALTER TABLE boblog_replies ENGINE=InnoDB;
ALTER TABLE boblog_tags ENGINE=InnoDB;
ALTER TABLE boblog_upload ENGINE=InnoDB;
ALTER TABLE boblog_user ENGINE=InnoDB;
来自:http://www.samhere.net/mysql_innodb_to_myisam.html
推荐阅读
-
mysql 开发进阶篇系列 34 工具篇 mysqlcheck(MyISAM表维护工具)
-
MySQL判别InnoDB表是独立表空间还是共享表空间的方法详解
-
MySQL两种表存储结构MyISAM和InnoDB的性能比较测试
-
mysql 开发进阶篇系列 31 工具篇(mysql连接工具与MyISAM表压缩工具)
-
MySQL MyISAM与表锁
-
InnoDB 类型MySql恢复表结构与数据
-
MySQL MyISAM和Innodb表生成序列
-
MySQL InnoDB表空间加密示例详解
-
MySQL InnoDB表的碎片量化和整理(data free能否用来衡量碎片?)
-
Innodb中mysql快速删除2T的大表方法示例