Skip to content
NEW

Introducing SurrealDB Studio, the new official app of SurrealDB

Learn more

1/3

OBJECT STORAGE

Storage that scales with you

Run SurrealDB embedded over a local engine, or separate compute from storage for a fault-tolerant, horizontally scalable cluster. Manage files as first-class citizens with buckets over in-memory, file-system, or object-storage backends - all through the same SurrealQL.

01 |STORAGE ENGINES

One interface, pluggable backends

Point the same database at an in-memory engine for a throwaway test, a local file for a single node, or a distributed backend for production - and manage files without leaving SurrealQL.

PLUGGABLE ENGINES

Start anywhere, move without rewrites

The storage engine is chosen at startup. The query language, schema, and application code are identical across all of them.

# 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 registers a file store - in-memory, on disk, or an object-storage backend - and file operations become SurrealQL you can permission and transact.

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");

From a single binary to a distributed cluster

The same engine runs embedded in your application or spread across a fault-tolerant cluster with compute and storage scaling independently.

02 |ONE ENGINE

Files and data in one system

Keeping documents in one store, blobs in another, and the metadata that ties them together in a third means three systems to secure, back up, and keep consistent. SurrealDB holds them together.

One permission model

Buckets and records share the same access control, so a file is protected by the same rules as the row that references it.

Scale each layer on its own

Separating compute from storage lets you add query capacity or durable capacity independently, without wasting either.

No glue to maintain

File handling is SurrealQL, not a separate SDK and object-store integration you have to write and keep in sync.

Keep exploring

GET STARTED

Store everything in one engine

Run SurrealDB embedded or distributed, and manage files and data through the same SurrealQL.

SamsungNVIDIAAppleVerizonTencent

SOC 2 Type 2

GDPR

Cyber Essentials Plus

ISO 27001

SurrealDB

The unified data layer for AI

Graph, vector, document, and relational in one engine.
Agent Memory that connects and retrieves context wherever your data lives.

Explore with AI

Stay in the loop

Tutorials, AI agent recipes, and product updates, every two weeks.

Independently verified

SOC 2 Type 2

GDPR

Cyber Essentials Plus

ISO 27001

Trust Centre

Copyright © 2026 SurrealDB Ltd. Registered in England and Wales. Company no. 13615201

Registered address: 3rd Floor 1 Ashley Road, Altrincham, Cheshire, WA14 2DT, United Kingdom

Trading address: Huckletree Oxford Circus, 213 Oxford Street, London, W1D 2LG, United Kingdom