当前位置:网站首页>[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

边栏推荐
- Work of the 15th week
- Reasons for Meiye to choose membership system
- vscode试图过程写入管道不存在
- The first techo day Tencent technology open day, 628 waiting for you!
- 203 postgraduate entrance examination Japanese self-study postgraduate entrance examination experience post; Can I learn Japanese by myself?
- [smart agriculture program] smart agriculture small program project is currently popular.
- Are the top ten securities companies at great risk of opening accounts and safe and reliable?
- Matplotlib simple logistic regression visualization
- pmp考试题型需要注意哪些?
- 微服务调用组件Ribbon底层调用流程分析
猜你喜欢

Oracle one line function Encyclopedia

Title B of the certification cup of the pistar cluster in the Ibagu catalog

Wallys/MULTI-FUNCTION IPQ6010 (IPQ6018 FAMILY) EMBEDDED BOARD WITH ON-BOARD WIFI DUAL BAND DUAL

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

x86电脑上下载debian的arm64的包

Where are the hotel enterprises that have been under pressure since the industry has warmed up in spring?

Analysis on the bottom calling process of micro service calling component ribbon

Matplotlib simple logistic regression visualization

高速缓冲存储器Cache的映射方式

Simple waterfall effect
随机推荐
Is the client that gets the scanning code wechat or Alipay
【mysql学习笔记21】存储引擎
Matplotlib plt grid()
Flitter gets the height of the top status bar
STM32 receives data by using idle interrupt of serial port
Lvs-dr mode single network segment case
How much money have I made by sticking to fixed investment for 3 years?
Socket programming -- poll model
Creo makes a mobius belt in the simplest way
CYCA少儿形体礼仪 乐清市培训成果考核圆满落幕
Abbreviations of common English terms for IC R & D
Is it safe to open an account in a mobile phone or a securities company?
Remittance international empowers cross-border e-commerce: to be a compliant cross-border payment platform!
Numpy numpy中的meshgrid()函数
Test Development Engineer
Analysis on the bottom calling process of micro service calling component ribbon
Title B of the certification cup of the pistar cluster in the Ibagu catalog
Is the security account opening risky and safe?
在指南针上面开户好不好,安不安全?
Data-driven anomaly detection and early warning of item C in the May 1st mathematical modeling competition in 2021