当前位置:网站首页>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
边栏推荐
- Fast power (template)
- Tar source code analysis Part 7
- 【MySQL】数据库视图的介绍、作用、创建、查看、删除和修改(附练习题)
- 740. Delete and get points
- 24 magicaccessorimpl can access the debugging of all methods
- Google Chrome Portable Google Chrome browser portable version official website download method
- Which water in the environment needs water quality monitoring
- 树形dp
- Analysis of tars source code 1
- JSON web token -- comparison between JWT and traditional session login authentication
猜你喜欢
JSON Web Token----JWT和傳統session登錄認證對比
C language - Blue Bridge Cup - Snake filling
《ClickHouse原理解析与应用实践》读书笔记(4)
Sleep quality today 78 points
Bicolor case
ABAP:OOALV实现增删改查功能
How to avoid JVM memory leakage?
Reading notes of Clickhouse principle analysis and Application Practice (4)
[Android reverse] function interception (CPU cache mechanism | CPU cache mechanism causes function interception failure)
InputStream/OutputStream(文件的输入输出)
随机推荐
Google Chrome Portable Google Chrome browser portable version official website download method
Sleep quality today 78 points
Another company raised the price of SAIC Roewe new energy products from March 1
Common JS tool Libraries
Learning multi-level structural information for small organ segmentation
Learning multi-level structural information for small organ segmentation
Displaying currency in Indian numbering format
采用中微BATG135实现IIC数据/指令交互
tars源码分析之8
C实现贪吃蛇小游戏
uniapp 自定义环境变量
Common usage of time library
tars源码分析之9
Redis面试题集
tars源码分析之6
Tar source code analysis 6
Explain in one sentence what social proof is
2022 where to find enterprise e-mail and which is the security of enterprise e-mail system?
期末周,我裂开
微信小程序使用rich-text中图片宽度超出问题