Many of the show stoppers that are prevalent in the legacy relational database management system (RDBMS) arena are simply not an issue when using MongoDB due to differences in architecture. There are a few major issues in the area of cross-collection processing of which you need to be aware:
- Ensuring uniqueness
- Orphaned documents
- Value synchronization
Let's start this discussion by examining ways to ensure uniqueness when using MongoDB.