What is Azure DocumentDB?
Azure DocumentDB is Microsoft’s fully managed service for DocumentDB, an open-source, MongoDB-compatible document database governed by the Linux Foundation and built on PostgreSQL. The service was previously part of Azure Cosmos DB as “Cosmos DB for MongoDB (vCore)” and has evolved into a standalone product closely aligned with the open-source project.
Core Features
- High MongoDB compatibility via the wire protocol, including BSON support
- Schema-agnostic data model for unstructured and evolving data structures
- Vertical and horizontal scaling, with automatic sharding of large databases without downtime
- Built-in vector database for retrieval-augmented generation and AI use cases, included at no extra cost even in the free tier
- Encryption at rest and in transit, Microsoft Entra ID integration, Private Link for private connectivity
- Multicloud and hybrid operation via the open-source project and a Kubernetes operator
Typical Use Cases
- Migrating existing MongoDB workloads using standard tools such as mongodump/mongorestore
- Transactional and operational NoSQL workloads as well as highly scalable web and mobile backends
- Generative AI applications that need vector search alongside the underlying data
- Multicloud or hybrid architectures using a MongoDB-compatible interface across different environments
Benefits
- Open, MIT-licensed database foundation without SSPL restrictions
- Decoupling of compute and storage for independent scaling
- Vector search without additional external integration
- Deep integration with Azure tools such as Azure Monitor, Azure CLI, Bicep, and Terraform
Integration with innFactory
As a Microsoft Solutions Partner, innFactory supports you with Azure DocumentDB: architecture consulting, migration of existing MongoDB workloads, performance optimization, and cost management.
Frequently Asked Questions
What is Azure DocumentDB?
Azure DocumentDB is Microsoft's fully managed service for DocumentDB, a MongoDB-compatible document database project governed by the Linux Foundation and built on PostgreSQL. The service was previously known as "Azure Cosmos DB for MongoDB (vCore)" and became a standalone product after the open-source project was spun out.
How does Azure DocumentDB differ from Azure Cosmos DB?
Both services store JSON-like documents but are designed differently: Azure Cosmos DB (NoSQL API) is built for horizontal scaling, global distribution, and Request Unit-based billing. Azure DocumentDB is built for vertical scaling, extensive aggregations, and high MongoDB compatibility via the MongoDB wire protocol.
How high is the MongoDB compatibility?
According to Microsoft, the DocumentDB project achieves around 99.03% compatibility with MongoDB via the wire protocol, including BSON support, indexing, and vector search. Existing MongoDB drivers and tools such as MongoDB Compass or the Mongo shell generally work without major changes.
What does Azure DocumentDB cost?
Billing depends on the chosen performance tier (provisioned, autoscale, or partially serverless), storage consumption, backup retention, and optional features such as Private Link. It is not a pure Request Unit model like Azure Cosmos DB (NoSQL API).
Is Azure DocumentDB the same as Amazon DocumentDB?
No, despite the similar name these are different products from different providers. Azure DocumentDB is based on the open-source DocumentDB project governed by the Linux Foundation, while Amazon DocumentDB is a separate AWS service with its own implementation.
Note: All product information on this page has been compiled with care, but is provided without guarantee and may be outdated or incomplete. Cloud services evolve rapidly — features, pricing, SLAs, and availability change frequently. Authoritative and up-to-date information can only be found on the official product page of Azure (official documentation). This page does not represent an offer by Azure.
