美文网首页
InnoDB vs MyISAM

InnoDB vs MyISAM

作者: 好小葱1 | 来源:发表于2018-11-19 21:51 被阅读13次

First major difference I see is that InnoDB implements row-level lock while MyISAM can do only a table-level lock. You will find better crash recovery in InnoDB. However, it doesn't have FULLTEXT search indexes until v5.6, as does MyISAM. InnoDB also implements transactions, foreign keys and relationship constraints while MyISAM does not.

The list can go a bit further. Yet, they both have their unique advantages in their favor and disadvantages against each other. Each of them is more suitable in some scenarios than the other.

  • InnoDB has row-level locking, MyISAM can only do full table-level locking.
  • InnoDB has better crash recovery.
  • MyISAM has FULLTEXT search indexes, InnoDB did not until MySQL 5.6 (Feb 2013).
  • InnoDB implements transactions, foreign keys and relationship constraints, MyISAM does not.

相关文章

  • MySQL

    InnoDB vs MyISAM InnoDB是聚簇索引(叶子节点存数据),MyISAM是非聚簇索引(叶子节点存指...

  • InnoDB vs MyISAM

    First major difference I see is that InnoDB implements ro...

  • InnoDB vs MyISAM

    区别 MyISAM不支持事务,InnoDB支持事务MyISAM不支持外键,InnoDB支持外键MyISAM只支持表...

  • mysql

    常见的储存引擎 InnoDB MyISAM MyISAM和InnoDB的区别 ①InnoDB支持事务,MyISAM...

  • B.数据库--mysql

    0.基础概念 a.MyISAM VS InnoDB 简单来说: MyISAM是5.5版本之前的默认引擎,不支持事...

  • mysql myisam vs innodb

    问题: 有一张表A记录用户的一些操作信息,每天晚上12点执行批量对这张表中当天的用户操作进行统计,方便后期应用决策...

  • MyISAM与InnoDB 的区别

    InnoDB支持事务,MyISAM不支持 InnoDB支持外键,而MyISAM不支持 InnoDB是聚集索引,使用...

  • 常见面试题

    MyISAM和InnoDB的区别 MyISAM不支持事务,而InnoDB支持事务的。 MyISAM锁的粒度是表级,...

  • mysql的引擎、innodb/Myisam 的区别

    四种引擎:Memory、MYISAM、DBD、InnoDB、Archive MyISAM与InnoDB的区别MyI...

  • 系统原理-乐观锁与悲观锁

    InnoDB与MyISAM Mysql 在5.5之前默认使用 MyISAM 存储引擎,之后使用 InnoDB 。查...

网友评论

      本文标题:InnoDB vs MyISAM

      本文链接:https://www.haomeiwen.com/subject/yylzfqtx.html