→ Back to Home
Cloud Databases

Microsoft's Open Source DocumentDB 1.0 Reaches GA, Offering MongoDB Compatibility on PostgreSQL

Microsoft has announced the general availability of Open Source DocumentDB 1.0, a document database built on PostgreSQL that offers compatibility with the MongoDB wire protocol. This release, licensed under MIT, allows developers to use most MongoDB drivers, tools, and queries without modification. DocumentDB 1.0 consists of a PostgreSQL extension that provides MongoDB API-compatible functionality and a gateway that translates MongoDB protocol requests into PostgreSQL calls. It supports PostgreSQL versions 15 through 18 via container images, with Linux packages available for PostgreSQL 17 and 18, and also includes a Kubernetes operator. This development is significant for cloud and DevOps practitioners as it offers a compelling alternative in the NoSQL database landscape. Many organizations are heavily invested in MongoDB due to its developer-friendly document model. However, concerns around licensing, vendor lock-in, or a desire to standardize on a single database engine often arise. Open Source DocumentDB addresses these by providing a MongoDB-compatible interface on top of PostgreSQL, a widely adopted and trusted open-source relational database. This allows teams to potentially consolidate their database expertise and infrastructure, reducing operational overhead and licensing complexities. The release fits into a broader trend of database convergence and increased flexibility in cloud-native environments. We've seen a growing movement towards leveraging PostgreSQL for diverse workloads, often extended with capabilities like vector search for AI applications. This move by Microsoft further solidifies PostgreSQL's position as a versatile data platform. It also reflects the industry's push for open standards and interoperability, giving developers more choice and reducing the friction associated with migrating or integrating different database systems. In practice, this means that teams currently using MongoDB can evaluate Open Source DocumentDB as a potential migration target, especially if they are already using PostgreSQL or are looking for a more open-source-centric stack. Practitioners should investigate its performance characteristics for their specific workloads, as an open GitHub issue reports higher query latency in DocumentDB 1.0 compared to MongoDB 9.0.4 in some scenarios, though these results are not independently verified. The inclusion of a Kubernetes operator also makes it an attractive option for containerized deployments, aligning with modern DevOps practices. Teams should monitor the project's planned long-term support and development tracks, as well as its versioning policy, which is still under discussion.
#documentdb#postgresql#mongodb#open source#nosql#kubernetes
Read original source