NEW

New University Course: SurrealDB for AI Engineers

Start the course

1/3

OBJECT STORAGE

Storage that scales with you

Embedded. A local engine in process, over SurrealKV or RocksDB, for local and edge workloads.
Distributed. Compute apart from storage in a fault-tolerant cluster, each layer scaled to its own load.
Files. First-class across every backend, with uploads permissioned and transacted in SurrealQL.

STORAGE ENGINES

One interface, pluggable backends

An in-memory engine for a test, a local file for a single node, a distributed backend for production, and files managed in SurrealQL throughout.

PLUGGABLE ENGINES

Start anywhere, move without rewrites

# In-memory: fast, ephemeral, ideal for tests
surreal start memory

# SurrealKV: embedded, versioned, single node
surreal start surrealkv://production.db

# RocksDB: embedded, high-throughput
surreal start rocksdb://production.db
FILE BUCKETS

Files, defined and queried like data

DEFINE BUCKET uploads BACKEND "memory";

f"uploads:/readme.txt".put("SurrealDB");
f"uploads:/readme.txt".get();
f"uploads:/readme.txt".copy("uploads:/readme.backup.txt");

Files and data in one system

One permission model

Buckets and records share access control, so a file is guarded by the rules of the row that references it.

Each layer on its own

Compute apart from storage adds query capacity or durable capacity independently.

File handling is SurrealQL

Uploads are queried, permissioned and transacted in the same language as the data.

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

Store everything in one engine. Embedded or distributed, with files and data in the same SurrealQL.