SynergyDB documentation

Draft documentation set for SynergyDB, written from main at 8a689c5c (2026-11-30) and the proof run on a3232c9. Every claim points to the repository file that backs it. Lines marked Not verified are things the files do not prove.

Written 2026-12-03. Not yet committed to the repository.

# Page For
1 Overview What SynergyDB is, how a wire is proven, the scorecard, what is not done yet
2 Quickstart Run it and connect
3 Wire guides One page per wire: scores, connecting, gaps, re-running the proof
4 How it works Storage, durability, transactions, indexes, vectors, cross-model transactions
5 Operations Deployment, cluster mode, durability, backup and restore, monitoring
6 Configuration reference Every config key and environment variable with its default
7 Security Authentication, authorization, TLS, encryption at rest, audit, compliance status
8 Migration and rollback Moving an app onto SynergyDB and back out, and a pilot plan
9 Benchmarks and reproduction Performance numbers, method, and how to re-run everything
10 Evaluator FAQ Short answers to evaluators' first questions
  Archiving the June book Banner text and a recommendation for the old docs

Source paths

Paths in (source: ...) pointers are relative to the root of the synergydb repository. Proof outputs are under docs/proof/, and per-change status entries are under docs/status/.

Conflicts found while writing

These docs follow the code where sources disagree, and say so on the page. Some earlier conflicts are now settled by the code; the main ones to resolve in the repository:

  • Redis default authentication (settled). The README says unauthenticated by default; the code fails closed and answers NOAUTH until AUTH, with or without a password configured (source: src/protocol/redis/commands.rs, CommandExecutor::requires_auth; test test_no_password_configured_fails_closed). (Security, Redis protocol)
  • Open bugs vs merged fixes (partly settled). The README's Known gaps list S3 startup memory and large COPY as open; the code streams S3 bodies lazily and commits COPY in 250,000-row chunks (source: src/protocol/s3/mod.rs, body_loader; src/protocol/postgres/copy.rs, copy_commit_rows). The PostgreSQL torn read found by the soak is fixed by per-statement snapshots (source: src/transaction/mvcc.rs, statement_snapshot), with no soak rerun since. (Overview, Operations)
  • Optimizer. The README calls it cost-based and index-choosing; the code is seven fixed rewrite rules plus a join reorder that runs only with ANALYZE statistics, and index choice is a fixed order in the executor (source: src/plan/optimizer.rs, Optimizer::optimize; src/query/engine.rs, execute_table_scan_self). (How it works, Optimizer)
  • MySQL AUTO_INCREMENT. The README says values are reserved 32 at a time; the MySQL path writes each value exactly (source: src/query/engine.rs, next_autoincrement). (Sequences)
  • Oracle. The README says packages, triggers, user-defined types and LOB writes are missing; the code has all four, with little Rust test coverage. (Oracle)
  • Wire authentication. gRPC refuses Bearer tokens that the proto comment and status entry advertise; Snowflake Authorization: Basic never succeeds; Elasticsearch accepts only Basic. (Security)
  • TLS modes. Once TLS is on, 13 wires take only TLS on their port (loopback included), and debug builds turn TLS on by default. (Security, TLS)
  • Full-text parity. The README says 8 of 8 probes match PostgreSQL; the committed feature matrix shows 6 of 8, while status entries from 2026-11-24 to 2026-11-30 report the whole matrix at 295/295. (Full-text search)
  • Generated superuser password. The README says it is printed in docker logs; the entrypoint stores it on the data volume instead. (Quickstart)
  • SQLite with no config file. The README says every wire starts; the code leaves SQLite off. (Configuration reference)
  • Monitoring configs. The shipped scrape configs target port 9091, the Prometheus remote-storage wire, which has no /metrics; most series the alerts and dashboard use are never emitted. (Operations, Observability internals)
  • Docker image line. The README names 8838377 as the latest build in one section and the 4510b81 line in another.
  • Stale repository files. QUICKSTART.md (16 protocols, old image name), STATUS.md (lists TLS, RLS and audit as untested) and parts of the Kubernetes, Helm and Swarm files predate the November work.