What are the key differences among :
- mongo
- mongos
- mongosh
- mongod
I've tried many websites but didn't get clear explanations for these.
What are the key differences among :
I've tried many websites but didn't get clear explanations for these.
Server side binaries:
mongos
is a router for sharding. It will be used if your server is configured as sharded.mongod
is a particular server. Can be used alone (not recommended for production) or as part of replica set.Client side binaries:
mongo
is a legacy shell to query servermongosh
is a modern shell to query server