简体   繁体   English

MongoDB:增加WiredTiger中的索引键限制

[英]MongoDB: Increase Index Key Limit in WiredTiger

Where can I change index key limit with WiredTiger? 我在哪里可以使用WiredTiger更改索引键限制? Using mongodb version 3.0.4. 使用mongodb版本3.0.4。

With version 2.6.7 we changed it at /db/structure/btree/btree.h from 1024 to 2048 and compiled the code to support larger index key. 在版本2.6.7中,我们在/db/structure/btree/btree.h上将其从1024更改为2048,并编译了代码以支持更大的索引键。

Looks like this has been pushed down to the storage engine although there may be other checks elsewhere in the code that you could run into issues with. 看起来这已被推到存储引擎,尽管在代码中的其他地方可能还会遇到其他检查 ,您可能会遇到问题。

At this point, if SERVER-3372 makes it into the 3.2 release ( update: now marked for 3.3 so did not make it to 3.2) this would become redundant, so I would just wait for that release and avoid having to update, support and compile your own version of MongoDB. 此时,如果SERVER-3372进入3.2版本( 更新:现在标记为3.3,因此未使其变为3.2),则将变得多余,因此,我将等待该版本,而不必进行更新,支持和升级。编译您自己的MongoDB版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM