数据库下ibdata1文件占用非常大,达到了20g占用。
我们可以开启独立表空间
show variables like '%per_table%';
SET GLOBAL innodb_file_per_table=1;
show variables like '%per_table%';
爱资料工具: https://www.toolnb.com/
数据库下ibdata1文件占用非常大,达到了20g占用。
我们可以开启独立表空间
show variables like '%per_table%';
SET GLOBAL innodb_file_per_table=1;
show variables like '%per_table%';
爱资料工具: https://www.toolnb.com/