Question: Why does MongoDB make sure that each document has a unique id? Does this make it easier or more difficult to shard a MongoDB database?
Step by Step Solution
There are 3 Steps involved in it
MongoDB ensures that each document has a unique identifier ID for several reasons 1 Primary Key The unique ID serves as the primary key for the docume... View full answer
Get step-by-step solutions from verified subject matter experts
