SurrealDB · supported engine

Documents and graphs, one surface.

Native SurrealQL for document and graph CRUD, TLS/mTLS/SSH connections, bounded live queries, versioned migrations, and streamed encrypted archives.

SurrealDB 3.2+ · TLS/mTLS/SSH · SurrealQL

Surreal-ly good advice

The inspection Mongrel runs on your query.

Click any stage below to see record stats and what Mongrel would suggest. Same view you get inside the workbench.

// Index Iterate · idx_person_country

Was a full table scan over 84,210 person records. After the proposed DEFINE INDEX on country, only the 6,412 Icelandic records are read.

-- graph: prod-social · ns/app/db
SELECT
  name, created_at,
  ->follows->person.name AS follows
FROM person
WHERE country = 'IS'
ORDER BY created_at DESC
LIMIT 20;

-- 612ms · 84,210 records scanned
-- ✓ Proposal: index on person.country

DEFINE INDEX idx_person_country
  ON TABLE person
  FIELDS country;
SurrealDB surface

What Mongrel ships for SurrealDB.

Native SurrealQL editor

Typed SurrealQL with syntax help, and results that keep record IDs, datetimes, decimals, and UUIDs as native values. No SQL translation layer in between.

Query inspector

Run EXPLAIN FULL and walk the execution stage by stage: scans vs index iteration, fetches, traversals, and record stats.

Related record explorer

Record links and relation tables are read as relationships. Inspect any record and preview the related documents it points to.

Document & record CRUD

Browse tables, edit schemaless and schemafull documents inline, and create or delete records with typed field values.

Schema & migrations

Manage DEFINE TABLE, FIELD, INDEX, and EVENT statements as versioned migrations. Diff saved schema snapshots to catch drift.

Bounded live queries

Subscribe with LIVE SELECT and watch changes stream in - capped, cancellable, and safe to leave open on busy tables.

TLS, mTLS & SSH

Connect over TLS or mutual TLS, or tunnel through SSH. Root, namespace, and database credentials or bearer tokens.

Streamed encrypted archives

Back up and restore whole databases as streamed, encrypted archives. Schedule them or run one-off exports.

AI explain & rewrite

Paste a query and its inspector output. The assistant proposes indexes and rewrites traversals - you approve before anything runs.

Connect SurrealDB in 30 seconds.

7-day trial. macOS, Windows, Linux. No credit card.