數據庫下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/