DocumentDB, a distinct MongoDB-compatible engine
Originally created by Microsoft, now a Linux Foundation project. Its own MongoDB-compatible gateway runs on PostgreSQL-based document storage.
Already have data? Migrate it from MongoDB Atlas, DigitalOcean Any connection string works too.
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