数据库下ibdata1文件占用非常大,达到了20g占用。

MySQL 下ibdata1占用磁盘过大20g

我们可以开启独立表空间

show variables like '%per_table%';

SET GLOBAL innodb_file_per_table=1;

show variables like '%per_table%';

 

MySQL 下ibdata1占用磁盘过大20g

爱资料工具: https://www.toolnb.com/

相关文章: