摘要: 1 方法论的问题 我写了一个脚本for循环然后插入mongo,mysql,elastic-search, 按部就班,一秒走一个流程,对数据库没有考虑太多,但是出了一个bug, 原因是数据库某个key,value="",但是其实我不关心bug,想想觉得思路不应该这么写,就去找他,我心里最大的不确定性是 阅读全文
posted @ 2019-03-09 18:06 Adamanter 阅读(107) 评论(0) 推荐(0) 编辑
摘要: # 场景:一次取回mongodb某表-64万数据,pymongo.errors.DocumentTooLarge: BSON document too large (28888095 bytes) - # the connected server supports BSON document sizes up to 16777216 bytes. 文档太大就无法返回,因此分10次取,每次 # ... 阅读全文
posted @ 2019-03-09 14:51 Adamanter 阅读(1882) 评论(0) 推荐(0) 编辑