Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在不同的 mongod 实例上创建 Map Reduce 集合。想法是在不同的 mongod 上执行 map reduce(仅用于读取)并创建或修改(在增量 MR 的情况下)map reduce 在不同的 mongod(写入)实例上收集。
您可以使用分片。
如果您有两个分片并将输入集合中的所有文档分片标记到 shard-1。然后在 map reduce 上使用分片输出,并将所有输出文档分片标记到 shard-2。