6,598 open-source and SaaS tools, with GitHub stats refreshed every day.

SurrealDB

Open source

A multi-model database written in Rust that combines document, graph, relational, time-series and vector data with real-time features, from embedded use to distributed clusters.

surrealdb.com
SurrealDB homepage screenshot
GitHub stars
33k
Last commit
2 days ago
Repository age
4 years
Version
v3.3.0
Licence
Custom
Self-hosted
Yes

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

SaaS alternatives to SurrealDB

See all