Document databases on Layerbase
DocumentDB V1
Originally created by Microsoft and now a Linux Foundation project. Its own MongoDB-compatible gateway runs on PostgreSQL-based document storage.
Managed DocumentDB on Layerbase
Available on the Free plan with no card. Use the MongoDB-compatible endpoint and connection guide for your database.
Instant branching creates an isolated copy of your documents for previews, testing and migration rehearsals.
Create DocumentDBA separate engine from FerretDB
Both projects use PostgreSQL-based storage. Standalone DocumentDB has its own gateway; FerretDB 2 uses the DocumentDB extension through FerretDB's interface. Existing FerretDB databases are unchanged. This is also distinct from Amazon DocumentDB.
Compare MongoDB-compatible optionsCheck compatibility before moving data
Test the queries, indexes and application features you depend on. The guided Atlas importer lands on DocumentDB by default, with FerretDB as the alternative. DocumentDB does not inherit FerretDB's benchmark results or point-in-time restore support.
New
Moving to PostgreSQL instead?
Convert a DocumentDB database into PostgreSQL tables. You review the suggested mapping before anything is copied, the copy lands in a new database, and checks run before you switch. Your source stays untouched. Available on paid plans.
FAQ
Common DocumentDB questions
Is hosted DocumentDB available on the Free plan?
Yes. DocumentDB joined the Free plan in November 2026, so you can create one with no card. A free database sleeps when idle and wakes on the next connection. Solo and Pro add an always-on pool and backups every 12 hours.
Is this Amazon DocumentDB?
No. This is the open-source DocumentDB project originally created by Microsoft. Amazon DocumentDB is a separate AWS service.
How is this different from FerretDB?
Standalone DocumentDB uses its own gateway. FerretDB is an independent project whose 2.x versions use the DocumentDB PostgreSQL extension with their own protocol interface. Neither product is the MongoDB server itself.
How does DocumentDB perform compared with FerretDB?
In our October 23, 2026 YCSB run, on matched 4 vCPU / 8 GB instances with a 10 million record dataset, standalone DocumentDB delivered more throughput than FerretDB in all nine workload rows, with the widest lead on read-heavy mixes. FerretDB had the lower update p99 latency in every 50/50 read/update row, most visibly at 256 client threads. It was one run per stack on different PostgreSQL minor versions, so treat it as a starting point and test your own workload. The run page has the methodology, image digests, caveats and every result row, rendered from the downloadable CSV.
The October 2026 benchmark runDoes compatibility mean every MongoDB feature works?
No. Test your queries, indexes, transactions and application against the specific engine and version before moving production data.
Is there a guided migration from MongoDB Atlas?
Yes, and DocumentDB is its default target. Paste your mongodb+srv:// string and Layerbase copies the collections, documents, and indexes into a new DocumentDB database, reading Atlas once and never writing to it. An index DocumentDB cannot create, such as one with a collation, is skipped and named in the migration report so you can recreate it by hand.
Migrating from MongoDB Atlas