当前位置:网站首页>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
边栏推荐
- How to choose the middle-aged crisis of the testing post? Stick to it or find another way out? See below
- Learn about the Internet of things protocol WiFi ZigBee Bluetooth, etc. --- WiFi and WiFi protocols start from WiFi. What do we need to know about WiFi protocol itself?
- 期末周,我裂开
- 手动对list进行分页(参数list ,当前页,页面大小)
- Summary of leetcode BFS question brushing
- 金盾视频播放器拦截的软件关键词和进程信息
- 如何实现视频平台会员多账号登录
- Manually page the list (parameter list, current page, page size)
- Practical gadget instructions
- C语言中的排序,实现从小到大的数字排序法
猜你喜欢

双色球案例

Arcpy 利用updatelayer函数改变图层的符号系统

雲原生——上雲必讀之SSH篇(常用於遠程登錄雲服務器)

C # symmetric encryption (AES encryption) ciphertext results generated each time, different ideas, code sharing

颈椎、脚气

Appium foundation - appium installation (II)

Overview of convolutional neural network structure optimization

Learning multi-level structural information for small organ segmentation

Functions in C language (detailed explanation)

Inputstream/outputstream (input and output of file)
随机推荐
Functions in C language (detailed explanation)
Practical gadget instructions
QT get random color value and set label background color code
Operator < <> > fool test case
Reading notes of Clickhouse principle analysis and Application Practice (4)
How to realize multi account login of video platform members
Data analysis notes 09
2022.7.3-----leetcode. five hundred and fifty-six
期末周,我裂开
Analysis of tars source code 5
What is the "relative dilemma" in cognitive fallacy?
centos8安装mysql.7 无法开机启动
selenium驱动IE常见问题解决Message: Currently focused window has been closed.
[Android reverse] function interception (CPU cache mechanism | CPU cache mechanism causes function interception failure)
What is a spotlight effect?
Google Chrome Portable Google Chrome browser portable version official website download method
Tar source code analysis 9
ORICO ORICO outdoor power experience, lightweight and portable, the most convenient office charging station
Appium foundation - appium installation (II)
uniapp 自定義環境變量