Row size too large. The maximum row size for the used table type 解决
2018-03-19 11:32
627 查看
[SQL] ALTER table loan_report_main add def_rate VARCHAR(50) NULL COMMENT '违约概率'; [Err] 1118 - Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
最近在给表新增字段时,发生上面错误,原因是超过表的字段长度了,
把上面语句改一下,改小了长度可以解决,网上还有的说是改成text类型或者BLOBs类型可以解决,不过亲测不行,
ALTER table loan_report_main add def_rate VARCHAR(10) NULL COMMENT '违约概率';
我觉得最大问题是还是合理建表,不要建太多字段,或者字段类型设置太长了,像这样设置了字段长度会导致最后超出表长度,新增不了新字段
相关文章推荐
- [MySQL 错误]ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not
- [MySQL 错误]ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not
- ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not counting B
- Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You
- ERROR 1118 : Row size too large. The maximum row size for the used table type
- ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not counting B
- Mysql [Err] 1118 - Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535.
- mysql 报错:Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65
- MySQL出现The maximum row size for the used table type, not counting BLOBs, is 8126.错误
- live555: The input frame data was too large for our buffer size 解决方法
- mount目录访问出现“Value too large for defined data type”错误解决办法
- ls:Value too large for defined data type 解决办法
- MySQL报错 Mysql Row Size too large (>8126) 和 Unknow Table Engine InnoDB 解决方案
- mysql 主从同步故障解决 Error 'Row size too large (> 8126).
- mysql触发器应用和创建表错误代码: 1118 Row size too large. 解决
- Index column size too large. The maximum column size is 767 bytes
- Mysql 报Row size too large 65535 的原因及解决方法
- MySQL中The used table type doesn't support FULLTEXT indexes解决办法
- ValueError: Input contains NaN, infinity or a value too large for dtype('float64')问题解决
- SoapUI启动报错:The JVM could not be started. The maximum heap size (-Xmx) might be too large