How do you specify the Fill Factor when creating an index in MySql?
Asked
Active
Viewed 3,651 times
2 Answers
6
You don't.
http://dev.mysql.com/doc/refman/5.0/en/create-index.html
However, it is an 'accepted' feature request for version 6.x: http://bugs.mysql.com/bug.php?id=18178
So, don't hold your breath on seeing it any time soon.

Matt Rogish
- 24,435
- 11
- 76
- 92
-
1Well that sucks... but oh well! – GateKiller Dec 01 '08 at 15:30
1
Assuming that you are using InnoDB, it seems like this is only supported at database level, not index level.
The setting is called innodb_fill_factor
and defaults to 100
see
https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_fill_factor for more details.

Nameless One
- 1,615
- 2
- 23
- 39