Glossary

Terms as this book uses them for SynergyDB. Each entry names the code or document it comes from and, where there is one, the page that covers it in depth. Entries carried over from the June 2026 glossary were kept only where the code still matches; three June definitions are corrected (see the note at the end).

A

ACID. Atomicity, consistency, isolation and durability. In SynergyDB, the isolation a transaction gets depends on its isolation level (see Isolation level). Durability comes from the write-ahead log. (source: src/transaction/mvcc.rs, IsolationLevel; src/storage/wal.rs) See MVCC.

Advisory lock. An application-named lock taken with the PostgreSQL pg_advisory_lock family of functions, held apart from row locks. (source: src/transaction/advisory.rs, AdvisoryLockManager) See Locking.

ANN (approximate nearest neighbour). Vector similarity search that gives up exactness for speed. HNSW serves ANN queries in SynergyDB. (source: src/index/hnsw.rs, HnswIndex) See HNSW and vectors.

Audit chain. The audit log's on-disk form: one JSON line per event, each carrying the hash of the line before it, checked by synergydb audit verify. (source: src/auth/audit_chain.rs; src/audit_cmd.rs) See Security, audit logging.

B

Block cache. An in-memory cache of SSTable blocks that serves repeated reads. (source: src/storage/sst.rs, BlockCache) See Caching and memory.

Bloom filter. A per-SSTable filter that lets a point read skip files that cannot hold the key. (source: src/storage/sst.rs, BloomFilter) See SSTable format.

Bolt. Neo4j's binary protocol for Cypher queries. SynergyDB's Bolt wire has its own Cypher executor, separate from src/query/cypher/. (source: src/protocol/bolt/; ROADMAP.md 2.23) See Neo4j wire and Bolt protocol.

C

Catalog. The metadata that tracks databases, tables, columns, types and indexes. On the PostgreSQL wire it also answers pg_catalog and information_schema queries. (source: src/protocol/postgres/catalog.rs, SystemCatalog) See PostgreSQL protocol.

Column masking. Hiding or replacing protected column values at read time for roles without access. (source: src/auth/column_security.rs) See Authorization.

Compaction. The LSM background process that merges SSTables. It keeps only the newest version of a key, so a snapshot held across a compaction is not protected. (source: src/storage/compaction.rs; README.md, PostgreSQL known gaps) See Compaction.

Compatible database. A database that speaks the same protocol as a supported wire, for example Valkey (Redis) or MariaDB (MySQL), checked separately. (source: README.md, "Compatible databases (V2)"; docs/status/2026-11-30-compatible-databases.md) See Overview, compatible databases.

Cost-based optimizer. The query optimizer. It is on by default; SYNERGYDB_OPTIMIZER set to 0, false or off turns it off. (source: src/query/engine.rs, optimizer_enabled) See Optimizer and Cost model and statistics.

CQL. The Cassandra Query Language, spoken by the Cassandra wire. (source: src/protocol/cassandra/) See Cassandra wire.

Cypher. The declarative graph query language used over Bolt. (source: src/query/cypher/; src/protocol/bolt/) See Cypher.

D

DDL undo log. The record that lets CREATE, ALTER and DROP inside a transaction be rolled back with it. (source: src/storage/namespaced.rs, DdlUndoLog) See Savepoints and DDL.

Dev insecure auth. The test switch SYNERGYDB_DEV_INSECURE_AUTH, which turns authentication off. With a non-loopback bind the server refuses to start with it set unless SYNERGYDB_ALLOW_INSECURE_BIND=1 is also set. (source: src/lib.rs, lock_dev_insecure_auth_env; src/main.rs) See Security, test switches.

Differential suite. A test that sends the same commands to the real database and to SynergyDB and compares the answers. It is how a wire is proven. The June book called this a "differential harness". (source: README.md, scorecard) See How a wire is proven and Testing.

Domain type. A named type over a base type with optional CHECK constraints, created with CREATE DOMAIN. Tested by test_domain_create_and_validate and test_domain_email_check. (source: src/query/engine.rs, execute_create_domain) See SQL data types.

E

Encryption at rest. AES-256-GCM encryption of the core store's data files, off by default ([storage] encryption_enabled). (source: src/storage/at_rest.rs; src/storage/crypto.rs; docs/status/2026-11-30-encryption-at-rest.md) See Encryption at rest internals.

EXPLAIN. The statement that prints the plan the engine will run, with the real access path. (source: src/plan/explain.rs, explain_plan_text_ctx; src/query/engine.rs, execute_explain) See Logical plan.

F

Follower. A Raft node that is not the leader. Followers refuse writes; on the PostgreSQL wire the error is SQLSTATE 25006. Reads on a follower have no staleness bound. (source: src/distributed/node_role.rs, RoleCell; ROADMAP.md 4.55) See Raft.

