【MySQL】Row size too large … is 8126. This includes storage overhead

徒然草2.0

MySQLは1レコードあたり8126Byte以下にすべきという制約があるらしい。

エラー文↓

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

※INDEXを張る時は255Byteまでが基本になるので、それでは問題がある時は検索クエリのパフォーマンスが出るように何らかの対処法を考える必要がある。と思われる。

徒然草2.0
スポンサーリンク
シェアする
gomiryoをフォローする
ごみぶろぐ

コメント

タイトルとURLをコピーしました