ehgraph: A Graph Database for Topology

PARTIAL

ehgraph is the NoETL ecosystem's labeled-property graph database, for topology: what is connected to what. It runs as its own server, or embedded in noetl-server. Server v3.161.2 embeds git f200516 (2026-11-10, Cargo.toml:250). ehgraph has no release tag. The embedded graph stays off unless NOETL_EHGRAPH_EMBEDDED is exactly true. On production it is embedded and idle (dated record, 2026-11-22; 15.1).

The chapter is PARTIAL for those two reasons: an untagged revision, and a switch that is off by default. Code facts are from f200516 and from server v3.161.2. Production facts are from the dated public record. Where ehgraph's own pages disagree with the code at that revision, the chapter follows the code and names the page.

Sections

  • 15.1 Three Stores, Three Jobs REAL — Postgres is the system of record, EHDB carries the buses, ehgraph is a topology read model and stores nothing in EHDB.
  • 15.2 The Model PARTIAL — one label per node, typed properties, soft deactivation, a per-namespace change log, snapshots and session graphs, one primary per domain.
  • 15.3 Querying PARTIAL — the openCypher subset, Query API v2, Bolt on the standalone server, and the TCK 2024.3 recount.
  • 15.4 Transactions PARTIAL — snapshot reads, one serializable commit, and conditional commits with expect.
  • 15.5 ehgraph Inside the Server PARTIAL — the noetl-cluster mount, the single-writer declaration, the instance graph, and rollback across format versions.
  • 15.6 Operations PARTIAL — backup to a directory or GCS, compaction (off by default), and memory budgets.
  • 15.7 Where It Is Heading TARGET — the designs that would use ehgraph as a read model of runtime topology. Read replicas are not built.

Three pages are behind the code at f200516

docs/wiki/Roadmap.md still lists compaction and "an S3 or GCS client" as not in this release. docs/wiki/Architecture.md still describes the backup prefix as a directory standing in for an object store. docs/wiki/Embedding.md still says noetl-server pins 760f572. 15.5 and 15.6 follow the code and quote the stale sentences beside it.

Check your understanding