Atomic writes
Records, relationships, index entries and catalog updates from one statement publish as one commit. Multi-statement transactions over HTTP and the SDKs.
Features
Send documents in the shape your apps, pipelines or agents produce them. Each nested object becomes its own record, linked to its parent in the same commit. The key a child appears under becomes its label, the parent → child link can be named per key with relationshipTypes, and every value is typed as it is written.
Records that arrive separately can be linked on matching keys afterwards, such as message.session_id = session.id, with one linkRecords command. JSON and CSV import, and inserts from SQL, Cypher, Gremlin or Mongo-style statements, all land in the same records.
{
"label": "ACCOUNT",
"options": {
"relationshipTypes": {
"FEATURE": "HAS_FEATURE",
"INCIDENT": "HAS_INCIDENT"
}
},
"data": {
"name": "Acme Corp",
"tier": "enterprise",
"FEATURE": [
{
"name": "Checkout",
"INCIDENT": [
{
"status": "open",
"severity": "high",
"summary": "Checkout requests are timing out."
}
]
}
]
}
}ACCOUNT { name: "Acme Corp", tier: "enterprise" }
└─HAS_FEATURE─▶ FEATURE { name: "Checkout" }
└─HAS_INCIDENT─▶ INCIDENT { status: "open", severity: "high", … }
catalog ACCOUNT 1 · FEATURE 1 · INCIDENT 1
INCIDENT.status: string · values open (1)Every commit updates a catalog: each label with its record count, each property per type, value dictionaries with counts, and every relationship shape. Reading it never scans records, and the counts are exact.
The same call takes a filter. Scoped to the records a predicate matches, it returns the fields, values and links inside that slice: faceted navigation for an app, and a way for an agent to look before it narrows.
When a service starts sending amount as text, the catalog lists both types side by side.
{
"kind": "describe",
"describe": {
"kind": "schema",
"query": {
"labels": ["INCIDENT"],
"predicate": {
"severity": "high"
}
}
}
}{
"labels": [
{
"name": "INCIDENT",
"recordsCount": 41
}
],
"properties": [
{
"name": "status",
"type": "string",
"recordsCount": 41
},
{
"name": "opened_at",
"type": "datetime",
"recordsCount": 41
}
],
"relationships": [
{
"sourceLabel": "FEATURE",
"type": "HAS_INCIDENT",
"targetLabel": "INCIDENT",
"count": 41
}
]
}SQL, openCypher, ISO GQL, Gremlin, SQL/PGQ, Mongo-style documents and the native SearchQuery all run on the same records and the same snapshot. A record created in Cypher is visible to SQL in the next statement. Nothing is copied between languages, and each write statement is one atomic commit.
Labels are tables to SQL (on Apache DataFusion) and nodes to the graph languages, which share one planner. PostgreSQL clients and BI tools connect on :5432, Neo4j drivers on :7687, everything else over HTTP, gRPC or MCP.
rushdb serve --data-dir ./data --languages sql,cypher,gql,gremlin,sql-pgq,mongodb-- Labels are tables; relationships are rushdb_edges.<type>.
SELECT f.name
FROM person p
JOIN rushdb_edges.knows e ON p.__id = e.__source_id
JOIN person f ON f.__id = e.__target_id
WHERE p.name = 'Alice';| Language | Status | Runs on | Access | Transports | Limits |
|---|---|---|---|---|---|
| SearchQuery (native JSON) | Stable | Engine + Cloud | HTTP, gRPC, SDKs, MCP | Always on. Filters reach across relationships by naming related labels. | |
| SQL | Stable | Engine | PostgreSQL wire, HTTP, gRPC | Labels are tables. Over PostgreSQL wire: reads and single-statement writes in autocommit; BEGIN/COMMIT are refused. | |
| Gremlin | Stable | Engine | HTTP, gRPC | Text traversals. | |
| Mongo-style documents | Stable | Engine | HTTP, gRPC | Multi-document commands are not one atomic commit. | |
| SQL/PGQ GRAPH_TABLE | Stable | Engine | HTTP, gRPC | Read-only. | |
| openCypher | Release candidate | Engine + Cloud | HTTP, Bolt, gRPC | Opt-in on the engine; raw openCypher through the SDKs on Cloud. The openCypher TCK does not pass in full yet. | |
| ISO GQL | Release candidate | Engine | HTTP, gRPC | Opt-in. ISO/IEC 39075 Graph Query Language (not GraphQL). The public GQL corpus does not pass in full yet. |
Stable: the documented profile is implemented and exercised by the engine’s test suite. Release candidate: reads and writes are implemented, but the standard’s external conformance suite does not pass in full yet.
GQL here is ISO/IEC 39075 Graph Query Language. It is not GraphQL. A client can ask a server what it supports at runtime with describe.queryLanguages.
| Transport | Status | Runs on | Details |
|---|---|---|---|
| HTTP native protocol | Stable | Engine | POST /protocol/v1/execute on :3000. |
| PostgreSQL wire | Stable | Engine | On :5432 with SQL enabled. Checked with the clients listed, not every client or ORM. |
| Bolt 5.0 | Release candidate | Engine | Serves Cypher; opt-in with --bolt-port. |
| gRPC | Stable | Engine | rushdb.v1.Database/Execute; opt-in with --grpc-port. |
| REST API | Stable | Cloud only | https://api.rushdb.com/api/v1. On a self-hosted engine use the native HTTP protocol. |
| Library | Runs on | Details |
|---|---|---|
| TypeScript SDK | Engine + Cloud | Cloud API key, or direct mode against your engine. Cloud-only features throw CloudOnlyError in direct mode. |
| Python SDK | Engine + Cloud | Cloud API key, or direct mode against your engine. |
| MCP server | Engine + Cloud | Hosted with OAuth on Cloud (mcp.rushdb.com); local over stdio in direct mode for a self-hosted engine. |
| Agent skills | Engine + Cloud |
Vector indexes (exact and HNSW) and BM25 full-text indexes attach to ordinary records with typed fields and relationships. Hybrid search fuses both rankings (RRF or DBSF) under the same filter, including filters on related records.
The indexes live inside the database and the engine keeps them current as records change, so there is no separate search store to sync. The self-hosted engine searches vectors you supply; RushDB Cloud can embed them for you.
{
"kind": "query",
"query": {
"kind": "hybrid",
"query": {
"labels": ["INCIDENT"],
"predicate": {
"status": "open",
"FEATURE": {
"name": "Checkout"
}
},
"text": {
"index": "incident-text",
"query": "timeout"
},
"vector": {
"property": "embedding",
"index": "incident-embedding",
"vector": [0.018, -0.042, 0.113]
},
"limit": 10
}
}
}Records, relationships, index entries and catalog updates from one statement publish as one commit. Multi-statement transactions over HTTP and the SDKs.
Every query reads one pinned MVCC snapshot, whichever language it is written in. Readers never block writers.
A write-ahead log is the durable truth. Base backups plus archived WAL restore to a chosen log position; derived state is on disk, so restart rebuilds nothing.
The Labeled Meta-Property Graph (LMPG) stores every property value of every record as its own ordered key, an occurrence, instead of one blob per record. Updating one property writes one key, and counters, value dictionaries and index entries are derived from each commit. That is why the catalog is exact and cheap to read.
HTTP, PostgreSQL wire, gRPC and Bolt are thin adapters. They authenticate, bind the tenant and hand one Protocol v1 operation to the executor.
The native engine (SearchQuery, Mongo-style), Apache DataFusion for SQL, one graph planner for Cypher, GQL, Gremlin and SQL/PGQ, plus vector and text search.
Plans mutations, expands them into keys, derives counters and the schema catalog, and reconstructs records from their occurrences.
A segmented write-ahead log is the durable truth. Commits are materialized into an embedded ordered store; reads run on pinned MVCC snapshots.
Projects, users, billing and embedding models stay out of the engine by design. RushDB Cloud runs the same engine with one tenant per project and adds them on top.
The same labels the engine reports about itself. Every claim on this site traces to the engine manual.
| Status | Areas |
|---|---|
| Stable | Native protocol and SearchQuery, SQL, Gremlin text traversals, Mongo-style documents, SQL/PGQ (read-only), the schema catalog, vector, BM25 and hybrid search, transactions, backups with point-in-time restore. |
| Release candidate | openCypher, ISO GQL and Bolt are opt-in; their external conformance suites do not pass in full yet. Replication is asynchronous with manual promotion. PostgreSQL wire runs in autocommit. |
Engine work that exists as a preview or a release candidate. None of it is ready for production yet, and each item says what you can use today. Each one is tracked in a public GitHub issue, open for discussion.