Documentation Home
MySQL 5.7 Reference Manual
Related Documentation Download this Manual Excerpts from this Manual

14.7.1 Enabling File Formats

The innodb_file_format configuration option defines the file format used when InnoDB tables are created in file_per_table tablespaces.

Barracuda is the default innodb_file_format setting as of MySQL 5.7.7. Prior to MySQL 5.7.7, the default file format is Antelope.


The innodb_file_format configuration option is deprecated and may be removed in a future release. For more information, see Section 14.7, “InnoDB File-Format Management”.

You can set the value of innodb_file_format on the command line when you start mysqld, or in the option file (my.cnf on Unix, my.ini on Windows). You can also change it dynamically with a SET GLOBAL statement.

mysql> SET GLOBAL innodb_file_format=Barracuda;
Query OK, 0 rows affected (0.00 sec)

Usage notes

Download this Manual
User Comments
Sign Up Login You must be logged in to post a comment.