MongoDB

Status: Full
Default port: 27017
Compared against: MongoDB 6

Scores are from main at a3232c9 (2026-11-30) unless noted. Full means a deep multi-phase differential suite matches the reference and real applications run on the wire; Preview means the suites are strong but app coverage, a local reference or a known gap is still missing. See How a wire is proven.

What was measured

286/286 (93 base operations plus 193 operations taken from the MongoDB manual).

Feature matrix 39/39. Users and roles 343/343 against MongoDB 8. Meridian PyMongo walk 24/24.

(source: README.md, Wire scorecard)

Connect

mongosh mongodb://localhost:27017/synergydb

Accounts: the superuser is postgres on a new install. Create users with CREATE USER ... PASSWORD over the PostgreSQL wire. How each wire authenticates, and which wires are open by default, is in Security.

Known gaps

  • Natural order is key order, not insertion order.
  • Compound unique indexes, and createIndex(unique) over existing duplicates, are not enforced.
  • Change streams are an in-memory log and are not resumable across a restart.
  • Open bug (Nov 30): the pipeline form of $lookup with let differs from MongoDB.

(source: README.md, Known gaps, unless another file is named)

Re-run the proof

One command, from a clone of the repository (needs Docker, Python 3.10+ and Rust):

make prove ARGS='--wires mongo'

This starts the reference engine in Docker next to a fresh SynergyDB, runs every phase and writes prove/out/latest/report.html. (source: prove/README.md)

By hand:

python test-scripts/diff-mongo/diff_mongo.py
python test-scripts/wire-matrix/mongo_matrix.py

The by-hand steps (reference containers, Python packages, the all-wires diff config) are in Benchmarks and reproduction.

Proof files

  • docs/proof/2026-11-30/proof-pack-a3232c9/logs/mongo-operation-corpus.txt
  • docs/proof/2026-11-30/proof-pack-a3232c9/logs/mongo-feature-matrix.txt
  • docs/status/2026-11-30-mongo-users-roles.md
  • docs/proof/2026-11-24/bench/mongo-pymongo.md