Skip to content
NEW BENCHMARKS

SurrealDB 3.x by the numbers

View

1/3

VERSION 3.0

Introducing SurrealDB 3.0

First-class agent memory. A new in-memory engine. Native extensions. The biggest release since 2.0.

01 |THE LAUNCH

A walk-through of SurrealDB 3.0

A guided tour through the biggest release since 2.0 - agent memory primitives, the new in-memory engine, native extensions, and the architectural shifts beneath them.

01 |THE LAUNCH

A walk-through of SurrealDB 3.0

A guided tour through the biggest release since 2.0 - agent memory primitives, the new in-memory engine, native extensions, and the architectural shifts beneath them.

02 |THE CONTEXT

AI agents need reliable memory

Today's agents struggle to remember facts consistently, understand relationships across context, and keep memory in sync with the rest of the system. SurrealDB 3.0 turns the database into the agent's memory - multi-model, ACID, and queryable in a single round trip.

Explore Spectron, our agent memory layer

03 |WHAT'S NEW

Dive into SurrealDB 3.0

Native WASM extensions, first-class file storage, an indexing overhaul, client-side transactions, computed fields, a stable GraphQL interface, and 150+ closed bugs - drawn from a year of alpha and beta releases.

Streaming query planner

A new execution engine streams results as they're produced, batches scanner retrievals, and unlocks concurrent writes on HNSW vector indexes. Workloads finish faster and stay predictable as data grows.

QUERY PLAN

scan idx_users

0.4 ms

batch fetch orders

0.9 ms

vector kNN (HNSW)

1.3 ms

stream → client

1.7 ms

Surrealism extensions

Run WASM plugins directly inside SurrealQL. Embed AI logic, business rules, and custom transforms next to your data, with first-class access to the engine's primitives.

DEFINE MODULE

ai FROM bucket:wasm

mod::ai::rerank

Loaded

mod::nlp::tokenise

Loaded

mod::ai::classify

Loading

File storage

Buckets and file pointers are first-class types in SurrealQL. Store, fetch, and stream files alongside structured data inside one transaction boundary - no separate object store glue.

BUCKET assets

BACKEND s3

report.pdf

2.4 MB

model.bin

164 MB

image.png

890 KB

data.csv

12 KB

In-memory engine

A lock-free, MVCC-based engine that delivers ultra-low latency with full ACID guarantees and massive concurrency. Optional background persistence keeps durability on the table without compromising throughput.

P99 LATENCY · 1M ROWS

disk

1.20 ms

memory

0.08 ms

ACID

Yes

Concurrent

MVCC

Persist

Optional

Indexing overhaul

Concurrent index updates under heavy write load, range scans on compound indexes, early-stop iteration on START/LIMIT, and a new ALTER INDEX statement for safe decommissioning.

INDEX PLANNER

idx_users_email

HIT

idx_orders_ts

RANGE

idx_legacy_v1

REMOVING

Concurrent

Yes

ALTER INDEX

Safe

Client-side transactions

Group operations across multiple SDK calls and commit when ready. Full ACID guarantees, no server-side state hacks, no half-applied writes.

TX 0x9a3f · CLIENT

BEGIN

INSERT user:01

INSERT order:42

UPDATE balance

COMMIT

Ready

Custom API endpoints

DEFINE API ships HTTP routes and middleware directly inside SurrealQL, complete with a permissions model. Pull external middleware out of your architecture without losing control.

METHOD
PATH
STATUS

GET

/users

200

POST

/orders

201

PATCH

/users/:id

200

DELETE

/sessions/:id

204

Record references

Bidirectional links at the schema level. Cleaner queries, faster graph traversal, and no manual relation bookkeeping - the database keeps both sides in sync for you.

person:billy

REFERENCED BY

name

"Billy"

licenses

<~license

COMPUTED

REF

license:42

SCHEMA

owner

person:billy

REFERENCE

valid

true

Computed fields

Define logic once in the schema with the new COMPUTED keyword, evaluated consistently at query time. Replaces the futures type with shorter syntax, guardrails, and no per-record overhead.

DEFINE FIELD

valid ON license COMPUTED expires > time::now()

SELECT id, valid

license:01

true

license:02

false

license:03

true

GraphQL is stable

A re-architected GraphQL interface with full mutation support, built-in authentication, permission enforcement, rich filtering, and N+1 query optimisations. Enabled by default - no experimental flag.

POST /graphql

200 OK

query

users(limit: 5) {

id, name,

posts { title }

}

Stable
Auth
N+1 ✓

Production-ready foundations

Synced writes are now the default for durability. Over 150 bugs closed, automated CRUD benchmarks on every PR, and the Go and Java SDKs at 1.0 - the safer defaults are now the standard.

PRODUCTION READY

Bugs fixed

150+

Synced writes

Default

Go SDK

1.0

Java SDK

1.0

04 |TALK TO US

See SurrealDB 3.0 in your stack

Book a personalised walk-through with our team. We'll show how 3.0 fits your architecture, scope a proof of concept with your data, and help you plan a migration from 2.x.

  • A guided tour of agent memory, the in-memory engine, and Surrealism extensions
  • Migration guidance from 2.x, including breaking changes and diagnostics
  • Scoping help for a proof of concept against your own data and workloads

GET STARTED

Start building with SurrealDB

The context layer for AI agents. Simplify your stack. Reduce complexity. Build faster.

SamsungNVIDIAAppleVerizonTencent

SOC 2 Type 2

GDPR

Cyber Essentials Plus

ISO 27001

SurrealDB

The context layer for AI agents.

Documents, graphs, vectors, time-series, and memory.
One transaction, one query, one deployment.

Explore with AI

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