阅读 64

Innodb_large_prefix

innodb_large_prefix

Prefixes, defined by the length attribute, can be up to 767 bytes long for InnoDB tables or 3072
bytes if the innodb_large_prefix option is enabled.

mysql> show variables like 'innodb_large_prefix'
+---------------------+-------+
| Variable_name       | Value |
+---------------------+-------+
| innodb_large_prefix | OFF   |
+---------------------+-------+
1 row in set (0.00 sec)

3. 修改innodb_large_prefix = 1 ,innodb_file_format= BARRACUDA参数  ,

对row_format为dynamic格式 ,可以指定索引列长度大于767 bytes。但是索引列总长度的不能大于3072 bytes的限制仍然存在

赞赏码

 

非学,无以致疑;非问,无以广识


文章分类
代码人生
版权声明:本站是系统测试站点,无实际运营。本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 XXXXXXo@163.com 举报,一经查实,本站将立刻删除。
相关推荐