Full. The wire status for a wire proven by its differential suite with no open known gap that keeps it in Preview. (source: README.md, scorecard) See Wire guides.

G

GIN index. A generalised inverted index for JSON and array containment queries, kept in the secondary index registry. (source: src/storage/mod.rs, SecondaryIndexRegistry) See GIN.

Gremlin. The Apache TinkerPop graph traversal language, spoken by the Gremlin wire. (source: src/protocol/gremlin/) See Gremlin.

Group commit. Several concurrent commits sharing one WAL sync. (source: src/storage/mod.rs, GroupCommitCoordinator) See WAL.

H

HNSW. Hierarchical Navigable Small World, the graph structure behind vector search. The cross-wire vector service saves its graphs under vector_graphs/ in the data directory. (source: src/index/hnsw.rs, HnswIndex; src/vector/mod.rs) See HNSW and vectors.

Hrana. The libSQL protocol over HTTP, spoken by the SQLite/libSQL wire. (source: src/protocol/sqlite/hrana.rs) See SQLite / libSQL wire.

I

InternalKey. The key form stored in the LSM: the user key, then a sequence number, then an op type. (source: src/storage/mod.rs, InternalKey) See Keys and namespaces.

Isolation level. How far concurrent transactions are shielded from each other. SynergyDB has four internal levels: ReadUncommitted (behaves as ReadCommitted), ReadCommitted, SnapshotIsolation and Serializable. PostgreSQL sessions default to Read Committed; MySQL sessions default to SnapshotIsolation. (source: src/transaction/mvcc.rs, IsolationLevel; src/query/engine.rs, begin_transaction, begin_isolation) See Isolation levels and SSI.

K

KMS. Key Management Service. An AWS KMS key provider is available behind the aws-kms build feature. A mock KMS exists for development and is reached only when SYNERGYDB_DEV_INSECURE_AUTH is set. (source: Cargo.toml, aws-kms; src/proxy/mod.rs) See Decision records, ADR-010.

L

LSM-tree (log-structured merge tree). The one storage engine under every data model: writes go to a memtable and the WAL, flush to SSTables, and are merged by compaction. (source: src/storage/memtable.rs; src/storage/sst.rs; src/storage/compaction.rs) See Storage overview.

M

Memtable. The in-memory sorted write buffer at the top of the LSM. (source: src/storage/memtable.rs) See Memtable.

Meridian. An application in the repository that uses every wire at once and runs a kill-on-a-timer soak against SynergyDB. (source: apps/meridian/) See How it works.

MQL. MongoDB Query Language. MQL commands and aggregation pipelines are parsed into the shared logical plan. (source: src/query/mql/) See MongoDB protocol.

MVCC (multi-version concurrency control). Keeping several versions of a row and choosing which one a reader sees by its snapshot. (source: src/transaction/mvcc.rs) See MVCC.

N

NamespacedStorage. The layer that gives each database its own key prefix inside the shared engine, plus a registry of databases. (source: src/storage/namespaced.rs, NamespacedStorage) See Keys and namespaces.

Not wired. Code that exists in the tree but is not reached from the live request path. Examples are DiskANN, IVF-PQ, the persistent B-tree and two-phase commit. (source: src/index/; src/distributed/coordinator.rs) See Roadmap.

P

Page / buffer pool. Fixed-size pages and their in-memory cache, used by the persistent B-tree. That B-tree is Not wired:. (source: src/index/btree_persistent/buffer_pool.rs, BufferPool) See B-tree.

PL/pgSQL. PostgreSQL's procedural language. Functions run in a full interpreter; trigger bodies run in a narrower executor that rejects loops and exception blocks. (source: src/query/plpgsql.rs, PlpgsqlStmt; src/query/triggers.rs) See SQL statements.

PreVote. A Raft step in which a node checks that it could win an election before it starts one. (source: src/distributed/raft.rs, RaftNode, pre_vote) See Raft.

Preview. The wire status for a wire that no real application has covered yet, that has no runnable local reference, or that has a known gap still open. SQLite/libSQL, gRPC and HTTP/GraphQL are Preview. (source: README.md, scorecard) See Wire guides.

Property graph. Nodes and relationships that carry properties; the graph model queried with Cypher and Gremlin. (source: src/protocol/bolt/; src/protocol/gremlin/) See Query languages.

Protected mode. A Redis-style rule, on by default: a connection that would be let in without a password is refused unless it comes from loopback. (source: src/auth/wire_auth.rs, protected_mode) See Authentication.

R

Raft. The consensus protocol used for leader election and log replication. SynergyDB has its own implementation with PreVote and InstallSnapshot. (source: src/distributed/raft.rs, RaftNode) See Raft.

