原文:mysql--庫索引過長超過限制--ERROR 1709 (HY000): Index column size too large. The maximum column size is 767 bytes.

在恢復一個mysql庫的備份文件時遇到報錯,報錯信息為index column size too large. the maximum column size is bytes,此問題為備份的庫索引過長超過限制,目標數據庫引擎為INNODB 引擎,編碼UTF ,主鍵字符串默認最大 ,理論上是需要優化備份數據庫的,但是在實際環境中如果沒辦法優化,我們可以通過配置目標數據庫來解決這個報錯修改數據庫的配 ...

2020-09-08 15:39 0 653 推薦指數:

查看詳情

The maximum column size is 767 bytes (Mysql)

ERROR app.wsutils 419 INCRON: Error: ('HY000', '[HY000] [MySQL][ODBC 5.2(w) Driver][mysqld-5.7.7-rc-log]Index column size too large. The maximum ...

Mon May 22 17:15:00 CST 2017 0 1938
Mysql [Err] 1118 - Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535.

對於越來越多的數據,數據的容量越來越大,壓縮也就越來越常見了。在我的實際工作中進行過多次壓縮工作,也遇到多次問題,在此和大家分享一下。 首先,我們先說說怎么使用innodb的壓縮. 其實很簡單,根據經驗,一般壓縮比例可以達到30%-40% 然后,我們說說我在壓縮過程中 ...

Tue Aug 22 19:09:00 CST 2017 0 4545
 
粵ICP備18138465號   © 2018-2026 CODEPRJ.COM