当前位置:网站首页>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
边栏推荐
- Invalid bound statement (not found): com. example. mapper. TblUserRecordMapper. login
- tars源码分析之8
- Summary of leetcode BFS question brushing
- [backpack DP] backpack problem
- 2022 Xinjiang's latest eight members (Safety Officer) simulated examination questions and answers
- Dimension and format of data
- Google Chrome Portable Google Chrome browser portable version official website download method
- centos8安装mysql.7 无法开机启动
- [problem record] 03 connect to MySQL database prompt: 1040 too many connections
- C language - Blue Bridge Cup - Snake filling
猜你喜欢
分布式CAP理论
C realize Snake games
C实现贪吃蛇小游戏
C # symmetric encryption (AES encryption) ciphertext results generated each time, different ideas, code sharing
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
Functions in C language (detailed explanation)
C language - Blue Bridge Cup - Snake filling
List of top ten professional skills required for data science work
regular expression
InputStream/OutputStream(文件的输入输出)
随机推荐
Displaying currency in Indian numbering format
[March 3, 2019] MAC starts redis
C实现贪吃蛇小游戏
C language exercises (recursion)
Variables d'environnement personnalisées uniapp
微信小程序使用rich-text中图片宽度超出问题
tars源码分析之3
Practical gadget instructions
STC8H开发(十二): I2C驱动AT24C08,AT24C32系列EEPROM存储
Overview of convolutional neural network structure optimization
How to implement cross domain requests
雲原生——上雲必讀之SSH篇(常用於遠程登錄雲服務器)
Tsinghua University product: penalty gradient norm improves generalization of deep learning model
Notes and notes
27-31. Dependency transitivity, principle
Data analysis notes 09
Arcpy 利用updatelayer函数改变图层的符号系统
Another company raised the price of SAIC Roewe new energy products from March 1
7. Agency mode
Google Chrome Portable Google Chrome browser portable version official website download method