当前位置:网站首页>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
边栏推荐
- ip2long之后有什么好处?
- 谷歌浏览器如何重置?谷歌浏览器恢复默认设置?
- 2022A特种设备相关管理(锅炉压力容器压力管道)模拟考试题库模拟考试平台操作
- 关于 appium 启动 app 后闪退的问题 - (已解决)
- Day-24 UDP, regular expression
- [pytorch practice] use pytorch to realize image style migration based on neural network
- 3D content generation based on nerf
- ISPRS2021/遥感影像云检测:一种地理信息驱动的方法和一种新的大规模遥感云/雪检测数据集
- @What is the difference between resource and @autowired?
- Cookie
猜你喜欢

Sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]

Adopt a cow to sprint A shares: it plans to raise 1.85 billion yuan, and Xu Xiaobo holds nearly 40%

Day-18 hash table, generic

通过Keil如何查看MCU的RAM与ROM使用情况

Charles: four ways to modify the input parameters or return results of the interface

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

图像像素读写操作

2022 practice questions and mock examination of the third batch of Guangdong Provincial Safety Officer a certificate (main person in charge)

基于NeRF的三维内容生成

ACL 2022 | small sample ner of sequence annotation: dual tower Bert model integrating tag semantics
随机推荐
What kind of methods or functions can you view the laravel version of a project?
Shortcut key of Bash
【无标题】
Steps of building SSM framework
ACL 2022 | small sample ner of sequence annotation: dual tower Bert model integrating tag semantics
Charles: four ways to modify the input parameters or return results of the interface
Blog recommendation | Apache pulsar cross regional replication scheme selection practice
[difficult and miscellaneous]pip running suddenly appears modulenotfounderror: no module named 'pip‘
@What is the difference between resource and @autowired?
Day26 IP query items
[pytorch practice] use pytorch to realize image style migration based on neural network
ICLR 2022 | pre training language model based on anti self attention mechanism
layer弹出层的关闭问题
NPM instal reports agent or network problems
【从 0 开始学微服务】【01】什么是微服务
Lingyunguang of Dachen and Xiaomi investment is listed: the market value is 15.3 billion, and the machine is implanted into the eyes and brain
[learn microservice from 0] [01] what is microservice
Leetcode brush question: binary tree 24 (the nearest common ancestor of binary tree)
How to reset Google browser? Google Chrome restore default settings?
图像像素读写操作