CORAL
discontinuedby University of Wisconsin–Madison · since 1988 · also known as Coral deductive database, CORAL: Control, Relations and Logic
University of Wisconsin deductive database (1988–1997) that mixed declarative Horn-clause rules with C++.
discontinued. Academic project (1988–1997); final release 1.5.2 in Nov 1997. Its techniques continue in modern Datalog engines.
Overview
CORAL was a deductive database system developed at the University of Wisconsin–Madison by Raghu Ramakrishnan, Divesh Srivastava, S. Sudarshan and Praveen Seshadri, among others. Programs are organised as modules of Horn-clause rules extended with complex terms, set-grouping, aggregation, negation and relations containing variables, and the system picked an evaluation strategy per module automatically while letting users steer optimisation with per-module control annotations. A C++ interface let developers combine declarative modules with imperative code and extend the system through C++ classes. Data could live in memory or on disk through the EXODUS storage manager, which also supplied client-server transactions. The final release, 1.5.2, came out in November 1997; it remains a well-cited reference for Datalog evaluation techniques.
Strengths & trade-offs
Strengths
- +Rich declarative language: Horn clauses with complex terms, aggregation, set-grouping and negation
- +Chooses an evaluation strategy per module, with user-controllable optimisation
- +Tight C++ integration for mixing declarative and imperative code
- +Handled both main-memory and disk-resident relations
Trade-offs
- −Unmaintained since 1997; builds target 1990s Unix toolchains
- −Research-grade documentation and tooling
Great for
- +Studying deductive database and Datalog evaluation techniques
- +Historical reference for recursive query processing
Think twice for
- −Any production use
Capabilities
Native or official first-party support · 3 of 25 tracked
Scale & consistency
- Comfortable data size
- Small · ≤ 100 GB
- Horizontal scaling
- None
- Multi-region
- No
- Transactions
- Limited ACID
- Consistency
- Strong
- Schema
- Flexible
- Architecture
- Single node, Client server
- Query languages
- CORAL (extended Datalog)
Deployment
Ecosystem
Alternatives to CORAL
Datalog-based 'smart database' (LogiQL) for planning and analytics; absorbed into Predictix, then Infor.
coral vs logicblox →Immutable Datalog database from Nubank where every fact is timestamped and queries run in the app process.
coral vs datomic →Strongly typed entity-relation database with TypeQL, polymorphic queries and a Rust core.
coral vs typedb →Embedded Datalog database blending relational, graph and vector queries; dormant since 2024.
coral vs cozodb →Bitemporal SQL database on object storage that keeps every version of every row.
coral vs xtdb →PostgreSQL extension that adds openCypher graph queries alongside SQL.
coral vs apache-age →CORAL FAQ
What is CORAL?
CORAL is a relational database by University of Wisconsin–Madison, first released in 1988. CORAL was a deductive database system developed at the University of Wisconsin–Madison by Raghu Ramakrishnan, Divesh Srivastava, S. Sudarshan and Praveen Seshadri, among others. Programs are organised as modules of Horn-clause rules extended with complex terms, set-grouping, aggregation, negation and relations containing variables, and the system picked an evaluation strategy per module automatically while letting users steer optimisation with per-module control annotations. A C++ interface let developers combine declarative modules with imperative code and extend the system through C++ classes. Data could live in memory or on disk through the EXODUS storage manager, which also supplied client-server transactions. The final release, 1.5.2, came out in November 1997; it remains a well-cited reference for Datalog evaluation techniques.
Is CORAL open source?
No. CORAL is proprietary, closed-source software. License: Academic source release (no OSI license stated).
Does CORAL support ACID transactions?
Partly. CORAL offers limited ACID guarantees (for example, single-record or single-partition transactions), with strong consistency.
Does CORAL scale horizontally?
CORAL 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 CORAL?
You can self-host it.
What is CORAL best for?
CORAL is a strong fit for studying deductive database and Datalog evaluation techniques; and historical reference for recursive query processing. Think twice for any production use.
What are the best alternatives to CORAL?
Common alternatives to CORAL include LogicBlox, Datomic, TypeDB, CozoDB and XTDB. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is CORAL still maintained?
CORAL is discontinued. Academic project (1988–1997); final release 1.5.2 in Nov 1997. Its techniques continue in modern Datalog engines.
How popular is CORAL?
CORAL has little measurable public adoption today, so it ranks near the bottom of the WhichDB Score.





