NEW

SurrealDB 4 is here, introducing SurrealDB Earth and SurrealDS!

Learn more

SurrealDB vs.
vector databases

Vector databases. Pinecone, Chroma, Weaviate and Qdrant store embeddings, leaving the entities around them elsewhere.
SurrealDB. Native HNSW and brute-force vector search beside documents, graphs and structured data.
One database. Every model in one engine and one transaction, so a vector and its source document update together.

01 |THE LIMITATION

Vectors alone are not enough. Context takes more than similarity search.

Embeddings alone

Vector databases store embeddings, and leave the entities, relationships and metadata that give them meaning elsewhere.

Relationships out of reach

A user and their purchases live in separate systems, with no traversal between them.

Two systems, two commits

Updating a vector and its source document spans two stores, so one write can succeed while the other fails.

Present tense only

Vector databases keep the current embedding, with no history of how the knowledge changed.

02 |THE DIFFERENCE

Vectors as part of the whole. Embeddings beside the records they describe. One record, one transaction.

03 |HOW IT WORKS

One query, every signal. Vector similarity, a graph hop and a structured filter in one SurrealQL statement, on one index set, in one transaction.

1-- Similar documents by one team, this quarter:
2-- vector, graph and filter in one pass
3SELECT
4 title,
5 vector::similarity::cosine(embedding, $q) AS score,
6 <-authored<-person.name AS authors
7FROM document
8WHERE embedding <|10|> $q
9 AND <-authored<-person->member_of->team CONTAINS $team
10 AND published > time::now() - 90d
11ORDER BY score DESC;

TRUSTED BY

Enterprise teams building on SurrealDB

Vector databases,answered

SurrealDB runs native vector search beside documents, graphs, full-text and time-series in one engine. Pinecone and Weaviate are dedicated vector databases that lean on other systems for the rest, and on a sync layer between them.

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

The multi-model database for AI. Documents, graphs, vectors and time-series in one engine, one query, one transaction.