Open Source FerretDB Is Available As A “Drop-In Replacement” For MongoDB 


FerretDB 1.0 is a stateless proxy that uses PostgreSQL as the database engine to translate MongoDB protocol requests into SQL.

The 1.0 production release of FerretDB, which its developers refer to as a “truly open source MongoDB alternative,” offers “all the essential features capable of running document database workloads.”

FerretDB is an open source proxy that converts MongoDB 6.0+ wire protocol requests to SQL using PostgreSQL as the database engine. It is made available under the Apache 2.0 licence. The goal of the technology is to return MongoDB database operations to their “open source roots,” according to FerretDB Inc.

FerretDB supports the use of MongoDB workloads with PostgreSQL and other database back ends. While work is still being done to support SAP HANA and SQLite, Tigris is also supported as a back end. FerretDB installation instructions may be obtained on GitHub.

MongoDB is no longer considered to be open source, according to FerretDB, as it is now distributed under the Server Side Public Licence (SSPL). SSPL is not appropriate for many open source and early-stage commercial projects, according to FerretDB, who cites a blog post from Open Source Initiative in support of this claim. The SSPL, according to MongoDB, guarantees that users of its software as a service give back to the community.

Drivers and utilities for MongoDB work with FerretDB. Along with RPM and DEB packages, Docker images are available for both development and production use. FerretDB with PostgreSQL evaluation materials are offered as a single Docker image that includes everything required. With the release of FerretDB that is generally accessible, users can now define the fields in an index and the type of index to use by using the createIndexes command. Using the dropIndex command, users can eliminate an index from a collection. Additional steps like $unwind, $limit, and $skip have been added to the capabilities of the aggregation pipeline.

Support for fundamental cursor commands, sophisticated indexes, and the capacity to execute unprocessed SQL queries are all on the FerretDB agenda for the end of the current quarter. The support for aggregate pipelines, user management commands, and query projection operators will all be improved in the third quarter. A further objective is enhanced query performance.


Please enter your comment!
Please enter your name here