KEY ADVANTAGES
Why teams choose SurrealDB over Postgres
Postgres supports parts of this through extensions and workarounds. SurrealDB runs all of it natively in one system.
HOW IT COMPARES
SurrealDB vs. Postgres + pgvector
Postgres is a powerful relational database, but AI and retrieval workloads stretch it beyond its original design. SurrealDB handles these workloads natively.
Feature
PostgreSQL
SurrealDB
Architecture
Monolithic relational engine. Extensions bolt additional capabilities onto a core not designed for multi-model execution.
Distributed, multi-model database with a decoupled query and storage layer. Efficient as single node or distributed.
Models
Relational database with JSON, full-text search, and vector support via extensions. No native graph model.
Native multi-model: document, relational, graph, key-value, time-series, vector, full-text search, and geospatial.
Relationship querying
Relationships expressed through foreign keys and joins. Cost increases with join depth.
First-class relationships traversed directly without joins. No join planning or join indexes required.
Scale
Scaling beyond a single node requires manual primary/replica coordination. Large deployments commonly require manual sharding.
Horizontally scalable for both reads and writes. Designed to eliminate the need for sharding.
Schema evolution
Schema changes on large tables are disruptive and risky. Migrations often require maintenance windows.
Schema-flexible by design. Start schemaless and incrementally enforce schema without downtime.
Pricing
Infrastructure costs grow with index count, replicas, and sharding.
Unified engine reduces the need for multiple specialised systems. Costs scale linearly with usage.
FEATURED BLOG
Learn more about SurrealDB vs. PostgreSQL
A detailed look at how SurrealDB compares to PostgreSQL for modern application and AI workloads.
TRUSTED BY
Enterprise teams building on SurrealDB
From knowledge graphs to AI assistants - how enterprise teams are building on the context layer.
Samsung
Unlocking insights with knowledge graphs
Samsung Ads uses SurrealDB to build dynamic, real-time knowledge graphs for smarter campaign execution - collapsing three legacy data stores into one.
Read case study
Verizon
AI assistant empowering 10,000 technicians
Verizon uses SurrealDB to power a generative AI assistant for 10,000 field technicians, delivering instant access to documentation, outage updates, and workflows.
Read case study
Tencent
Unified infrastructure monitoring
Tencent consolidated nine backend tools into one real-time monitoring platform powered by SurrealDB's multi-model context graph.
Read case study
PolyAI
High-performance customer service AI powered by RAG
PolyAI connects SurrealDB to Agent Studio for low-latency, customer-controlled RAG across voice AI experiences.
Read case study
FREQUENTLY ASKED QUESTIONS
SurrealDB vs. Postgres
GET STARTED
Migrate from Postgres
The context layer for AI agents. Unify data. Unlock intelligence. Scale anywhere.
SOC 2 Type 2
GDPR
Cyber Essentials Plus
ISO 27001