在mysql5.6以后的版本独立表空间为默认配置。

//开启mysql独立表空间提升硬盘IO
SHOW VARIABLES LIKE 'innodb_file_per_table';
//设置开启独立表空间
SET GLOBAL innodb_file_per_table=ON;

» 版权所有:YaoLei's Blog » mysql独立表空间
» 本文链接:https://www.yaolei.info/archives/500