DocumentDB 1.0 is the first generally available release of the MIT-licensed document database built on PostgreSQL. According to InfoQ, most MongoDB drivers, tools and queries work without changes, thanks to compatibility with the MongoDB wire protocol.
Technically, the project has two parts: a PostgreSQL extension that provides MongoDB API-compatible functionality, and a gateway that translates MongoDB protocol requests into PostgreSQL calls. Version 1.0 supports PostgreSQL 15 through 18 via container images, while Linux packages are available for PostgreSQL 17 and 18. The release also includes a Kubernetes operator.

Image: abhirockzz.github.io — https://abhirockzz.github.io/blog/introducing-the-documentdb-kubernetes-operator/
As InfoQ reports, the focus of this version is security, stability and fixes for indexing, aggregation and geospatial queries. The project aims to give developers a NoSQL datastore built on PostgreSQL, with full visibility into the engine's architecture and implementation.
The MIT license allows commercial use, modification and hosting without requiring disclosure of proprietary code. The project is supported by other large database organizations, including AWS, Cockroach Labs, Google, Snowflake and Yugabyte, and Microsoft has described its role in the project separately.
The name, however, has raised questions: some forum users note that "DocumentDB" is already how many refer to Amazon DocumentDB, AWS's cloud service. Microsoft argues that multiple open source implementations give developers more choice in deployment and infrastructure while preserving compatibility with MongoDB drivers and queries.

Image: documentdb.io — https://documentdb.io/
Others ask how it differs from FerretDB, a separate project that uses DocumentDB's extensions as its backend and offers its own MongoDB-compatible interface. Some independent tests cited by InfoQ show 20-33% higher read throughput for DocumentDB, though the results are not considered conclusive; another comparison reports higher query latency in DocumentDB 1.0 than in MongoDB 9.0.4 across several workloads, without independent verification.
The project plans upgrade paths and separate long-term support and development tracks, while its versioning policy is still under discussion.

No comments yet. Be the first!