Row size too large error in mysql create table query

前端 未结 7 392
萌比男神i
萌比男神i 2020-12-08 06:56

I am trying to create a table with the below query

Create Table PerformaceReport
(
campaignID int,
keywordID bigint,
keyword varchar(8000),
avgPosition decim         


        
7条回答
  •  有刺的猬
    2020-12-08 07:38

    65535 bytes is the max row size for mysql.

    With utf8mb4 charset, varchar(255) means this column at most uses 255 * 4 + 1 bytes. So it depends on what charset table use.

提交回复
热议问题