【知识库】--mysql engines MyISAM vs InnoDB(146)
来源:互联网 发布:麦吉尔大学知乎 编辑:程序博客网 时间:2024/05/18 02:58
MyISAM vs InnoDB
MyISAM:不支持事务,不支持行级锁;
支持 fullindex indexing ;
最多 64 keys per table;
不支持外键;
支持table level locking;
three files: formate file (store table structure), data file store rows,index file store indexes;【table.frm,table.MYD,table.MYI】
支持:读写锁模式;readWriteLock model
InnoDB:
支持事务;COMMIT ROOLBACK SAVEPOINT
支持行级锁;
Data and indexes stored in one “tablesapce” file;
undo space: insert undo space, update undo space;
Only file in database directity is .frm;
tablesapce limited to 64 terabytes(TB);
Use variable length strings whenever appropriate;
Many system variables for tuning performance;
Insert buffer (change buffer)
buffers changes to secondary indexes and avoids substantial random IO that would be required to read-in-secondary index pages from disk.
小技巧
1 mysql 展示存储引擎 show engines \G;
2 mysql 换行 system clear;
3 展示表状态: show table status like ‘City’ \G
- 【知识库】--mysql engines MyISAM vs InnoDB(146)
- MySQL engines MyISAM and InnoDB
- MySQL - InnoDB vs MyISAM
- MySQL Engines: InnoDB vs. MyISAM – A Comparison of Pros and Cons
- 边学边用Mysql(4):InnoDB VS MyISAM
- MySQL性能: InnoDB vs MyISAM in 5.6
- MySQL存储引擎MyISAM VS InnoDB
- InnoDB vs. MyISAM
- InnoDB VS MyISAM
- InnoDB vs MyISAM
- MyISAM VS InnoDB Storage
- InnoDB VS MyISAM
- InnoDB VS myISAM
- MySQL中MyISAM引擎 vs InnoDB引擎(功能,性能)
- mysql myisam innodb 区别
- MySQL: InnoDB 还是 MyISAM?
- Mysql MyISAM InnoDB 优化
- mysql myisam innodb 区别
- PAT-A 1029. Median (25)
- GYM 101149 I.It's the Police(水~)
- codeforces 791B
- 程序小白该,如何从零开始学Java编程?
- leetcode82~Remove Duplicates from Sorted List II
- 【知识库】--mysql engines MyISAM vs InnoDB(146)
- Hello,World!
- 你好
- 愿天下有情人都是失散多年的兄妹
- : AH00436: No installed service named "Apache2.4".
- #cs231n#Assignment2:Dropout.ipynb
- 算法训练 表达式计算 中后缀表达
- 栈的压入、弹出序列
- 读书笔记9 《发现的乐趣》 理查德-费曼