`
m635674608
  • 浏览: 5004441 次
  • 性别: Icon_minigender_1
  • 来自: 南京
社区版块
存档分类
最新评论

Index column size too large. The maximum column size is 767 bytes

 
阅读更多

Index column size too large. The maximum column size is 767 bytes

 

5.6及以上高版本MySQL innodb引擎创建表或者添加索引的时候 报Index column size too large. The maximum column size is 767 bytes

低版本可能是正常的 

 

原因主要是高版本的数据库 为了性能 很多东西做了限制 不合理的字段长度 不合理的查询方式 都会干掉

如果改配置的话 配置改了之后 字符集等也需要设置

而且对innodb性能 应该有所损耗 

可以把作为索引的那个column 改小一点 就可以了

 

 

确实需要大字段索引可以参考:https://help.aliyun.com/knowledge_detail/41707.html

分享到:
评论

相关推荐

    oauth2SQL.zip

    oauth2.0官方sql文件+解决索引字符过长的sql文件,第二个是根据Error : Index column size too large... The maximum column size is 767 bytes的问题修改过的sql文档。并没有修改参数类型。只是改了数据库的一些配置。

    提要:自托管的RSS阅读器-带有Symfony的API-独立的html客户端-Google阅读器替代

    要求 语言 ...数据库 MySQL 5.5.3或更高版本(utf8mb4字符集) 要修复#1709 - Index ... The maximum column size is 767 bytes. #1709 - Index column size too large. The maximum column size is 767 bytes. ,添加My

    Mysql 报Row size too large 65535 的原因及解决方法

    MySQL中的“Row size too large 65535”错误是由于尝试创建或修改的数据表行的总大小超过了系统允许的最大限制。这个限制通常不包括BLOB和TEXT类型的字段,它们是外部存储的,但包括所有其他列的字节总和。MySQL标准...

    file-column-0.3.1.tar.gz

    file-column-0.3.1.tar.gzfile-column-0.3.1.tar.gzfile-column-0.3.1.tar.gzfile-column-0.3.1.tar.gzfile-column-0.3.1.tar.gzfile-column-0.3.1.tar.gzfile-column-0.3.1.tar.gzfile-column-0.3.1.tar.gzfile-...

    abadi-column-stores.pdf

    The main advantage of a column-store is that it can access just the columns needed to answer such queries. We specifically focus on three influential research prototypes, MonetDB [46], VectorWise [18...

    微软内部资料-SQL性能优化5

    The number of levels in an index will vary depending on the number of rows in the table and the size of the key column or columns for the index. If you create an index using a large key, fewer ...

    parquet-column-1.10.1-API文档-中文版.zip

    赠送jar包:parquet-column-1.10.1.jar; 赠送原API文档:parquet-column-1.10.1-javadoc.jar; 赠送源代码:parquet-column-1.10.1-sources.jar; 赠送Maven依赖信息文件:parquet-column-1.10.1.pom; 包含翻译后...

    Oracle中(column1,column2..)in(集合/子查询)的hibernate实现

    例如,如果我们有一个表`employees`,包含`column1`和`column2`列,我们可以用如下SQL查询来找出`column1`和`column2`都在特定集合中的记录: ```sql SELECT * FROM employees WHERE (column1, column2) IN ((value...

    domino域内容大于32k怎么处理

    在Lotus Domino/IBM Domino应用开发中,遇到“Field is too large (32k) or view's column and selection formulas are too large”的错误时,通常是因为单个字段或整个文档的摘要数据超过了其允许的最大值。...

    js table column size

    之前上传一个类似功能的js,但不够完善。现在添加功能了。比较,双击后最大化和最小化。指定第N列的最小宽度等。$("#<%=gridView.ClientID%>").movedHead({ colSize: '{"col0":{"col":0,"val":55}' });...

    更新text字段时出现Row size too large报错应付措施

    在MySQL数据库操作中,"Row size too large"的错误通常发生在尝试创建或更新一行数据时,如果该行的数据超过了MySQL允许的最大行大小。这个错误在处理包含大字段,如TEXT或BLOB类型字段的记录时尤为常见。在给定的...

    i-vector的工具箱

    The code assumes that there is one observation per column. The CMVN should be applied after dropping the low SNR frames. The logical switch varnorm (false | true) is used to instruct the code to ...

    column generation

    column generation is an insightful overview of the state-of-the-art in integer programming column generation and its many applications. The volume begins with "A Primer in Column Generation" which ...

    双柱图 和 折线图 的组合图表#Combination chart of 2-column and line chart.twbx

    双柱图 和 折线图 的组合图表#Combination chart of 2-column and line chart.twbx

    2019年行政区域规划表(3月更新)

    create unique index SYS_AREA_IDX1 on SYS_AREA (AREA_NO) tablespace TBS_MCMSDB_DATA pctfree 10 initrans 2 maxtrans 255 storage ( initial 192K next 1M minextents 1 maxextents unlimited );

    c# DataGridView Columns 增加ColumnType选择

    本篇文章将深入探讨如何在`DataGridView`的列中增加自定义的`ColumnType`,并展示如何构建一个自定义的NumericUpDown单元格。 `DataGridViewTextBoxColumn`和`DataGridViewTextBoxColumn`是`DataGridView`默认提供...

    swt table 实现换行

    shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } display.dispose(); } } ``` 通过以上步骤,我们可以在 SWT Table 控件中成功实现文本的换行显示。这种方式不仅灵活,而且...

    OutlookAttachView v2.73

    clicking the second/third/fourth column. To sort the first column you should not hold down the Shift key. * Version 2.67 o Fixed bug: when turning on the 'Image Preview' option, OutlookAttachView...

    Ehlib_6.1.129 Full Source 带DEMO

    + Added an ability to change the size of RowDetailPanel by mouse at RunTime. New properties in RowDetailPanel: property VertSizing: Boolean - Show an RowDetailPanel Splitter at the buttom of the ...

    parquet-column-1.10.0-API文档-中文版.zip

    赠送jar包:parquet-column-1.10.0.jar; 赠送原API文档:parquet-column-1.10.0-javadoc.jar; 赠送源代码:parquet-column-1.10.0-sources.jar; 赠送Maven依赖信息文件:parquet-column-1.10.0.pom; 包含翻译后...

Global site tag (gtag.js) - Google Analytics