MongoDB: Sharding on single machine. Does it make sense?

后端 未结 5 1276
说谎
说谎 2020-12-30 06:56

created a collection in MongoDB consisting of 11446615 documents.

Each document has the following form:

{ 
 \"_id\" : ObjectId(\"4e03dec7c3c365f57482         


        
5条回答
  •  伪装坚强ぢ
    2020-12-30 07:38

    No, it does not make sense to shard a on a single server.

    There are a few exceptional cases but they mostly come down to concurrency issues related to things like running map/reduce or javascript.

提交回复
热议问题