Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2.23
-
None
Description
If a table's row format is DYNAMIC or COMPRESSED and if the table's row can be too big to fit entirely on a clustered index page, then I believe that InnoDB is supposed to store variable-length columns (such as columns using VARCHAR, VARBINARY, and BLOB and TEXT types) in overflow pages. Then the clustered index only contains a 20 byte pointer to the overflow page.
https://dev.mysql.com/doc/refman/5.7/en/innodb-row-format.html
https://mariadb.com/kb/en/library/innodb-storage-formats/
However, this does not seem to work properly if you set innodb_strict_mode to ON, and if you try to create a table with a large number of small varchar columns.
For example, if you create a table that has varchar(40) columns, and if the table uses the utf8 character set, then each column requires the following storage:
40 characters/VARCHAR * 3 bytes/character (for utf8) + 1 byte/VARCHAR (for length)
= 121 bytes/VARCHAR
If we create a table with 198 of these columns, then the row size is:
198 VARCHARs * 121 bytes/VARCHAR
= 23,958 bytes
This is too large to fit in the 8126 bytes that InnoDB allocates for a row with the default innodb_page_size. However, with the DYNAMIC or COMPRESSED row formats, InnoDB should store values on overflow pages, and the clustered index should only contain a 20 byte pointer to the overflow page.
If only the primary key column is stored in the clustered index, and the rest are stored on overflow pages, then that should make the row size:
121 bytes/PK + (197 pointers * 20 byte/pointer)
= 121 bytes/PK + 3940 bytes/pointers
= 4061 bytes
This is less than the 8126 bytes that InnoDB allocates for a row with the default innodb_page_size. However, if innodb_strict_mode is ON, then InnoDB throws a "Row size too large" error if you try to create a table like this. to reproduce, run the following:
SET SESSION innodb_strict_mode=ON;
|
CREATE TABLE tab (
|
col1 varchar(40) NOT NULL,
|
col2 varchar(40) NOT NULL,
|
col3 varchar(40) NOT NULL,
|
col4 varchar(40) NOT NULL,
|
col5 varchar(40) NOT NULL,
|
col6 varchar(40) NOT NULL,
|
col7 varchar(40) NOT NULL,
|
col8 varchar(40) NOT NULL,
|
col9 varchar(40) NOT NULL,
|
col10 varchar(40) NOT NULL,
|
col11 varchar(40) NOT NULL,
|
col12 varchar(40) NOT NULL,
|
col13 varchar(40) NOT NULL,
|
col14 varchar(40) NOT NULL,
|
col15 varchar(40) NOT NULL,
|
col16 varchar(40) NOT NULL,
|
col17 varchar(40) NOT NULL,
|
col18 varchar(40) NOT NULL,
|
col19 varchar(40) NOT NULL,
|
col20 varchar(40) NOT NULL,
|
col21 varchar(40) NOT NULL,
|
col22 varchar(40) NOT NULL,
|
col23 varchar(40) NOT NULL,
|
col24 varchar(40) NOT NULL,
|
col25 varchar(40) NOT NULL,
|
col26 varchar(40) NOT NULL,
|
col27 varchar(40) NOT NULL,
|
col28 varchar(40) NOT NULL,
|
col29 varchar(40) NOT NULL,
|
col30 varchar(40) NOT NULL,
|
col31 varchar(40) NOT NULL,
|
col32 varchar(40) NOT NULL,
|
col33 varchar(40) NOT NULL,
|
col34 varchar(40) NOT NULL,
|
col35 varchar(40) NOT NULL,
|
col36 varchar(40) NOT NULL,
|
col37 varchar(40) NOT NULL,
|
col38 varchar(40) NOT NULL,
|
col39 varchar(40) NOT NULL,
|
col40 varchar(40) NOT NULL,
|
col41 varchar(40) NOT NULL,
|
col42 varchar(40) NOT NULL,
|
col43 varchar(40) NOT NULL,
|
col44 varchar(40) NOT NULL,
|
col45 varchar(40) NOT NULL,
|
col46 varchar(40) NOT NULL,
|
col47 varchar(40) NOT NULL,
|
col48 varchar(40) NOT NULL,
|
col49 varchar(40) NOT NULL,
|
col50 varchar(40) NOT NULL,
|
col51 varchar(40) NOT NULL,
|
col52 varchar(40) NOT NULL,
|
col53 varchar(40) NOT NULL,
|
col54 varchar(40) NOT NULL,
|
col55 varchar(40) NOT NULL,
|
col56 varchar(40) NOT NULL,
|
col57 varchar(40) NOT NULL,
|
col58 varchar(40) NOT NULL,
|
col59 varchar(40) NOT NULL,
|
col60 varchar(40) NOT NULL,
|
col61 varchar(40) NOT NULL,
|
col62 varchar(40) NOT NULL,
|
col63 varchar(40) NOT NULL,
|
col64 varchar(40) NOT NULL,
|
col65 varchar(40) NOT NULL,
|
col66 varchar(40) NOT NULL,
|
col67 varchar(40) NOT NULL,
|
col68 varchar(40) NOT NULL,
|
col69 varchar(40) NOT NULL,
|
col70 varchar(40) NOT NULL,
|
col71 varchar(40) NOT NULL,
|
col72 varchar(40) NOT NULL,
|
col73 varchar(40) NOT NULL,
|
col74 varchar(40) NOT NULL,
|
col75 varchar(40) NOT NULL,
|
col76 varchar(40) NOT NULL,
|
col77 varchar(40) NOT NULL,
|
col78 varchar(40) NOT NULL,
|
col79 varchar(40) NOT NULL,
|
col80 varchar(40) NOT NULL,
|
col81 varchar(40) NOT NULL,
|
col82 varchar(40) NOT NULL,
|
col83 varchar(40) NOT NULL,
|
col84 varchar(40) NOT NULL,
|
col85 varchar(40) NOT NULL,
|
col86 varchar(40) NOT NULL,
|
col87 varchar(40) NOT NULL,
|
col88 varchar(40) NOT NULL,
|
col89 varchar(40) NOT NULL,
|
col90 varchar(40) NOT NULL,
|
col91 varchar(40) NOT NULL,
|
col92 varchar(40) NOT NULL,
|
col93 varchar(40) NOT NULL,
|
col94 varchar(40) NOT NULL,
|
col95 varchar(40) NOT NULL,
|
col96 varchar(40) NOT NULL,
|
col97 varchar(40) NOT NULL,
|
col98 varchar(40) NOT NULL,
|
col99 varchar(40) NOT NULL,
|
col100 varchar(40) NOT NULL,
|
col101 varchar(40) NOT NULL,
|
col102 varchar(40) NOT NULL,
|
col103 varchar(40) NOT NULL,
|
col104 varchar(40) NOT NULL,
|
col105 varchar(40) NOT NULL,
|
col106 varchar(40) NOT NULL,
|
col107 varchar(40) NOT NULL,
|
col108 varchar(40) NOT NULL,
|
col109 varchar(40) NOT NULL,
|
col110 varchar(40) NOT NULL,
|
col111 varchar(40) NOT NULL,
|
col112 varchar(40) NOT NULL,
|
col113 varchar(40) NOT NULL,
|
col114 varchar(40) NOT NULL,
|
col115 varchar(40) NOT NULL,
|
col116 varchar(40) NOT NULL,
|
col117 varchar(40) NOT NULL,
|
col118 varchar(40) NOT NULL,
|
col119 varchar(40) NOT NULL,
|
col120 varchar(40) NOT NULL,
|
col121 varchar(40) NOT NULL,
|
col122 varchar(40) NOT NULL,
|
col123 varchar(40) NOT NULL,
|
col124 varchar(40) NOT NULL,
|
col125 varchar(40) NOT NULL,
|
col126 varchar(40) NOT NULL,
|
col127 varchar(40) NOT NULL,
|
col128 varchar(40) NOT NULL,
|
col129 varchar(40) NOT NULL,
|
col130 varchar(40) NOT NULL,
|
col131 varchar(40) NOT NULL,
|
col132 varchar(40) NOT NULL,
|
col133 varchar(40) NOT NULL,
|
col134 varchar(40) NOT NULL,
|
col135 varchar(40) NOT NULL,
|
col136 varchar(40) NOT NULL,
|
col137 varchar(40) NOT NULL,
|
col138 varchar(40) NOT NULL,
|
col139 varchar(40) NOT NULL,
|
col140 varchar(40) NOT NULL,
|
col141 varchar(40) NOT NULL,
|
col142 varchar(40) NOT NULL,
|
col143 varchar(40) NOT NULL,
|
col144 varchar(40) NOT NULL,
|
col145 varchar(40) NOT NULL,
|
col146 varchar(40) NOT NULL,
|
col147 varchar(40) NOT NULL,
|
col148 varchar(40) NOT NULL,
|
col149 varchar(40) NOT NULL,
|
col150 varchar(40) NOT NULL,
|
col151 varchar(40) NOT NULL,
|
col152 varchar(40) NOT NULL,
|
col153 varchar(40) NOT NULL,
|
col154 varchar(40) NOT NULL,
|
col155 varchar(40) NOT NULL,
|
col156 varchar(40) NOT NULL,
|
col157 varchar(40) NOT NULL,
|
col158 varchar(40) NOT NULL,
|
col159 varchar(40) NOT NULL,
|
col160 varchar(40) NOT NULL,
|
col161 varchar(40) NOT NULL,
|
col162 varchar(40) NOT NULL,
|
col163 varchar(40) NOT NULL,
|
col164 varchar(40) NOT NULL,
|
col165 varchar(40) NOT NULL,
|
col166 varchar(40) NOT NULL,
|
col167 varchar(40) NOT NULL,
|
col168 varchar(40) NOT NULL,
|
col169 varchar(40) NOT NULL,
|
col170 varchar(40) NOT NULL,
|
col171 varchar(40) NOT NULL,
|
col172 varchar(40) NOT NULL,
|
col173 varchar(40) NOT NULL,
|
col174 varchar(40) NOT NULL,
|
col175 varchar(40) NOT NULL,
|
col176 varchar(40) NOT NULL,
|
col177 varchar(40) NOT NULL,
|
col178 varchar(40) NOT NULL,
|
col179 varchar(40) NOT NULL,
|
col180 varchar(40) NOT NULL,
|
col181 varchar(40) NOT NULL,
|
col182 varchar(40) NOT NULL,
|
col183 varchar(40) NOT NULL,
|
col184 varchar(40) NOT NULL,
|
col185 varchar(40) NOT NULL,
|
col186 varchar(40) NOT NULL,
|
col187 varchar(40) NOT NULL,
|
col188 varchar(40) NOT NULL,
|
col189 varchar(40) NOT NULL,
|
col190 varchar(40) NOT NULL,
|
col191 varchar(40) NOT NULL,
|
col192 varchar(40) NOT NULL,
|
col193 varchar(40) NOT NULL,
|
col194 varchar(40) NOT NULL,
|
col195 varchar(40) NOT NULL,
|
col196 varchar(40) NOT NULL,
|
col197 varchar(40) NOT NULL,
|
col198 varchar(40) NOT NULL,
|
PRIMARY KEY (col1)
|
) ENGINE=InnoDB ROW_FORMAT=DYNAMIC DEFAULT CHARSET=utf8;
|
You'll see this error:
ERROR 1118 (42000): Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
|
If there are only 197 columns instead of 198, then there is no error with DYNAMIC, but the error is still present with COMPRESSED.
If there are only 187 columns instead of 198, then there is also no error with COMPRESSED.
If you convert the 197 non-PK varchar(40) columns to TEXT, then you *still* get the error:
SET SESSION innodb_strict_mode=ON;
|
CREATE TABLE tab (
|
col1 varchar(40) NOT NULL,
|
col2 TEXT NOT NULL,
|
col3 TEXT NOT NULL,
|
col4 TEXT NOT NULL,
|
col5 TEXT NOT NULL,
|
col6 TEXT NOT NULL,
|
col7 TEXT NOT NULL,
|
col8 TEXT NOT NULL,
|
col9 TEXT NOT NULL,
|
col10 TEXT NOT NULL,
|
col11 TEXT NOT NULL,
|
col12 TEXT NOT NULL,
|
col13 TEXT NOT NULL,
|
col14 TEXT NOT NULL,
|
col15 TEXT NOT NULL,
|
col16 TEXT NOT NULL,
|
col17 TEXT NOT NULL,
|
col18 TEXT NOT NULL,
|
col19 TEXT NOT NULL,
|
col20 TEXT NOT NULL,
|
col21 TEXT NOT NULL,
|
col22 TEXT NOT NULL,
|
col23 TEXT NOT NULL,
|
col24 TEXT NOT NULL,
|
col25 TEXT NOT NULL,
|
col26 TEXT NOT NULL,
|
col27 TEXT NOT NULL,
|
col28 TEXT NOT NULL,
|
col29 TEXT NOT NULL,
|
col30 TEXT NOT NULL,
|
col31 TEXT NOT NULL,
|
col32 TEXT NOT NULL,
|
col33 TEXT NOT NULL,
|
col34 TEXT NOT NULL,
|
col35 TEXT NOT NULL,
|
col36 TEXT NOT NULL,
|
col37 TEXT NOT NULL,
|
col38 TEXT NOT NULL,
|
col39 TEXT NOT NULL,
|
col40 TEXT NOT NULL,
|
col41 TEXT NOT NULL,
|
col42 TEXT NOT NULL,
|
col43 TEXT NOT NULL,
|
col44 TEXT NOT NULL,
|
col45 TEXT NOT NULL,
|
col46 TEXT NOT NULL,
|
col47 TEXT NOT NULL,
|
col48 TEXT NOT NULL,
|
col49 TEXT NOT NULL,
|
col50 TEXT NOT NULL,
|
col51 TEXT NOT NULL,
|
col52 TEXT NOT NULL,
|
col53 TEXT NOT NULL,
|
col54 TEXT NOT NULL,
|
col55 TEXT NOT NULL,
|
col56 TEXT NOT NULL,
|
col57 TEXT NOT NULL,
|
col58 TEXT NOT NULL,
|
col59 TEXT NOT NULL,
|
col60 TEXT NOT NULL,
|
col61 TEXT NOT NULL,
|
col62 TEXT NOT NULL,
|
col63 TEXT NOT NULL,
|
col64 TEXT NOT NULL,
|
col65 TEXT NOT NULL,
|
col66 TEXT NOT NULL,
|
col67 TEXT NOT NULL,
|
col68 TEXT NOT NULL,
|
col69 TEXT NOT NULL,
|
col70 TEXT NOT NULL,
|
col71 TEXT NOT NULL,
|
col72 TEXT NOT NULL,
|
col73 TEXT NOT NULL,
|
col74 TEXT NOT NULL,
|
col75 TEXT NOT NULL,
|
col76 TEXT NOT NULL,
|
col77 TEXT NOT NULL,
|
col78 TEXT NOT NULL,
|
col79 TEXT NOT NULL,
|
col80 TEXT NOT NULL,
|
col81 TEXT NOT NULL,
|
col82 TEXT NOT NULL,
|
col83 TEXT NOT NULL,
|
col84 TEXT NOT NULL,
|
col85 TEXT NOT NULL,
|
col86 TEXT NOT NULL,
|
col87 TEXT NOT NULL,
|
col88 TEXT NOT NULL,
|
col89 TEXT NOT NULL,
|
col90 TEXT NOT NULL,
|
col91 TEXT NOT NULL,
|
col92 TEXT NOT NULL,
|
col93 TEXT NOT NULL,
|
col94 TEXT NOT NULL,
|
col95 TEXT NOT NULL,
|
col96 TEXT NOT NULL,
|
col97 TEXT NOT NULL,
|
col98 TEXT NOT NULL,
|
col99 TEXT NOT NULL,
|
col100 TEXT NOT NULL,
|
col101 TEXT NOT NULL,
|
col102 TEXT NOT NULL,
|
col103 TEXT NOT NULL,
|
col104 TEXT NOT NULL,
|
col105 TEXT NOT NULL,
|
col106 TEXT NOT NULL,
|
col107 TEXT NOT NULL,
|
col108 TEXT NOT NULL,
|
col109 TEXT NOT NULL,
|
col110 TEXT NOT NULL,
|
col111 TEXT NOT NULL,
|
col112 TEXT NOT NULL,
|
col113 TEXT NOT NULL,
|
col114 TEXT NOT NULL,
|
col115 TEXT NOT NULL,
|
col116 TEXT NOT NULL,
|
col117 TEXT NOT NULL,
|
col118 TEXT NOT NULL,
|
col119 TEXT NOT NULL,
|
col120 TEXT NOT NULL,
|
col121 TEXT NOT NULL,
|
col122 TEXT NOT NULL,
|
col123 TEXT NOT NULL,
|
col124 TEXT NOT NULL,
|
col125 TEXT NOT NULL,
|
col126 TEXT NOT NULL,
|
col127 TEXT NOT NULL,
|
col128 TEXT NOT NULL,
|
col129 TEXT NOT NULL,
|
col130 TEXT NOT NULL,
|
col131 TEXT NOT NULL,
|
col132 TEXT NOT NULL,
|
col133 TEXT NOT NULL,
|
col134 TEXT NOT NULL,
|
col135 TEXT NOT NULL,
|
col136 TEXT NOT NULL,
|
col137 TEXT NOT NULL,
|
col138 TEXT NOT NULL,
|
col139 TEXT NOT NULL,
|
col140 TEXT NOT NULL,
|
col141 TEXT NOT NULL,
|
col142 TEXT NOT NULL,
|
col143 TEXT NOT NULL,
|
col144 TEXT NOT NULL,
|
col145 TEXT NOT NULL,
|
col146 TEXT NOT NULL,
|
col147 TEXT NOT NULL,
|
col148 TEXT NOT NULL,
|
col149 TEXT NOT NULL,
|
col150 TEXT NOT NULL,
|
col151 TEXT NOT NULL,
|
col152 TEXT NOT NULL,
|
col153 TEXT NOT NULL,
|
col154 TEXT NOT NULL,
|
col155 TEXT NOT NULL,
|
col156 TEXT NOT NULL,
|
col157 TEXT NOT NULL,
|
col158 TEXT NOT NULL,
|
col159 TEXT NOT NULL,
|
col160 TEXT NOT NULL,
|
col161 TEXT NOT NULL,
|
col162 TEXT NOT NULL,
|
col163 TEXT NOT NULL,
|
col164 TEXT NOT NULL,
|
col165 TEXT NOT NULL,
|
col166 TEXT NOT NULL,
|
col167 TEXT NOT NULL,
|
col168 TEXT NOT NULL,
|
col169 TEXT NOT NULL,
|
col170 TEXT NOT NULL,
|
col171 TEXT NOT NULL,
|
col172 TEXT NOT NULL,
|
col173 TEXT NOT NULL,
|
col174 TEXT NOT NULL,
|
col175 TEXT NOT NULL,
|
col176 TEXT NOT NULL,
|
col177 TEXT NOT NULL,
|
col178 TEXT NOT NULL,
|
col179 TEXT NOT NULL,
|
col180 TEXT NOT NULL,
|
col181 TEXT NOT NULL,
|
col182 TEXT NOT NULL,
|
col183 TEXT NOT NULL,
|
col184 TEXT NOT NULL,
|
col185 TEXT NOT NULL,
|
col186 TEXT NOT NULL,
|
col187 TEXT NOT NULL,
|
col188 TEXT NOT NULL,
|
col189 TEXT NOT NULL,
|
col190 TEXT NOT NULL,
|
col191 TEXT NOT NULL,
|
col192 TEXT NOT NULL,
|
col193 TEXT NOT NULL,
|
col194 TEXT NOT NULL,
|
col195 TEXT NOT NULL,
|
col196 TEXT NOT NULL,
|
col197 TEXT NOT NULL,
|
col198 TEXT NOT NULL,
|
PRIMARY KEY (col1)
|
) ENGINE=InnoDB ROW_FORMAT=DYNAMIC DEFAULT CHARSET=utf8;
|
And if you do the same with BLOB, instead of TEXT, then you *still* get the error:
SET SESSION innodb_strict_mode=ON;
|
CREATE TABLE tab (
|
col1 varchar(40) NOT NULL,
|
col2 BLOB NOT NULL,
|
col3 BLOB NOT NULL,
|
col4 BLOB NOT NULL,
|
col5 BLOB NOT NULL,
|
col6 BLOB NOT NULL,
|
col7 BLOB NOT NULL,
|
col8 BLOB NOT NULL,
|
col9 BLOB NOT NULL,
|
col10 BLOB NOT NULL,
|
col11 BLOB NOT NULL,
|
col12 BLOB NOT NULL,
|
col13 BLOB NOT NULL,
|
col14 BLOB NOT NULL,
|
col15 BLOB NOT NULL,
|
col16 BLOB NOT NULL,
|
col17 BLOB NOT NULL,
|
col18 BLOB NOT NULL,
|
col19 BLOB NOT NULL,
|
col20 BLOB NOT NULL,
|
col21 BLOB NOT NULL,
|
col22 BLOB NOT NULL,
|
col23 BLOB NOT NULL,
|
col24 BLOB NOT NULL,
|
col25 BLOB NOT NULL,
|
col26 BLOB NOT NULL,
|
col27 BLOB NOT NULL,
|
col28 BLOB NOT NULL,
|
col29 BLOB NOT NULL,
|
col30 BLOB NOT NULL,
|
col31 BLOB NOT NULL,
|
col32 BLOB NOT NULL,
|
col33 BLOB NOT NULL,
|
col34 BLOB NOT NULL,
|
col35 BLOB NOT NULL,
|
col36 BLOB NOT NULL,
|
col37 BLOB NOT NULL,
|
col38 BLOB NOT NULL,
|
col39 BLOB NOT NULL,
|
col40 BLOB NOT NULL,
|
col41 BLOB NOT NULL,
|
col42 BLOB NOT NULL,
|
col43 BLOB NOT NULL,
|
col44 BLOB NOT NULL,
|
col45 BLOB NOT NULL,
|
col46 BLOB NOT NULL,
|
col47 BLOB NOT NULL,
|
col48 BLOB NOT NULL,
|
col49 BLOB NOT NULL,
|
col50 BLOB NOT NULL,
|
col51 BLOB NOT NULL,
|
col52 BLOB NOT NULL,
|
col53 BLOB NOT NULL,
|
col54 BLOB NOT NULL,
|
col55 BLOB NOT NULL,
|
col56 BLOB NOT NULL,
|
col57 BLOB NOT NULL,
|
col58 BLOB NOT NULL,
|
col59 BLOB NOT NULL,
|
col60 BLOB NOT NULL,
|
col61 BLOB NOT NULL,
|
col62 BLOB NOT NULL,
|
col63 BLOB NOT NULL,
|
col64 BLOB NOT NULL,
|
col65 BLOB NOT NULL,
|
col66 BLOB NOT NULL,
|
col67 BLOB NOT NULL,
|
col68 BLOB NOT NULL,
|
col69 BLOB NOT NULL,
|
col70 BLOB NOT NULL,
|
col71 BLOB NOT NULL,
|
col72 BLOB NOT NULL,
|
col73 BLOB NOT NULL,
|
col74 BLOB NOT NULL,
|
col75 BLOB NOT NULL,
|
col76 BLOB NOT NULL,
|
col77 BLOB NOT NULL,
|
col78 BLOB NOT NULL,
|
col79 BLOB NOT NULL,
|
col80 BLOB NOT NULL,
|
col81 BLOB NOT NULL,
|
col82 BLOB NOT NULL,
|
col83 BLOB NOT NULL,
|
col84 BLOB NOT NULL,
|
col85 BLOB NOT NULL,
|
col86 BLOB NOT NULL,
|
col87 BLOB NOT NULL,
|
col88 BLOB NOT NULL,
|
col89 BLOB NOT NULL,
|
col90 BLOB NOT NULL,
|
col91 BLOB NOT NULL,
|
col92 BLOB NOT NULL,
|
col93 BLOB NOT NULL,
|
col94 BLOB NOT NULL,
|
col95 BLOB NOT NULL,
|
col96 BLOB NOT NULL,
|
col97 BLOB NOT NULL,
|
col98 BLOB NOT NULL,
|
col99 BLOB NOT NULL,
|
col100 BLOB NOT NULL,
|
col101 BLOB NOT NULL,
|
col102 BLOB NOT NULL,
|
col103 BLOB NOT NULL,
|
col104 BLOB NOT NULL,
|
col105 BLOB NOT NULL,
|
col106 BLOB NOT NULL,
|
col107 BLOB NOT NULL,
|
col108 BLOB NOT NULL,
|
col109 BLOB NOT NULL,
|
col110 BLOB NOT NULL,
|
col111 BLOB NOT NULL,
|
col112 BLOB NOT NULL,
|
col113 BLOB NOT NULL,
|
col114 BLOB NOT NULL,
|
col115 BLOB NOT NULL,
|
col116 BLOB NOT NULL,
|
col117 BLOB NOT NULL,
|
col118 BLOB NOT NULL,
|
col119 BLOB NOT NULL,
|
col120 BLOB NOT NULL,
|
col121 BLOB NOT NULL,
|
col122 BLOB NOT NULL,
|
col123 BLOB NOT NULL,
|
col124 BLOB NOT NULL,
|
col125 BLOB NOT NULL,
|
col126 BLOB NOT NULL,
|
col127 BLOB NOT NULL,
|
col128 BLOB NOT NULL,
|
col129 BLOB NOT NULL,
|
col130 BLOB NOT NULL,
|
col131 BLOB NOT NULL,
|
col132 BLOB NOT NULL,
|
col133 BLOB NOT NULL,
|
col134 BLOB NOT NULL,
|
col135 BLOB NOT NULL,
|
col136 BLOB NOT NULL,
|
col137 BLOB NOT NULL,
|
col138 BLOB NOT NULL,
|
col139 BLOB NOT NULL,
|
col140 BLOB NOT NULL,
|
col141 BLOB NOT NULL,
|
col142 BLOB NOT NULL,
|
col143 BLOB NOT NULL,
|
col144 BLOB NOT NULL,
|
col145 BLOB NOT NULL,
|
col146 BLOB NOT NULL,
|
col147 BLOB NOT NULL,
|
col148 BLOB NOT NULL,
|
col149 BLOB NOT NULL,
|
col150 BLOB NOT NULL,
|
col151 BLOB NOT NULL,
|
col152 BLOB NOT NULL,
|
col153 BLOB NOT NULL,
|
col154 BLOB NOT NULL,
|
col155 BLOB NOT NULL,
|
col156 BLOB NOT NULL,
|
col157 BLOB NOT NULL,
|
col158 BLOB NOT NULL,
|
col159 BLOB NOT NULL,
|
col160 BLOB NOT NULL,
|
col161 BLOB NOT NULL,
|
col162 BLOB NOT NULL,
|
col163 BLOB NOT NULL,
|
col164 BLOB NOT NULL,
|
col165 BLOB NOT NULL,
|
col166 BLOB NOT NULL,
|
col167 BLOB NOT NULL,
|
col168 BLOB NOT NULL,
|
col169 BLOB NOT NULL,
|
col170 BLOB NOT NULL,
|
col171 BLOB NOT NULL,
|
col172 BLOB NOT NULL,
|
col173 BLOB NOT NULL,
|
col174 BLOB NOT NULL,
|
col175 BLOB NOT NULL,
|
col176 BLOB NOT NULL,
|
col177 BLOB NOT NULL,
|
col178 BLOB NOT NULL,
|
col179 BLOB NOT NULL,
|
col180 BLOB NOT NULL,
|
col181 BLOB NOT NULL,
|
col182 BLOB NOT NULL,
|
col183 BLOB NOT NULL,
|
col184 BLOB NOT NULL,
|
col185 BLOB NOT NULL,
|
col186 BLOB NOT NULL,
|
col187 BLOB NOT NULL,
|
col188 BLOB NOT NULL,
|
col189 BLOB NOT NULL,
|
col190 BLOB NOT NULL,
|
col191 BLOB NOT NULL,
|
col192 BLOB NOT NULL,
|
col193 BLOB NOT NULL,
|
col194 BLOB NOT NULL,
|
col195 BLOB NOT NULL,
|
col196 BLOB NOT NULL,
|
col197 BLOB NOT NULL,
|
col198 BLOB NOT NULL,
|
PRIMARY KEY (col1)
|
) ENGINE=InnoDB ROW_FORMAT=DYNAMIC DEFAULT CHARSET=utf8;
|
All of these cases are also reproducible with MySQL 5.7.
Attachments
Issue Links
- causes
-
MDEV-20448 Add link to release notes about "Row size too large" errors
- Closed
- duplicates
-
MDEV-10364 Row size too large (> 8126)
- Closed
- relates to
-
MDEV-16969 Fix error message as promised in upstream Bug #69336
- Open
-
MDEV-20256 "Row size too large" on latest release (10.3.17)
- Closed
-
MDEV-20268 create table fails with row size too large in 10.3 but not 10.1
- Closed
-
MDEV-20346 Cannot create a certain table: Row size too large
- Closed
-
MDEV-20400 Implement a way to query an InnoDB table's max row size
- Open
-
MDEV-20832 Don't print "row size too large" warnings in error log if innodb_strict_mode=OFF and log_warnings<=2
- Closed
-
MDEV-21261 When performing instant add column, InnoDB ignores innodb_strict_mode for "row size too large" check
- Confirmed
-
MDEV-21429 TRUNCATE and OPTIMIZE are being refused due to "row size too large"
- Closed
-
MDEV-23521 Implement an InnoDB row format that can use overflow pages for smaller columns
- Open
-
MDEV-20194 Warnings inconsistently issued upon CHECK on table from older versions
- Closed
-
MDEV-20786 MariaDB server writes warnings into errorlog although 'log_warnings=0'
- Closed
-
MDEV-20949 Stop performing unnecessary maximum row size check for DML
- Closed
-
MDEV-22585 Incorrect note being written to the error log when CREATE and ALTER fail due to Row Size Too Large and in all cases for TRUNCATE and OPTIMIZE TABLE.
- Open
- links to