Questions tagged «mongodb-indexes»


6
溢出排序阶段缓冲的数据使用量超出内部限制
使用代码: all_reviews = db_handle.find().sort('reviewDate', pymongo.ASCENDING) print all_reviews.count() print all_reviews[0] print all_reviews[2000000] 计数打印2043484,然后打印all_reviews[0]。 但是在打印时all_reviews[2000000],出现错误: pymongo.errors.OperationFailure:数据库错误:运行程序错误:溢出排序阶段缓冲的33554495字节的数据使用量超过了33554432字节的内部限制 我该如何处理?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.