当前位置:网站首页>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
边栏推荐
- NPM instal reports agent or network problems
- [statistical learning methods] learning notes - Chapter 5: Decision Tree
- [爬虫]使用selenium时,躲避脚本检测
- 【从 0 开始学微服务】【02】从单体应用走向服务化
- Day21 multithreading
- Grep of three swordsmen in text processing
- 免费手机号码归属地API查询接口
- - Oui. Migration entièrement automatisée de la Sous - base de données des tableaux d'effets sous net
- [crawler] avoid script detection when using selenium
- 处理链中断后如何继续/子链出错removed from scheduling
猜你喜欢

Connect to blog method, overload, recursion

关于 appium 启动 app 后闪退的问题 - (已解决)

【无标题】

ICLR 2022 | pre training language model based on anti self attention mechanism

关于 appium 如何关闭 app (已解决)

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

Leetcode skimming: binary tree 27 (delete nodes in the binary search tree)

Day-16 set
![[statistical learning method] learning notes - support vector machine (Part 2)](/img/bc/bb4f809ff434fabc10f8e97f592fa7.png)
[statistical learning method] learning notes - support vector machine (Part 2)

Aike AI frontier promotion (7.7)
随机推荐
Realize a simple version of array by yourself from
opencv的四个函数
【从 0 开始学微服务】【02】从单体应用走向服务化
Leetcode brush question: binary tree 24 (the nearest common ancestor of binary tree)
智云健康上市:市值150亿港元 SIG经纬与京新基金是股东
Star Enterprise Purdue technology layoffs: Tencent Sequoia was a shareholder who raised more than 1billion
AUTOCAD——大于180度的角度标注、CAD直径符号怎么输入?
Aike AI frontier promotion (7.7)
How to continue after handling chain interruption / sub chain error removed from scheduling
HZOJ #240. Graphic printing IV
云检测2020:用于高分辨率遥感图像中云检测的自注意力生成对抗网络Self-Attentive Generative Adversarial Network for Cloud Detection
Aosikang biological sprint scientific innovation board of Hillhouse Investment: annual revenue of 450million yuan, lost cooperation with kangxinuo
谷歌浏览器如何重置?谷歌浏览器恢复默认设置?
图像像素读写操作
详解ThinkPHP支持的URL模式有四种普通模式、PATHINFO、REWRITE和兼容模式
2022 polymerization process test question simulation test question bank and online simulation test
[爬虫]使用selenium时,躲避脚本检测
高瓴投的澳斯康生物冲刺科创板:年营收4.5亿 丢掉与康希诺合作
《ASP.NET Core 6框架揭秘》样章[200页/5章]
HZOJ #240. 图形打印四