日志记录
Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
或者:
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
产生原因
字段太多或内容太多导致的超过了数据库所允许的单行上限。
参考资料:MySQL ERROR1118报错详解 Row size too large - 柴米油盐酱醋 - 博客园
解决办法
拆分主表字段到明细表中,或者拆分成多个主表。
当数据库中的表格字段过多或内容超出限制时,会出现'Rowsizetoolarge'错误。该错误表明单行数据超过了数据库表类型的最大允许大小。为解决此问题,建议将主表的某些字段拆分到明细表,或者创建多个主表来分散数据。这有助于保持数据库的正常运行并遵循最佳实践。
1555

被折叠的 条评论
为什么被折叠?