Read Committed. The isolation level in which each statement reads from its own snapshot of committed data. It is the PostgreSQL session default. (source: src/transaction/mvcc.rs, IsolationLevel::ReadCommitted; src/query/engine.rs, begin_transaction) See Isolation levels and SSI.

ready_to_serve. The read gate a node passes after a crash before it serves reads. Only the PostgreSQL wire checks it. (source: src/distributed/raft.rs, ready_to_serve; src/protocol/postgres/mod.rs) See Server runtime.

ReplicatedApplyListener. The hook a wire with in-memory state uses to reload that state when replicated writes are applied. (source: src/storage/mod.rs, ReplicatedApplyListener) See Cluster RPC and routing.

require_tls. The [tls] setting that refuses connections without TLS. (source: src/protocol/tls.rs, require_tls) See Security, encryption in transit.

RESP. The Redis serialization protocol, spoken by the Redis wire. (source: src/protocol/redis/) See Redis protocol.

RLS (row-level security). Per-row access policies created with CREATE POLICY. Policies may use simple predicates and EXISTS (SELECT ...) subqueries; joins, aggregates and other subquery shapes inside a policy are rejected at CREATE POLICY time. Policies are kept per database. (source: src/auth/rls.rs; docs/status/2026-11-30-rls-exists-policies.md; docs/status/2026-11-30-rls-policies-per-database.md) See Security, row-level security.

S

SCRAM. Salted challenge-response authentication. The PostgreSQL wire offers SCRAM-SHA-256; SCRAM-SHA-256-PLUS (channel binding) is not offered. (source: src/auth/scram.rs; docs/status/2026-11-30-pg-scram.md) See Authentication.

Secondary index registry. The shared in-memory store of SQL secondary indexes, rebuilt rather than persisted. (source: src/storage/mod.rs, SecondaryIndexRegistry) See Index overview.

Serializable. The isolation level that adds read-write validation and an SSI cycle check to snapshot isolation. A conflicting concurrent change raises SQLSTATE 40001. (source: src/transaction/ssi.rs, SsiTracker; src/query/engine.rs, check_serializable_row) See Isolation levels and SSI.

Snapshot isolation. The isolation level in which a transaction reads as of its start and the first committer wins on write-write conflicts. It backs REPEATABLE READ. (source: src/transaction/mvcc.rs, IsolationLevel::SnapshotIsolation, TransactionManager::validate) See Isolation levels and SSI.

SSI (serializable snapshot isolation). Detection of dangerous read-write dependency cycles between transactions, which the Serializable level uses to catch write skew. Tested by test_write_skew_detected. (source: src/transaction/ssi.rs, SsiTracker) See Isolation levels and SSI.

SSTable (sorted string table). An immutable sorted file written by a memtable flush and merged by compaction. (source: src/storage/sst.rs) See SSTable format.

Statement snapshot. The read snapshot taken at the start of each statement under Read Committed. (source: src/transaction/mvcc.rs, TransactionManager::statement_snapshot) See MVCC.

T

TDS. Tabular Data Stream, the Microsoft SQL Server protocol. (source: src/protocol/mssql/) See SQL Server wire.

Three-evaluator debt. Expression evaluation lives in three functions, evaluate_expr, evaluate_row_expr and get_expr_value_from_row, which can disagree. (source: src/query/engine.rs) See Decision records, ADR-005.

Three-phase suite. The shape of a differential suite run: the same connection, a second connection, and a restart after kill -9. (source: README.md) See How a wire is proven.

TNS. Oracle's network protocol, spoken by the Oracle wire. (source: src/protocol/oracle/) See Oracle wire.

Typed parameter binding. Binding prepared-statement parameters as typed values (Expr::Param) rather than splicing their text into the SQL. It is the only binding path. (source: src/query/sql/parser.rs, Expr::Param) See Decision records, ADR-006.

W

WAL (write-ahead log). The log a write is appended to before it is applied, replayed at recovery. (source: src/storage/wal.rs) See WAL and Recovery.

Wire. One native protocol that SynergyDB speaks, such as the PostgreSQL or Redis protocol. The README lists 24. (source: README.md, scorecard; src/protocol/) See Wire guides.

Corrections to the June glossary

  • Isolation level, READ COMMITTED, ACID. The June entries said the effective isolation level was READ COMMITTED for every level. REPEATABLE READ and SERIALIZABLE are now enforced (see Snapshot isolation and Serializable). (source: src/transaction/mvcc.rs; src/transaction/ssi.rs)
  • RLS. The June entry said only column = literal policies were supported. EXISTS subquery policies are now accepted. (source: docs/status/2026-11-30-rls-exists-policies.md)
  • Wire protocol. The June entry said "20+". The README lists 24. (source: README.md, scorecard)
  • Feature-coverage matrix and three-evaluator foot-gun are dropped or renamed: no current page uses the first term, and the second appears here as Three-evaluator debt.