当前位置:网站首页>[MySQL learning notes 21] storage engine
[MySQL learning notes 21] storage engine
2022-06-25 09:38:00 【yqs_ two hundred and eighty-one million eight hundred and seven】
Query storage engine
utilize select create table xxx; View the table creation statement , You can see what engine is used
Specify the storage engine
create table xxx(…) engine=INNODB;
View the list of storage engines
show engines;
innodb engine
Introduce
innodb It is an engine with both reliability and performance , And now mysql The default engine for
characteristic
1.DML Statement support ACID Model , Support transactions
2. Row-level locks
3. Support for foreign key constraints
File format
.idb
Storage table structure (frm、sdi)、 Data and index
Parameters :innodb_file_per_table Used to specify whether each table corresponds to a idb file
Logical storage structure
MyISAM engine
Introduce
mysql Early default engine
characteristic
1. Unsupported transaction
2. Foreign key not supported
3. Table locks
4. Fast access
File store
.sdi Storage table structure
.myi Storage index
.myd Store the data
Memory engine
Introduce
Memory The table data of the engine is stored in memory , Not in documents
characteristic
1. Memory storage
2.hash Indexes
3. Table locks
File store
.sdi Storage table structure
The rest of the data is stored in memory
Comparison of three engines
边栏推荐
- matplotlib matplotlib中axvline()和axhline()函数
- 22 mathematical modeling contest 22 contest C
- Analysis on the thinking of 2022 meisai C question
- Where are the hotel enterprises that have been under pressure since the industry has warmed up in spring?
- JMeter interface test, associated interface implementation steps (token)
- Mapping mode of cache
- Wallys/MULTI-FUNCTION IPQ6010 (IPQ6018 FAMILY) EMBEDDED BOARD WITH ON-BOARD WIFI DUAL BAND DUAL
- Oracle function trigger
- 35 websites ICER must know
- Is it safe to open an account in a mobile phone or a securities company?
猜你喜欢
Solution to the problem of repeated startup of esp8266
matplotlib matplotlib中plt.axis()用法
Explanation of assertions in JMeter
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate
Use Navicat to compare data differences and structure differences of multi environment databases, and automatic DML and DDL scripts
Reza RA series - development environment construction
Prepare for the 1000 Android interview questions and answers that golden nine silver ten must ask in 2022, and completely solve the interview problems
Matplotlib plt Axis() usage
3大问题!Redis缓存异常及处理方案总结
Creo makes a mobius belt in the simplest way
随机推荐
What functions should smart agriculture applet system design have
汇付国际为跨境电商赋能:做合规的跨境支付平台!
Analysis on the thinking of 2022 meisai C question
Data-driven anomaly detection and early warning of 21 May Day C
I put a two-dimensional code with rainbow candy
Work of the 15th week
Title B of the certification cup of the pistar cluster in the Ibagu catalog
《JVM》对象内存分配的TLAB机制与G1中的TLAB流程
neo4jDesktop(neo4j桌面版)配置自动启动(开机自启)
Wallys/MULTI-FUNCTION IPQ6010 (IPQ6018 FAMILY) EMBEDDED BOARD WITH ON-BOARD WIFI DUAL BAND DUAL
Register the jar package as a service to realize automatic startup after startup
[buuctf.reverse] 121-125
Oracle one line function Encyclopedia
sklearn 高维数据集制作make_circles 和 make_moons
PHP obtains the IP address, and the apache2 server runs without error
[IOU] intersection over union
【mysql学习笔记22】索引
Wechat official account can reply messages normally, but it still prompts that the service provided by the official account has failed. Please try again later
Question B of the East China Cup: how to establish a population immune barrier against novel coronavirus?
Abbreviations of common English terms for IC R & D