当前位置:网站首页>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
边栏推荐
- 广州市召开安全生产工作会议
- Day-17 connection set
- PHP calls the pure IP database to return the specific address
- What if the xshell evaluation period has expired
- ISPRS2021/遥感影像云检测:一种地理信息驱动的方法和一种新的大规模遥感云/雪检测数据集
- 2022 practice questions and mock examination of the third batch of Guangdong Provincial Safety Officer a certificate (main person in charge)
- 怎样重置火狐浏览器
- 非分区表转换成分区表以及注意事项
- MySQL importing SQL files and common commands
- 基于NeRF的三维内容生成
猜你喜欢

Day-19 IO stream

Four functions of opencv

Connect to blog method, overload, recursion
![[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

Master公式。(用于计算递归的时间复杂度。)

2022 examination questions and online simulation examination for safety production management personnel of hazardous chemical production units

【无标题】

AUTOCAD——大于180度的角度标注、CAD直径符号怎么输入?

Smart cloud health listed: with a market value of HK $15billion, SIG Jingwei and Jingxin fund are shareholders

3D content generation based on nerf
随机推荐
DHCP 动态主机设置协议 分析
Talk about four cluster schemes of redis cache, and their advantages and disadvantages
基于NeRF的三维内容生成
opencv的四个函数
How to reset Firefox browser
[statistical learning method] learning notes - support vector machine (I)
Image pixel read / write operation
The URL modes supported by ThinkPHP include four common modes, pathinfo, rewrite and compatibility modes
.Net下极限生产力之efcore分表分库全自动化迁移CodeFirst
通讯协议设计与实现
谷歌浏览器如何重置?谷歌浏览器恢复默认设置?
事务的七种传播行为
红杉中国完成新一期90亿美元基金募集
[statistical learning method] learning notes - logistic regression and maximum entropy model
Layer pop-up layer closing problem
CMU15445 (Fall 2019) 之 Project#2 - Hash Table 详解
. Net ultimate productivity of efcore sub table sub database fully automated migration codefirst
Guangzhou held work safety conference
2022危险化学品生产单位安全生产管理人员考题及在线模拟考试
Cmu15445 (fall 2019) project 2 - hash table details