About SurrealDB
SurrealDB is a Rust-based multi-model database that brings several data models into one engine: key-value, document, graph, relational, time-series and geospatial data. Search and retrieval options include full-text, vector and hybrid, and it adds real-time and event-driven capabilities, queried through its SQL-like language, SurrealQL.
Because it supports end-user authentication, SurrealDB can also act as a backend-as-a-service, reducing the amount of server-side code an app needs. It ships as a single Rust binary that can run embedded inside an application, in the browser via WebAssembly, at the edge, as a self-hosted single node, or as a distributed cluster in the cloud. Typical workloads include data-intensive systems that need several data types, storage for AI agents, knowledge graphs, live applications such as recommenders and fraud detection, and embedded or edge deployments.
The repository license is listed as 'Other' on GitHub, so confirm the terms before commercial use. SurrealDB also offers cloud-hosted database service, and topics tag it as a serverless, realtime database for the web.
Key features
- Document, graph and relational models in one engine
- Full-text, vector and hybrid search
- Real-time and event-driven queries
- Built-in user authentication
- Single binary: embedded, edge or cluster
- SurrealQL SQL-like query language
Good fit for
- →Backend database for real-time apps
- →Knowledge graphs and AI agent data layers
- →Embedded or edge data storage
- Built with
- Rust
- Tags
- database
- multi-model
- graph-database
- document-database
- rust
- realtime
- vector-search
- backend-as-a-service
- sql
Open-source alternatives to SurrealDB
See all
RavenDB
Databases
ACID Document Database
OSSvs MongoDB Atlas★ 4k
ArangoDB
Databases
🥑 ArangoDB is a native multi-model database with flexible data models for documents, grap
OSSvs Azure Cosmos DB★ 14k
MongoDB
Databases
The MongoDB Database
OSSvs Amazon DynamoDB★ 29k
Apache CouchDB
Databases
Seamless multi-primary syncing database with an intuitive HTTP/JSON API, designed for reli
Apache-2.0vs Amazon DynamoDB★ 7k
FerretDB
Databases
A truly Open Source MongoDB alternative
Apache-2.0vs MongoDB Atlas★ 11k
ArcadeDB
Databases
ArcadeDB Multi-Model Database, one DBMS that supports SQL, Cypher, Gremlin, HTTP/JSON, Mon
Apache-2.0vs Azure Cosmos DB★ 1.2k
SaaS alternatives to SurrealDB
See all
MongoDB Atlas
Databases
Managed MongoDB service across AWS, Azure and Google Cloud
SaaS
Azure Cosmos DB
Databases
Microsoft globally distributed multi-model NoSQL database
SaaS
Couchbase Capella
Databases
Managed document database service from Couchbase with SQL++ queries
SaaS
Google Cloud Firestore
Databases
Serverless NoSQL document database with real-time sync for web and mobile apps
SaaS
Amazon DocumentDB
Databases
Managed document database on AWS with a MongoDB-compatible API
SaaS
MarkLogic
Databases
Multi-model database and data hub platform for integrating and searching enterprise data
SaaS

