当前位置:网站首页>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
边栏推荐
- 24 magicaccessorimpl can access the debugging of all methods
- 2022 is probably the best year for the economy in the next 10 years. Did you graduate in 2022? What is the plan after graduation?
- tars源码分析之7
- Tar source code analysis 8
- [March 3, 2019] MAC starts redis
- Redis面试题集
- Background and current situation of domestic CDN acceleration
- C language exercises (recursion)
- 4G wireless all network solar hydrological equipment power monitoring system bms110
- uniapp 自定义环境变量
猜你喜欢

Cloud native - SSH article that must be read on the cloud (commonly used for remote login to ECS)

2022 Xinjiang's latest eight members (Safety Officer) simulated examination questions and answers

2022 wechat enterprise mailbox login entry introduction, how to open and register enterprise wechat enterprise mailbox?
![[untitled]](/img/32/cfd45bb5e8555ea2ad344161370dbe.png)
[untitled]

Overview of convolutional neural network structure optimization

24 magicaccessorimpl can access the debugging of all methods

2022 where to find enterprise e-mail and which is the security of enterprise e-mail system?

Learning multi-level structural information for small organ segmentation

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

《ClickHouse原理解析与应用实践》读书笔记(4)
随机推荐
运算符<< >>傻瓜式测试用例
After the festival, a large number of people change careers. Is it still time to be 30? Listen to the experience of the past people
uniapp 自定义环境变量
GoogleChromePortable 谷歌chrome浏览器便携版官网下载方式
tars源码分析之5
leetcode 310. Minimum Height Trees
STM32 单片机ADC 电压计算
Tree DP
Reading notes of Clickhouse principle analysis and Application Practice (4)
Average two numbers
P26-P34 third_ template
Realize IIC data / instruction interaction with micro batg135
2022 is probably the best year for the economy in the next 10 years. Did you graduate in 2022? What is the plan after graduation?
The sorting in C language realizes the number sorting method from small to large
2022 Xinjiang's latest eight members (Safety Officer) simulated examination questions and answers
《国民经济行业分类GB/T 4754—2017》官网下载地址
Fundamentals of SQL database operation
The solution of win11 taskbar right click without Task Manager - add win11 taskbar right click function
Mysql 45讲学习笔记(六)全局锁
QT releases multilingual International Translation