当前位置:网站首页>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
边栏推荐
- Learning multi-level structural information for small organ segmentation
- Is the insurance annuity product worth buying? Is there a hole?
- 4G wireless all network solar hydrological equipment power monitoring system bms110
- Tar source code analysis 6
- Internet of things protocol ZigBee ZigBee module uses the concept of protocol stack
- 1、 Relevant theories and tools of network security penetration testing
- Modify TCP timestamp to optimize transmission performance
- InputStream/OutputStream(文件的输入输出)
- tars源码分析之6
- How to use multithreading to export excel under massive data? Source code attached!
猜你喜欢

Common usage of time library

双色球案例

《ClickHouse原理解析与应用实践》读书笔记(4)

JSON Web Token----JWT和傳統session登錄認證對比

如何实现视频平台会员多账号登录

Abap:ooalv realizes the function of adding, deleting, modifying and checking

How to use multithreading to export excel under massive data? Source code attached!

Appium基础 — APPium安装(二)
![[backpack DP] backpack problem](/img/7e/1ead6fd0ab61806ce971e1612b4ed6.jpg)
[backpack DP] backpack problem
![[problem record] 03 connect to MySQL database prompt: 1040 too many connections](/img/bb/4d8d202cf5c6e556bc860a734e5934.png)
[problem record] 03 connect to MySQL database prompt: 1040 too many connections
随机推荐
Tar source code analysis 4
C language - Blue Bridge Cup - Snake filling
4G wireless all network solar hydrological equipment power monitoring system bms110
MySQL learning notes 3 - JDBC
Average two numbers
Matlab remainder
微信小程序使用rich-text中图片宽度超出问题
ABAP:OOALV实现增删改查功能
Cloud native - SSH article that must be read on the cloud (commonly used for remote login to ECS)
Analysis of tars source code 5
Mysql 45讲学习笔记(十三)表数据删掉一半,表文件大小不变
[backpack DP] backpack problem
Modify TCP timestamp to optimize transmission performance
Mysql 45讲学习笔记(七)行锁
QT qtablewidget table column top requirements ideas and codes
Tree DP
Vant --- detailed explanation and use of list component in vant
Reading notes of Clickhouse principle analysis and Application Practice (4)
期末周,我裂开
Shopping malls, storerooms, flat display, user-defined maps can also be played like this!