Rel

maintenance

by Dave Voorhis · since 2004 · also known as Rel DBMS, RelDB, Rel Tutorial D

Desktop 'true relational' DBMS implementing Date and Darwen's Tutorial D, for teaching and prototyping.

relationaldatabase engineopen source (permissive)mature

maintenance. Last release 3.016 (October 2022); since then only dependency bumps and minor commits.

Overview

Rel is Dave Voorhis' open-source implementation of Tutorial D, the language C. J. Date and Hugh Darwen defined in The Third Manifesto to show what a truly relational database looks like: no NULLs, no duplicate tuples, relation-valued attributes, user-defined types and relvars instead of SQL tables. It is a zero-install Java desktop application with the DBrowser GUI, a visual query editor and a Berkeley DB Java Edition storage engine, and can also link CSV, Excel, Access and JDBC sources as relvars. It runs on Windows, macOS and Linux and is mostly used in courses on relational theory. The current release is 3.016 from 2022; the repository has only seen dependency updates since.

Strengths & trade-offs

Strengths

  • +Most complete runnable implementation of Tutorial D and The Third Manifesto
  • +Strict relational semantics: no NULLs, no duplicates, relation-valued attributes
  • +Zero-install desktop app with GUI and visual query editor
  • +Can treat CSV, spreadsheets, Access and JDBC databases as relvars

Trade-offs

  • −Single maintainer; development has slowed to maintenance
  • −Not built for production concurrency or large datasets
  • −Tutorial D skills do not transfer directly to SQL jobs

Great for

  • +Teaching relational theory and The Third Manifesto
  • +Prototyping relational designs without SQL quirks
  • +Personal desktop databases for relational purists

Think twice for

  • −Production web backends
  • −Teams needing SQL compatibility

Capabilities

Native or official first-party support · 4 of 25 tracked

✓Transactions
✓Joins
✓Stored procedures
✓Durable persistence
–Secondary indexes
–Full-text search
–Vector search
–Geospatial
–JSON
–Change data capture
–Triggers
–Materialized views
–TTL / expiry
–Pub/Sub
–Columnar storage
–In-memory
–Compression
–Encryption at rest
–Role-based access
–Time travel
–Branching
–Online schema changes
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Small · ≤ 100 GB
Horizontal scaling
None
Multi-region
No
Transactions
Full ACID
Consistency
Strong
Schema
Strict
Architecture
Single node, Embedded, Client server
Query languages
Tutorial D

A desktop and teaching DBMS; not designed for large or concurrent workloads.

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

Ecosystem

apis & protocolsDBrowser GUI, Client/server protocol, Java API
client languagesJava

Alternatives to Rel

Compare all→
SQLiteRelational75.5

The in-process SQL engine that ships in every phone, browser and OS: one file, zero servers.

rel vs sqlite →
PostgreSQLRelational93.2

The extensible, standards-first open-source relational database.

rel vs postgresql →
DuckDBColumnar / OLAP63.7

In-process columnar SQL database: the SQLite of analytics, running inside your app or notebook.

rel vs duckdb →
Microsoft AccessRelational45.8

Desktop database and forms builder bundled with Microsoft 365; still everywhere in back offices.

rel vs microsoft-access →
FirebirdRelational32.8

Lightweight, MVCC relational database from the InterBase lineage, embeddable or client-server.

rel vs firebird →
HyperSQL (HSQLDB)Relational9.4

Long-running pure-Java SQL database with strong SQL:2023 coverage, used embedded and in LibreOffice.

rel vs hsqldb →

Rel FAQ

What is Rel?

Rel is a relational database by Dave Voorhis, first released in 2004. Rel is Dave Voorhis' open-source implementation of Tutorial D, the language C. J. Date and Hugh Darwen defined in The Third Manifesto to show what a truly relational database looks like: no NULLs, no duplicate tuples, relation-valued attributes, user-defined types and relvars instead of SQL tables. It is a zero-install Java desktop application with the DBrowser GUI, a visual query editor and a Berkeley DB Java Edition storage engine, and can also link CSV, Excel, Access and JDBC sources as relvars. It runs on Windows, macOS and Linux and is mostly used in courses on relational theory. The current release is 3.016 from 2022; the repository has only seen dependency updates since.

Is Rel open source?

Yes. Rel is open source. License: Apache License 2.0.

Does Rel support ACID transactions?

Yes. Rel supports full ACID transactions, with strong consistency.

Does Rel scale horizontally?

Rel does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).

How can I run Rel?

You can self-host it and embed it in your application.

What is Rel best for?

Rel is a strong fit for teaching relational theory and The Third Manifesto; prototyping relational designs without SQL quirks; and personal desktop databases for relational purists. Think twice for production web backends.

What are the best alternatives to Rel?

Common alternatives to Rel include SQLite, PostgreSQL, DuckDB, Microsoft Access and Firebird. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is Rel still maintained?

Rel is in maintenance mode. Last release 3.016 (October 2022); since then only dependency bumps and minor commits.

How popular is Rel?

Rel ranks #579 of 844 databases on the WhichDB Score (1.1/100), and #181 among relational databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.