ERROR
ERROR 1118 (42000) at line 3117: Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline.
ν΄λΉ μλ¬κ° λ°μν κ²½μ° ν΄λΉ ν μ΄λΈμ Rowμ Sizeκ° λ무 ν° κ²μ μλ―Έν©λλ€. μ΄λ μμ λ‘ λ°μ΄ν°λ₯Ό μ§μ΄λ£μ λλ λ¬Έμ κ° μκΈ°μ§ μλ λ― λ³΄μ΄λλ°μ. λ§μ½ λ€νλ₯Ό λ°μ΄λ£λ μμ μμ μμ μλ¬κ° λ°μν κ²½μ° μλμ κ°μ΄ μμμ μΌλ‘ ν΄κ²°ν μ μλ λ°©λ²μ΄ μμ΅λλ€.
1. rootκ³μ μ μ ν μ€μ λ³κ²½
set global innodb_file_format = Barracuda;
set global innodb_file_per_table=ON;
2. κ°λ° κ³μ (λλ rootκ³μ )μΌλ‘ μ μνμ¬ ν΄λΉ ν μ΄λΈ ROW_FORMAT λ³κ²½
ALTER TABLE (ν
μ΄λΈλͺ
) ROW_FORMAT=COMPRESSED;
νμ λ€νλ₯Ό λ°μ΄λ£λ 쿼리μλ ν΄λΉ ν μ΄λΈμ μλ‘ μμ±νλ κ²λ§ μ§μ°κ±°λ μμ± μΏΌλ¦¬μ ROW_FORMATμ COMPRESSEDλ‘ μ€μ ν΄μ£Όλ κ²μ μΆκ°ν΄μ£Όλ©΄ λ©λλ€.