1709 - Index column size too large. The maximum column size is 767 bytes.
說明
注:以 utf8mb4 字符集
字串
型別欄位為例。utf8mb4 是 4 位元組字符集,預設支援的索引欄位最大長度是 191 字元(767 位元組 / 4 位元組每字元 ≈ 191 字元),因此在
varchar(255)
或
char(255)
型別欄位上建立索引會失敗。
建表前新增語句
set global innodb_large_prefix = 1;
set global innodb_file_per_table = 1;
set global innodb_file_format = Barracuda;
ROW_FORMAT = DYNAMIC
參考博文:
https://blog.csdn.net/kjrim/article/details/115141343
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/69949806/viewspace-2923034/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [Err] 1709 - Index column size too large. The maximum column size is 767 bytes.Index
- Index column size too large. The maximum column size is 767 bytes.Index
- Index column size too large. The maximum column size is 767 bytesIndex
- mysql specified key was too long與Index column size too large. The maximum column size is 767 bytes.MySqlIndex
- mysql5.7 資料匯入5.6 Index column size too large. The maximum column size is 767 bytes.MySqlIndex
- MySQL建立表失敗:Index column size too large. The maximum column size is 767 bytesMySqlIndex
- MySQL 5.7 到 5.6,出現 Index column size too large. The maximum column size is 767 bytesMySqlIndex
- MySQL資料庫index column size too large. the maximum column size is 767 bytes問題解決MySql資料庫Index
- mysql Index column size too large 超過767錯誤解決方案(轉)MySqlIndex
- #1118 - Row size too large. The maximum row size for the used table type, not counting BLOBs
- ORA-28348, encryption column TDE, function indexFunctionIndex
- 高效的SQL(index values與index column values關係?)SQLIndex
- GGS ERROR 160 Bad column indexErrorIndex
- LeetCode-Maximum Size Subarray Sum Equals kLeetCode
- ProTable 報錯Uncaught RangeError: Maximum call stack size exceededError
- TABLE size (including table,index,lob,lobindex)Index
- js中Uncaught RangeError: Maximum call stack size exceeded錯誤JSError
- Mysql 報Row size too large 65535解決方法MySql
- Row size too large (> 8126)解決辦法
- Error: no such columnError
- java.lang.IndexOutOfBoundsException: Index: 0, Size: 0JavaIndexException
- Oracle 反向索引 where index_column like '%xxx'Oracle索引Index
- 【tomcat8】consider increasing the maximum size of the cacheTomcatIDE
- 啟動Amoeba報The stack size specified is too small解決方法
- Column Monitoring
- Unhandled rejection RangeError: Maximum call stack size exceededill install loadIdealTreeErrorIdea
- 【Spring】java.lang.IndexOutOfBoundsException: Index: 256, Size: 256SpringJavaIndexException
- Size DatabaseDatabase
- Vue專案中出現:Maximum call stack size exceeded(堆疊溢位)Vue
- Hibernate 註解@Column(nullable = false) 和 @Column(unique=true)NullFalse
- CSS column-spanCSS
- CSS column-gapCSS
- CSS column-ruleCSS
- Oracle Column Group StatisticsOracle
- MAX or MIN of Indexed ColumnIndex
- [PT]Column Histogram StatisticsHistogram
- DB_BLOCK_SIZE and DB_CACHE_SIZE in OracleBloCOracle
- 關於錯誤訊息 RangeError - Maximum call stack size exceeded at XXXError