当前位置:网站首页>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
边栏推荐
- Tree DP
- 雲原生——上雲必讀之SSH篇(常用於遠程登錄雲服務器)
- Learning multi-level structural information for small organ segmentation
- tars源码分析之10
- Average two numbers
- C réaliser des jeux de serpents gourmands
- 27-31. Dependency transitivity, principle
- 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?
- Matlab remainder
- uniapp 自定义环境变量
猜你喜欢
How to use multithreading to export excel under massive data? Source code attached!
leetcode 310. Minimum Height Trees
[MySQL] introduction, function, creation, view, deletion and modification of database view (with exercises)
Bicolor case
【MySQL】数据库视图的介绍、作用、创建、查看、删除和修改(附练习题)
Common usage of time library
2022 wechat enterprise mailbox login entry introduction, how to open and register enterprise wechat enterprise mailbox?
List of top ten professional skills required for data science work
Matlab remainder
regular expression
随机推荐
分布式CAP理论
Common usage of time library
Manually page the list (parameter list, current page, page size)
Tar source code analysis 8
Tar source code analysis 6
Explain in one sentence what social proof is
C # symmetric encryption (AES encryption) ciphertext results generated each time, different ideas, code sharing
tars源码分析之10
Inputstream/outputstream (input and output of file)
Mysql 45讲学习笔记(七)行锁
ADC voltage calculation of STM32 single chip microcomputer
C language exercises (recursion)
[problem record] 03 connect to MySQL database prompt: 1040 too many connections
Appium基础 — APPium安装(二)
Wechat applet scroll view component scrollable view area
198. House raiding
[number theory] fast power (Euler power)
Learning multi-level structural information for small organ segmentation
STC8H开发(十二): I2C驱动AT24C08,AT24C32系列EEPROM存储
27-31. Dependency transitivity, principle