Home > Database > Mysql Tutorial > 浅聊mysql存储引擎MyISAM和InnoDB_MySQL

浅聊mysql存储引擎MyISAM和InnoDB_MySQL

WBOY
Release: 2016-06-01 13:11:59
Original
1078 people have browsed it

MyISAM和InnoDB是MySQL下最常用的两种存储引擎,各有优缺点,下面就来聊聊。

MyISAM

MyISAM是MySQL的默认存储引擎,具有全文索引,当索引数据大于分配资源时,由系统来分配cache。存放简单,效率相对来说优于InnoDB。但不支持外键、事务等。

InnoDB

InnoDB给MySQL提供了具有事务、回滚和奔溃修复能力的事务安全型表。InnoDB提供了行锁,提供了与Oracle类型一致的不加锁读取。这些都提高了多用户并发时的性能。并提供了外键约束。

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template