本文共 241 字,大约阅读时间需要 1 分钟。
现在最常用的存储引擎是InnoDB,它从Mysql5.5版本开始成为了默认的存储引擎
MyISAM专注性能,InnoDB专注事务。两者最大的区别就是InnoDB支持事务,和行锁。
是否有事务操作?有,InnoDB。
是否存储并发修改?有,InnoDB。
是否追求快速查询,且数据修改较少?是,MyISAM。
总结一句话:
InnoDB适合需要有事务操作的时候,也就是写多读少,MyISAM适合做读多写少的情况转载地址:http://juqgn.baihongyu.com/