尽管在“BufBuilder试图增长()”错误时使用$ out,但聚合仍然失败

时间:2015-01-27 04:28:39

标签: mongodb pymongo aggregation-framework

我正在使用MongoDB来聚合一些数据。查询也可以在错误消息中看到。虽然我使用$out将结果导出到另一个集合,但聚合失败。有什么建议吗?

   OperationFailure: command SON([('aggregate', u'h'), ('pipeline',
 [{'$unwind': '$hashtags'}, {'$group': {u'replied': {'$push': u'$replied'},
 u'retweeted': {'$push': u'$retweeted'}, u'followers': {'$push':
 u'$followers'}, u'user': {'$push': u'$user'}, u'date': {'$push': 
u'$date'}, '_id': '$hashtags', '_ids': {'$push': u'$_id'}}}, {'$out': 
'Hashtags'}]), ('allowDiskUse', True)]) failed: exception: BufBuilder 
attempted to grow() to 134217728 bytes, past the 64MB limit.

0 个答案:

没有答案