Leave whenever you want
If you stop using graphos, your graph should still be yours: readable without it, and easy to take out.
The situation
For a team choosing where its connected data lives for years. A service that keeps data in a format of its own holds you to it. graphos's answer is that nothing is locked in: every tenant is an ordinary AGE graph in ordinary PostgreSQL tables.
Step by step
-
Problem 1. A format of its own
When a service stores data in a shape only it understands, leaving means a migration project, and reading the data means going through the service.
Your data's format: the service's own · Read with graphos gone: no · An export into plain AGE: —
-
With graphos 2. Ordinary AGE tables
Each tenant is one AGE graph, in a schema named after it, with a table per label and per relationship type. Your own ids are in
properties.id.What graphos adds, a revision column, community columns, its
graphos_*properties and agraphos_metaschema, is safe to ignore.Your data's format: AGE's own, in PostgreSQL tables
-
How it works 3. Read it with graphos gone
AGE's Cypher and plain SQL read a tenant with no graphos running. Give regular readers a read-only role: on AGE 1.8 their Cypher writes are refused.
On graphos's own tables, don't write with Cypher, and expect variable-length patterns to fail there.
Read with graphos gone: yes, with SQL or Cypher
-
How it works 4. Take it out
Three ways out:
pg_dumpfor everything, a tenant's dataset export (GET …/graph/snapshot), or the schema alone (GET /v1/tenants/{name}/spec).An export carries the data, not graphos's own records: no revisions, users, grants, saved queries or change feed.
-
With graphos 5. Into plain AGE, checked
The loader graphos ships,
tools/export/ndjson_to_age.py, loads an export into a new plain AGE graph, where variable-length patterns work.Tried on AGE 1.8.0 and PostgreSQL 18.6 with a graph of 251,246 nodes and 940,144 edges: the checksums matched node by node and edge by edge. Loading 1.19 million rows took 77 s, at 855 MiB of memory at its peak.
An export into plain AGE: checksums matched
What graphos does here
- Plain AGE underneath
- Every tenant an ordinary AGE graph.
- Tenant
- One schema per tenant, a table per label and type.
- Writes through the API
- graphos writes with SQL, so the tables stay plain AGE.
What shows it: Measured
Measured, by hand: the guide records the run on 2026-10-15, on AGE 1.8.0 and PostgreSQL 18.6, with matching checksums and the loader's time and memory. The loader itself has no automated test; exporting and importing within graphos does. The tenant drawn is an example.
In graphos's latest release, with a result measured in graphos's own docs; each says on what.
Try it
The guide to reading graphos's data without graphos shows the table layout, SQL and Cypher reads, and taking the data out.
Related use cases
- Load a big graph, and load it again · Tens of thousands of edges should go in fast, and sending them again after a failure should be safe.
- Many teams, one service, single sign-on · Each team gets a graph of its own, people sign in with the company's provider, and the record says who asked.
- One graph, many services · Several services need the same connected data, and none of them should hold the database.