mongodb索引长度限制
来源:互联网 发布:临沂数据恢复 编辑:程序博客网 时间:2024/05/22 15:22
mongodb索引长度限制
集合中索引不能超过64个
索引名的长度不能超过128个字符
一个复合索引最多可以有31个字段
可以使用db.collection.ensureIndex({indexName:1},{name:”xxxIndexName”})指定name的长度。
Number of Indexes per Collection
A single collection can have no more than 64 indexes.
Index Name LengthFully qualified index names, which includes the namespace and the dot separators (i.e. ..$), cannot be longer than 128 characters.
By default, is the concatenation of the field names and index type. You can explicitly specify the to the createIndex() method to ensure that the fully qualified index name does not exceed the limit.
Number of Indexed Fields in a Compound Index
There can be no more than 31 fields in a compound index.
0 0
- mongodb索引长度限制
- MySQL索引长度限制问题
- MongoDB:17-MongoDB-索引限制及其他限制规则
- 关于InnoDB索引长度限制的tips
- 关于InnoDB索引长度限制的问题
- 关于InnoDB索引长度限制的tips
- 关于 InnoDB 索引长度限制的 tips
- mysql索引长度的一些限制
- MongoDB批量执行命令时的长度限制
- MySQL MyIsam 存储引擎索引长度限制测试记录
- Informix 表、索引对字段个数、长度的限制情况
- MySQL MyIsam 存储引擎索引长度限制测试记录
- 学习MongoDB 八: MongoDB索引(索引限制条件)(二)
- 学习MongoDB 八: MongoDB索引(索引限制条件)(二)
- 长度限制
- 限制索引
- 关于MySQL数据库InnoDB存储引擎索引长度限制的tips
- 数据库 表名,列名,索引名,约束名,表列数长度限制
- 使用python sklearn下的k_means聚类分析算法时遇到的问题
- 1035. 插入与归并
- 我去济南 为见你
- 基于junit4+Robotium+spoon+as二次开发自动化框架,支持失败重试和失败截图
- linux初学者——数据类型
- mongodb索引长度限制
- springIoC--Bean装配的3种方式比较
- Linux的fork
- [蘑菇街]最大间隔
- Unity 打包 导出设置
- 如何用js得到当前页面的url信息方法(JS获取当前网址信息)
- 简单Json解析
- 编写优质嵌入式C代码
- Linux的主机名基础