Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

do fix up of tables first with ROW_FORMAT=DYNAMIC #1

Merged
merged 1 commit into from Dec 5, 2015

Conversation

khaledblah
Copy link

As described in [1] a table's row format must be either ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED in order for the "innodb_large_prefix=1" setting to have any effect.

Quote:

For InnoDB tables that use COMPRESSED or DYNAMIC row format, you can enable the innodb_large_prefix option to allow index key prefixes longer than 767 bytes (up to 3072 bytes). Creating such tables also requires the option values innodb_file_format=barracuda and innodb_file_per_table=true.) In this case, enabling the innodb_large_prefix option would allow you to index a maximum of 1024 or 768 characters for utf8 or utf8mb4 columns, respectively. For related information, see Section 14.5.7, “Limits on InnoDB Tables”.

[1] https://dev.mysql.com/doc/refman/5.6/en/charset-unicode-upgrading.html

infojunkie added a commit that referenced this pull request Dec 5, 2015
do fix up of tables first with ROW_FORMAT=DYNAMIC
@infojunkie infojunkie merged commit e00a03b into meedan:master Dec 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants