NEW

SurrealDB 4 is here, introducing SurrealDB Earth and SurrealDS!

Learn more

SurrealDB vs.
traditional databases

Generation one. Single-model databases, one per workload, where scaling means moving to a bigger machine.
Generation two. Specialist stores stitched together in application code, a separate store for each data model.
Generation three. Documents, graphs, vectors, time-series and geospatial data in one engine and one transaction.

01 |THE LIMITATION

One model each. Graphs by workaround, vectors by extension, the present tense only.

Graphs by workaround

Postgres reaches a traversal through joins and CTEs rather than a graph model.

Vectors as an extension

pgvector bolts vectors onto a relational core that was not designed for hybrid or agent queries.

Current state only

Traditional databases hold the present value, so the question of what was known when has no answer.

02 |THE DIFFERENCE

Everything in one engine. Documents, graphs, vectors, time-series and geospatial, in one language and one transaction.

03 |HOW IT WORKS

One statement, three models. A customer record, the graph of what they bought and the vector that describes them, read together in one SurrealQL statement.

1-- One statement across three models: the record, its graph, its vector
2SELECT
3 name,
4 ->purchased->product.name AS bought,
5 vector::similarity::cosine(embedding, $q) AS fit
6FROM customer
7WHERE embedding <|5|> $q
8 AND ->purchased->product->belongs_to->category CONTAINS $category
9ORDER BY fit DESC;

Three generations of database infrastructure

Gen 1: Monolith

Compute and storage coupled in one machine; scaling means a bigger box. MySQL, self-hosted PostgreSQL, classic Oracle.

Gen 2: Proprietary loose coupling

Cloud vendors separated storage from compute, in proprietary formats with cloud lock-in. Amazon Aurora, Oracle Exadata, Google AlloyDB.

Gen 3: Open storage on the lake

Data in commodity object storage in open formats, with stateless elastic compute over it. Databricks Lakebase, SurrealDB.

TRUSTED BY

Enterprise teams building on SurrealDB

Traditional databases,answered

Yes. SurrealDB 4 speaks the Postgres and MySQL wire protocols, so existing clients, drivers and ORMs connect as they are and most queries run unchanged. It adds native graph traversal, vector search, temporal queries and agent memory, with ACID transactions and structured schemas.

THE PLATFORM

Everything an application and its agents know. Five surfaces, one engine.

IN PRODUCTION

Trusted at scale. Samsung, Nvidia, Verizon, Tencent, and Walmart run on SurrealDB.

14,000+

Developers building on SurrealDB Cloud

4M+

Developers building on SurrealDB worldwide

FROM THE TEAMS

SurrealDB gives us a foundation where we can unify semantic search, knowledge graphs, and AI-driven decision making without stitching together multiple systems. Collapsing responsibility into SurrealDB has become our default engineering posture.
Justin Foley

VP of Engineering, Later

GET STARTED

Move to Generation 3. ACID rigour with the elasticity, durability and economics of the cloud.