Home / Companies / Yugabyte / Blog / Post Details
Content Deep Dive

Getting Started with MongoDB API in YugabyteDB

Blog post from Yugabyte

Post Details
Company
Date Published
Author
Hari Krishna Sunder
Word Count
982
Language
English
Hacker News Points
-
Summary

YugabyteDB has announced Beta support for the MongoDB API in its latest release, v2.25.2, thanks to a collaboration with Microsoft and FerretDB. This development leverages Microsoft’s DocumentDB extension and enhances PostgreSQL compatibility, enabling YugabyteDB to support MongoDB workloads that require scaling. The integration allows YugabyteDB to combine its relational (YSQL) and non-relational (YCQL) capabilities with document-based data support, storing data natively in the BSON format. The solution utilizes DocumentDB for native BSON and MongoDB API support in PostgreSQL, while FerretDB acts as a gateway converting MongoDB protocols to PostgreSQL protocols. Currently in Beta, the new API is open for community collaboration and feedback, although it has limitations such as the absence of arm64 support and secondary indexes, which are expected to be addressed in future updates. This initiative reflects YugabyteDB's commitment to offering a versatile and open-source platform for diverse database needs, providing an alternative for MongoDB workloads that require horizontal scalability.