当前位置:网站首页>MySQL storage engine
MySQL storage engine
2022-04-22 20:24:00 【Wow, big mouth is so handsome (I love big mouth)】
Mysql Storage engine
First of all, let's understand Mysql The logical structure of adjoining course -> Service layer -> Engine layer -> Storage layer
Storage engine allocation
see Mysql Support Engine
show ENGINE
| engine | supper | Comment | Transactions | XA | Savepoints |
|---|---|---|---|---|---|
| InnoDB | DEFAULT | Supports transactions, row-level locking, and foreign keys | YES | YES | YES |
| MRG_MYISAM | YES | Collection of identical MyISAM tables | NO | NO | NO |
| MEMORY | YES | Hash based, stored in memory, useful for temporary tables | NO | NO | NO |
| BLACKHOLE | YES | /dev/null storage engine (anything you write to it disappears) | NO | NO | NO |
| MyISAM | YES | MyISAM storage engine | NO | NO | NO |
| CSV | YES | CSV storage engine | NO | NO | NO |
| ARCHIVE | YES | Archive storage engine | NO | NO | NO |
View the default storage engine and the current storage engine
show variables like '%storage_engine%'
| Variable_name | Value |
|---|---|
| default_storage_engine | InnoDB |
| default_tmp_storage_engine | InnoDB |
| disabled_storage_engines | |
| internal_tmp_disk_storage_engine | InnoDB |
MyISAM and InnoDB
| Contrast item | MyISAM | InnoDB |
|---|---|---|
| Main foreign key | I won't support it | Support |
| Business | I won't support it | Support |
| Row table lock | Table locks | Row lock |
| cache | Store cache only , Don't store real data | Not only store cache indexes , Also store cache and real data , High memory requirements , And memory size can determine efficiency |
| Table space | Small | Big |
| concerns | performance | Business |
because InnoDB Row table lock and cache solution, so InnoDb Suitable for high concurrent operation
版权声明
本文为[Wow, big mouth is so handsome (I love big mouth)]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204222022416746.html
边栏推荐
- Improving fee shot part segmentation using course supervision
- Android面试题之屏幕适配+AIDL篇
- DA14580作为server发送数据
- Activity result API usage and source code analysis
- What are the types of documenter examination questions? How to prepare for the documenter examination of the construction department
- 虚拟机搭建安装Pulsar环境教程(开发测试使用)
- Windows安装Redis
- UML (Unified Modeling Language) knowledge learning
- What is browser homology policy?
- 动态数据库工具——Database Inspector
猜你喜欢
随机推荐
微服务高性能高可用架构设计
Mysql存储引擎
PHP 零基础入门笔记(11):字符串 String
sys_ctl启动kingbase单机服务时报错:could not bind IPv4 address “0.0.0.0“: Address already in use
Method of database startup installer in kingbasees
Conditions for judging whether plastic deformation occurs: Von Mises yield criterion
Chapter 2 array
掌握这些引用参考文献的小Tips,助您论文写作事半功倍~
Recommended chrome plug-ins
Podcasts about the universe
Markdown learning and Practice
模块四作业
UML(统一建模语言)知识学习
Fault analysis | federated storage engine table causes the monitoring thread to be in the opening table state
虚拟机搭建安装Pulsar环境教程(开发测试使用)
域名解析过程
Thinking and summary of multi switch and multi service line design
396. 旋转函数(数学规律 + 迭代法)
第二章 数组
金仓数据库KingbaseES之null和“ ”的区别









