当前位置:网站首页>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
边栏推荐
- 【无标题】
- . Net ultimate productivity of efcore sub table sub database fully automated migration codefirst
- HZOJ #240. Graphic printing IV
- How to continue after handling chain interruption / sub chain error removed from scheduling
- 【无标题】
- 3D content generation based on nerf
- File operation command
- 企业级自定义表单引擎解决方案(十二)--体验代码目录结构
- Image pixel read / write operation
- Sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]
猜你喜欢
What if does not match your user account appears when submitting the code?
- 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.)
Image pixel read / write operation
Polymorphism, final, etc
智云健康上市:市值150亿港元 SIG经纬与京新基金是股东
AUTOCAD——大于180度的角度标注、CAD直径符号怎么输入?
2022 practice questions and mock examination of the third batch of Guangdong Provincial Safety Officer a certificate (main person in charge)
图像像素读写操作
Several ways to clear floating
随机推荐
2022A特种设备相关管理(锅炉压力容器压力管道)模拟考试题库模拟考试平台操作
【从 0 开始学微服务】【01】什么是微服务
2022聚合工艺考试题模拟考试题库及在线模拟考试
有什么类方法或是函数可以查看某个项目的Laravel版本的?
Common text processing tools
聊聊Redis缓存4种集群方案、及优缺点对比
处理链中断后如何继续/子链出错removed from scheduling
Talk about four cluster schemes of redis cache, and their advantages and disadvantages
Star Enterprise Purdue technology layoffs: Tencent Sequoia was a shareholder who raised more than 1billion
.Net下极限生产力之efcore分表分库全自动化迁移CodeFirst
免费手机号码归属地API查询接口
事务的七种传播行为
Leetcode skimming: binary tree 23 (mode in binary search tree)
明星企业普渡科技大裁员:曾募资超10亿 腾讯红杉是股东
Common knowledge of one-dimensional array and two-dimensional array
Day-16 set
Day-18 hash table, generic
- Oui. Migration entièrement automatisée de la Sous - base de données des tableaux d'effets sous net
关于 appium 如何关闭 app (已解决)
2022 polymerization process test question simulation test question bank and online simulation test