Row size too large error in mysql create table query

前端 未结 7 450
萌比男神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:34

    • Every table (regardless of storage engine) has a maximum row size of 65,535 bytes. Storage engines may place additional constraints on this limit, reducing the effective maximum row size.
    • BLOB and TEXT columns count from one to four plus eight bytes each toward the row-size limit because their contents are stored separately from the rest of the row.
    • detailed information - Limits on Table Column Count and Row Size

提交回复
热议问题