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
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;
What Mongrel ships for SurrealDB.
Native SurrealQL editor
Typed SurrealQL with syntax help and record links you can click through. No SQL translation layer — it is the real thing.
Query inspector
Run EXPLAIN FULL and walk the execution stage by stage: scans vs index iteration, fetches, traversals, and record stats.
Graph traversal explorer
Visualize edges and record links from any starting record. Follow a -> relation to see what your query will actually walk.
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 schemas between namespaces.
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, database, and record-level auth tokens.
Streamed encrypted archives
Back up and restore whole namespaces 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.

