FerretDB is a database proxy that provides a MongoDB-compatible interface for applications using a PostgreSQL-based storage engine. It is designed to offer an alternative to MongoDB Server while preserving compatibility with familiar database drivers and client tools.
FerretDB accepts requests using the MongoDB wire protocol and translates supported operations into queries handled by PostgreSQL with the DocumentDB extension.
This architecture allows applications to continue using MongoDB-style document operations while relying on an alternative database backend. Developers can work with collections and documents without rewriting their applications around PostgreSQL’s conventional relational interfaces.
The project is useful when an application depends on MongoDB drivers or client tooling but the developer wants greater control over the underlying database technology.
FerretDB aims to support common MongoDB operations, although compatibility varies across commands and features. Applications using specialised aggregation operators, administrative commands or other advanced functionality should check the compatibility documentation before migration.
By separating the MongoDB interface from the storage engine, FerretDB provides a different approach to document database compatibility.
This is free and open source software.
Key Features
- MongoDB-compatible wire protocol interface.
- PostgreSQL storage through the DocumentDB extension.
- Support for document creation, retrieval, updating and deletion.
- Compatibility with supported MongoDB drivers.
- Document filtering and query operations.
- Selected MongoDB aggregation capabilities.
- Database authentication support.
- Integration with existing MongoDB client applications.
- Compatibility documentation covering supported commands and differences.
- Migration guidance for applications using MongoDB interfaces.
- Embedding interface for integrating the proxy into applications.
Website: github.com/FerretDB/FerretDB
Support:
Developer: FerretDB Inc.
License: Apache License 2.0
FerretDB is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| Document-Oriented Databases | |
|---|---|
| SurrealDB | Scalable, distributed, collaborative, document-graph database |
| Couchbase | Distributed key-value database management system |
| CouchDB | Scalable, fault-tolerant, and schema-free written in Erlang |
| ArangoDB | Native multi-model database |
| eXist-db | Database management system entirely built on XML technology |
| RethinkDB | Scalable database built for realtime applications |
| BaseX | XML database engine |
| OrientDB | Document Database supporting ACID Transactions, SQL and Native Queries |
| Aerospike | Key-Value Store and high performance real-time NoSQL (flex-schema) database |
| RavenDB | Fully-transactional NoSQL ACID database |
| FerretDB | Database proxy that offers an open-source alternative to MongoDB |
| DocumentDB | MongoDB-compatible document database engine |
| Jackrabbit | Open-source content repository for Java |
| TerminusDB | Knowledge graph and document store |
| Kinto | Minimalist JSON storage service |
| CrateDB | Distributed SQL database management |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.