当前位置:网站首页>Differences between MySQL storage engine MyISAM and InnoDB
Differences between MySQL storage engine MyISAM and InnoDB
2022-07-07 12:57:00 【LC181119】
1.MyISAM Storage engine
MyISAM Engine features
- Unsupported transaction
- Table level locking
- Reading and writing block each other , Write cannot read , You can't write when you read
- Cache index only
- Foreign key constraints are not supported
- Clustered index is not supported
- Read data faster , Less resources
- I won't support it MVCC( Multi version concurrency control mechanism ) High concurrency
- Crash recovery is poor
- MySQL5.5.5 The default database engine before
- read-only ( Or write less )
- Small table ( Long time repair operation is acceptable )
- tbl_name.frm Table format definition
- tbl_name.MYD Data files
- tbl_name.MYI Index file
2.InnoDB engine
- Row-level locks
- Support transactions , Suitable for dealing with a large number of short-term Affairs
- Read and write blocking is related to transaction isolation level
- Cacheable data and indexes
- Support clustering index
- Crash resilience is better
- Support MVCC High concurrency
- from MySQL5.5 Full text index is supported after
- from MySQL5.5.5 Start with the default database engine

- all InnoDB The data and index of the table are placed in the same tablespace
Data files :ibdata1, ibdata2, Store in datadir Defined directoryTable format definition :tb_name.frm, Store in datadir Define the corresponding directory of each database
- Each form uses a single table space to store the data and index of the table
The two types of files are placed in a separate directory corresponding to each database
Data files ( Store data and index ):tb_name.ibd
Table format definition :tb_name.frm
边栏推荐
- [Q&A]AttributeError: module ‘signal‘ has no attribute ‘SIGALRM‘
- Four functions of opencv
- [pytorch practice] write poetry with RNN
- 环境配置篇
- [pytorch practice] use pytorch to realize image style migration based on neural network
- 云检测2020:用于高分辨率遥感图像中云检测的自注意力生成对抗网络Self-Attentive Generative Adversarial Network for Cloud Detection
- 通讯协议设计与实现
- opencv的四个函数
- How to continue after handling chain interruption / sub chain error removed from scheduling
- 【无标题】
猜你喜欢

Common knowledge of one-dimensional array and two-dimensional array

关于 appium 启动 app 后闪退的问题 - (已解决)
![[statistical learning method] learning notes - logistic regression and maximum entropy model](/img/f7/857d053cc2cee81c24919aafab3c6e.png)
[statistical learning method] learning notes - logistic regression and maximum entropy model

- Oui. Migration entièrement automatisée de la Sous - base de données des tableaux d'effets sous net

Master formula. (used to calculate the time complexity of recursion.)

2022广东省安全员A证第三批(主要负责人)考试练习题及模拟考试

Leetcode skimming: binary tree 21 (verifying binary search tree)

Visual stdio 2017 about the environment configuration of opencv4.1

2022 polymerization process test question simulation test question bank and online simulation test

opencv的四个函数
随机推荐
Leetcode skimming: binary tree 20 (search in binary search tree)
Go语言学习笔记-结构体(Struct)
Day-19 IO stream
xshell评估期已过怎么办
[difficult and miscellaneous]pip running suddenly appears modulenotfounderror: no module named 'pip‘
[pytorch practice] write poetry with RNN
How to continue after handling chain interruption / sub chain error removed from scheduling
@Resource和@Autowired的区别?
【无标题】
Day26 IP query items
Cookie
Query whether a field has an index with MySQL
File operation command
【无标题】
ip2long之后有什么好处?
Day-15 common APIs and exception mechanisms
基于NeRF的三维内容生成
Blog recommendation | Apache pulsar cross regional replication scheme selection practice
2022危险化学品生产单位安全生产管理人员考题及在线模拟考试
2022 polymerization process test question simulation test question bank and online simulation test