yiduzixin@163.com | 发布于 2019-01-11 09:53:23 | 阅读量 586 |
发布于 2019-01-11 09:53:23 |

报错内容:

Severity:

Message:

10.254.19.14:27017: Encountered non-retryable error during query :: caused by :: Executor error during find command :: caused by :: Sort operation used more than the maximum 33554432 bytes of RAM. Add an index, or specify a smaller limit.

Filename:

Line Number:

截图:

增大索引值的内存:

db.adminCommand({setParameter:1, internalQueryExecMaxBlockingSortBytes:536870912})
#删除索引:
db.content.dropIndex("sort_-1")
#再次创建索引:
db.content.createIndex({sort: -1}, {background: true})

 参考:

https://blog.csdn.net/cloume/article/details/70767061

 

 


内容更新于: 2019-11-30 18:31:54
链接地址: http://blog.leanote.com/post/yiduzixin@163.com/Sort-operation-used-more-than-the-maximum

上一篇: 升级OpenSSH_7.9

下一篇: 硬盘测速

586 人读过
立即登录, 发表评论.
没有帐号? 立即注册
0 条评论
文档导航