14.10.1 启用文件格式

innodb_file_format配置选项为file-per-tabletable 空间启用InnoDB文件格式。

Barracuda是默认的innodb_file_format设置。在早期版本中,默认文件格式为Antelope

Note

innodb_file_format配置选项已弃用,在以后的版本中可能会删除。有关更多信息,请参见第 14.10 节“ InnoDB 文件格式 Management”

您可以在启动mysqld时在命令行上或在选项文件中(在 Unix 上为my.cnf,在 Windows 上为my.ini)设置innodb_file_format的值。您也可以使用SET GLOBAL语句动态更改它。

SET GLOBAL innodb_file_format=Barracuda;

Usage notes