What is the exact difference between mongod and mongos

前端 未结 4 1680
孤城傲影
孤城傲影 2021-02-05 01:32

While I was looking into the MongoDB documentation, I found two different terms mongod and mongos.

While starting the server, I am using

4条回答
  •  执笔经年
    2021-02-05 01:55

    Mongos = MongoDB Shard Utility, the controller and query router for sharded clusters. Sharding partitions the data-set into discrete parts.

    Mongod = The primary daemon process for the MongoDB system. It handles data requests, manages data access, and performs background management operations.

    This explanation of mongo replication and sharding really helped me understand it: https://dba.stackexchange.com/a/53705/106925

提交回复
热议问题