MySQL Row size limit solution

Source: Internet
Author: User
MySQL Row size limit
First thanks for the answer.
I have a table with more than 60 text fields, some of which may be filled with hundreds of characters. Then after you fill in the part of the application process, the following error occurs when the field is filled in.
#1118-row size too large (> 8126). Changing some columns to TEXT or BLOB or using row_format=dynamic or row_format=compressed may help. In the current row format, the BLOB prefix of 768 bytes is stored inline.

I am relatively small white, there is a not quite understand, it said the row size is 8126 bytes, but we often say the maximum length of varchar is not 65535? Why is the maximum size of row smaller than this?
I am now the engine of InnoDB, do not know if change into MyISAM can solve this problem?

I hope you don't hesitate to enlighten me ~
------to solve the idea----------------------
table field type Longtext try it
------to solve the idea----------------------
The 3 floor is a good brother. I tested the 5.0 version, the import data will not be reported to row size too large, but 5.5.39 and 5.6.20 Community Edition All reported that the mistake, these two versions changed to MyISAM is good.
------to solve the idea----------------------
Reference:
Quote: Reference:

#1118-The row size is too large (>8126). It may be helpful to change the type of some columns to text or blob, or to use row_format= dynamic or row_format=compressed. In the current row format, the 768-byte blob prefix is stored inline.

These have been tried no use, later is to change the table type to MyISAM will not be wrong, but still do not understand the problem I said: "It said the row size is 8126 bytes, but we often say the maximum length of varchar is not 65535?" Why is the maximum size of row smaller than this? ”
Forget to enlighten
me

Since you didn't delve into Mysql,innodb row size limitation, this article will help you:
http://www.percona.com/blog/2011/04/07/innodb-row-size-limitation/
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.