当前位置:网站首页>MySQL 45 lecture learning notes (XIII) delete half of the table data, and the table file size remains the same
MySQL 45 lecture learning notes (XIII) delete half of the table data, and the table file size remains the same
2022-07-04 06:37:00 【Tom Kong】
- One InnoDB The table consists of two parts , That is, table structure definition and data
- stay MySQl8.0 Table structure exists .frm In the file for suffix .
- MySQL8.0 edition , It is allowed to put the table structure definition in the system data table
- Because the table structure definition takes up very little space
Parameters innodb_file_per_table
The number of tables can be stored in the shared table space , It can also be a separate file , This behavior is a parameter innodb_file_per_table The control of the ;
- This parameter is set to OFF Express : The data of the table is placed in the shared table space of the system , That is, data dictionary
- This parameter ON Express : Every InnoDB Table data is stored in one with .ibd In the file with suffix .
MySQL5.6.6 Version start , His The default value is ON
- It's easier to manage a table as a single file
- When you don't need this watch , adopt drop table command , The system will delete this file directly
- If you put it on a shared table space , Even if the table is deleted , Space will not be recycled
边栏推荐
- [Android reverse] function interception (CPU cache mechanism | CPU cache mechanism causes function interception failure)
- ABCD four sequential execution methods, extended application
- Mysql 45讲学习笔记(十一)字符串字段怎么加索引
- Mysql 45讲学习笔记(六)全局锁
- tcp socket 的 recv 如何接收指定长度消息?
- Learning multi-level structural information for small organ segmentation
- R statistical mapping - random forest classification analysis and species abundance difference test combination diagram
- Which water in the environment needs water quality monitoring
- 树形dp
- 1、 Relevant theories and tools of network security penetration testing
猜你喜欢

Fundamentals of SQL database operation

分布式CAP理论

P26-P34 third_ template

Distributed cap theory

Json Web token - jwt vs. Traditional session login Authentication

Google Chrome Portable Google Chrome browser portable version official website download method
![[untitled]](/img/32/cfd45bb5e8555ea2ad344161370dbe.png)
[untitled]

Overview of convolutional neural network structure optimization

regular expression

Functions in C language (detailed explanation)
随机推荐
CORS is not intended to protect API endpoints - nikofischer
Mysql 45讲学习笔记(六)全局锁
tcp socket 的 recv 如何接收指定长度消息?
The width of the picture in rich text used by wechat applet exceeds the problem
Another company raised the price of SAIC Roewe new energy products from March 1
Cloud native - SSH article that must be read on the cloud (commonly used for remote login to ECS)
Tar source code analysis 6
Which water in the environment needs water quality monitoring
Analysis of tars source code 5
Average two numbers
Vant --- detailed explanation and use of list component in vant
Mysql 45讲学习笔记(十四)count(*)
Manually page the list (parameter list, current page, page size)
Displaying currency in Indian numbering format
Invalid bound statement (not found): com. example. mapper. TblUserRecordMapper. login
Variables d'environnement personnalisées uniapp
Practical gadget instructions
Stc8h development (XII): I2C drive AT24C08, at24c32 series EEPROM storage
What is a spotlight effect?
Mysql 45讲学习笔记(十二)MySQL会“抖”一下