DocumentDB - Open Source Document Database
Open source document database
A powerful, scalable, fully MongoDB compatible open-source database built for modern applications
Open source and MIT licensed, with native BSON, advanced indexing, and vector search on PostgreSQL.
Built on PostgreSQL Native BSON MIT licensed Runs locally with Docker
Capabilities
Core features for document workloads
From CRUD to vector search, all on PostgreSQL.
Foundation
Document + SQL
Native BSON support with full PostgreSQL compatibility when you need advanced SQL.
Native BSON Advanced SQL
Indexing
Rich indexing
Single-field, multi-key, compound, text, and geospatial indexes, including nested fields.
Nested fields Text + geo
AI
Vector search
Embeddings and similarity search powered by pgvector.
Open source
Open and secure
MIT licensed with SCRAM authentication and a lightweight local runtime for development and testing.
MIT licensed SCRAM auth
Why DocumentDB
Document flexibility meets PostgreSQL confidence
Open-source control with the tools you already trust.
Native BSON
Built for document flexibility on PostgreSQL.
PostgreSQL foundation
Use advanced SQL, proven operations, and rich indexing when you need them.
Open and portable
MIT licensed, runs locally with Docker, and fits your own infrastructure or cloud.
Operator preview
DocumentDB Kubernetes Operator
Run DocumentDB on Kubernetes—from kind and minikube to hybrid and multi-cloud deployments.
Local clusters
Start on kind or minikube for local Kubernetes development.
Hybrid and multi-cloud
Use documented AKS, EKS, GKE, and on-prem deployment guides.
Replication and resilience
Extend to cross-cluster replication, HA, backups, and TLS.
Day-2 operations
Use the kubectl plugin for status, events, and promotion.
Preview with local, hybrid, and multi-cluster paths
The operator is still in preview. Start with the overview, then follow the quick start or multi-cluster guides.
Community
Built in the open
MIT licensed, active on GitHub, and guided by a technical steering committee that spans five organizations.
3.2k+
GitHub stars
on documentdb/documentdb
200+
Public forks
public on GitHub
11
TSC members
representing 5 organizations
Current TSC representation includes Microsoft, Amazon, AB InBev, Rippling, and YugabyteDB.
Press
In the press
What the industry is saying about DocumentDB.
Ready to try DocumentDB?
Start locally with Docker, then explore the project on GitHub.