SurrealDB Multi-Model Database

SurrealDB Multi-Model Database

github.com

1

About this website

SurrealDB is a free and open-source, cloud-ready, multi-model database designed for modern applications. Created by Toby Heatherington (Tobi) in 2021 and launched publicly in 2022, SurrealDB combines the capabilities of relational, document, graph, and time-series databases into a single unified system. Written in Rust, it can run embedded, as a microservice, or distributed across a cluster. Key features: multi-model: SurrealDB stores data as records (similar to documents) that can have relationships (like a graph database) and can be queried with SQL-like syntax (like a relational database). Records are organized into namespaces and databases, with tables containing records identified by Record IDs. SurrealQL: a SQL-inspired query language supporting SELECT, CREATE, UPDATE, DELETE, plus graph traversal (->), record links, embedded functions, and geospatial queries. Schema-full or schemaless: tables can enforce schemas with typed fields (string, int, datetime, geometry, etc.) or be completely schemaless. Relations and graph: native graph database capabilities. Edges between records can store metadata and be traversed with graph operators. Built-in authentication: defines users and roles at the database level with scoped permissions. Real-time: SUBSCRIBE to live changes on tables or individual records via WebSocket or HTTP. Multi-tenancy: namespaces isolate data across tenants. Connectors: official SDKs for JavaScript, Python, Rust, Go, Java, C#, PHP, and Ruby. Storage: in-memory, RocksDB, TiKV, or FoundationDB backends. Cross-platform (Rust). BSL-1.1 (source available, free for most use cases).

Tags & Categories

Categories

Tags

Statistics

1
Views
0
Clicks
0
Like
0
Dislike

Comments

Log In to post a comment

No comments yet. Be the first!