原文:mysql--库索引过长超过限制--ERROR 1709 (HY000): Index column size too large. The maximum column size is 767 bytes.

在恢复一个mysql库的备份文件时遇到报错,报错信息为index column size too large. the maximum column size is bytes,此问题为备份的库索引过长超过限制,目标数据库引擎为INNODB 引擎,编码UTF ,主键字符串默认最大 ,理论上是需要优化备份数据库的,但是在实际环境中如果没办法优化,我们可以通过配置目标数据库来解决这个报错修改数据库的配 ...

2020-09-08 15:39 0 653 推荐指数:

查看详情

The maximum column size is 767 bytes (Mysql)

ERROR app.wsutils 419 INCRON: Error: ('HY000', '[HY000] [MySQL][ODBC 5.2(w) Driver][mysqld-5.7.7-rc-log]Index column size too large. The maximum ...

Mon May 22 17:15:00 CST 2017 0 1938
Mysql [Err] 1118 - Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535.

对于越来越多的数据,数据的容量越来越大,压缩也就越来越常见了。在我的实际工作中进行过多次压缩工作,也遇到多次问题,在此和大家分享一下。 首先,我们先说说怎么使用innodb的压缩. 其实很简单,根据经验,一般压缩比例可以达到30%-40% 然后,我们说说我在压缩过程中 ...

Tue Aug 22 19:09:00 CST 2017 0 4545
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM