What is Azure Cosmos DB for MongoDB?
Azure Cosmos DB for MongoDB (formerly DocumentDB) is a fully managed, globally distributed NoSQL database with MongoDB compatibility. The service offers guaranteed single-digit millisecond latencies and automatic scaling.
Core Features
- MongoDB Wire Protocol compatibility for seamless migration
- Global distribution with multi-region writes
- Five consistency levels from Strong to Eventual
- Automatic indexing of all fields
- Serverless and Provisioned Throughput modes
Typical Use Cases
- Migration of existing MongoDB workloads to the cloud
- Globally distributed applications with low latency
- IoT databases with high write rates and flexible schema
Benefits
- 99.999% SLA for availability with multi-region configuration
- No database administration required
- Automatic scaling based on workload
- GDPR-compliant with data residency in EU regions
Integration with innFactory
As a Microsoft Solutions Partner, innFactory supports you with Azure Cosmos DB: architecture consulting, MongoDB migration, performance optimization and cost management.
Frequently Asked Questions
What is the difference between DocumentDB and Cosmos DB?
DocumentDB was the original name. The service evolved into Azure Cosmos DB and now offers multiple APIs: MongoDB, Cassandra, Gremlin, Table and the native NoSQL API.
How does MongoDB compatibility work?
Azure Cosmos DB for MongoDB supports the MongoDB Wire Protocol. Existing MongoDB applications can migrate without code changes, only the connection string changes.
What are Request Units (RU/s)?
RU/s is the billing unit for Cosmos DB. One RU equals reading a 1KB document. Write operations and complex queries consume more RUs.
How does global distribution work?
Cosmos DB automatically replicates data to multiple Azure regions. You can enable multi-region writes for worldwide write availability with consistency guarantees.
