Technology

How CoraDB is built

Natively combined data.

Relational and graph processing are implemented natively, in the same core, without extensions, add-ons, external libraries or other third-party components.

We do not glue separate products together; everything is built in one engine.
That means simpler internal data exchange, better performance, simpler maintenance and easier customization, and it lets CoraDB process data and run queries faster, scale further and use less hardware.

Heritage

Built on 12+ years of CUBRID engineering.

CoraDB’s relational engine is based on CUBRID, an open-source database engine that Arnia Software has extended over the last 12 years.
CoraDB adds native graph storage, graph types and the PGQL query language on top of that proven core, and keeps in step with CUBRID’s latest features.

Full SQL

  • Joins, subqueries and recursive CTEs
  • Analytic functions and partitioning
  • Triggers and stored procedures
  • Transactions with multi-version concurrency control (MVCC)

Graphs with PGQL

  • CREATE VERTEX TABLE and CREATE EDGE TABLE define the graph: vertices and edges are tables with typed properties, primary keys and indexes
  • INSERT VERTEX adds nodes; INSERT EDGE … FROM (…) TO (…) connects two of them, with properties on the edge
  • SELECT … FROM MATCH finds patterns, following edges forward (->), backward (<-) or in either direction (-)
  • Variable-length paths with {min,max} hops, and shortest paths with ANY_SHORTEST and ALL_SHORTEST
  • Path variables (p = (…)) keep the whole matched path for the path functions
  • MATCH patterns mix with tables in the same query: joins, WHERE, GROUP BY and subqueries
  • Graph statistics for the optimizer, and query profiling for MATCH queries

Native types & functions

  • A graph object type and a path type, next to the relational types and JSON
  • Path functions: NODES, RELATIONSHIPS, PATH_COMP
  • List functions: COLLECT_LIST, REDUCE, LIST_COMP
  • JSON functions that expose graph topology and properties

One statement, both models.

Graph patterns and relational tables can be combined in the same query, so analyses that would otherwise need application code run directly in the database.

Getting Started

-- What are the top 10 best-selling products by total
-- quantity sold, with category?
SELECT p.name AS product, c.name AS category,
       SUM(oi.quantity) AS totalSold
FROM MATCH (p:product)-[:part_of]->(c:category),
  order_items oi
WHERE oi.product_id = p.id
GROUP BY p.name, c.name
ORDER BY totalSold DESC
LIMIT 10;
graph pattern (PGQL)relational tableA graph pattern joined to the relational order_items table, from the e-commerce demo database.
Result10 rows, first 5 shown
productcategorytotalSold
Erika Running ShortErin Recommends2180
Erika Running ShortShorts2180
Balboa Persistence TeeTees1222
Riona Full Zip JacketJackets945
Troy Yoga ShortPerformance Fabrics762

Performance

Up to 3× faster than Neo4j in our benchmark tests.

In CoraDB’s LDBC SNB and FinBench benchmark testing, CoraDB ran up to three times faster than Neo4j under the tested configurations, while delivering relational performance comparable to MySQL on the tested workloads.

  • LDBC Social Network Benchmark (SNB)
  • LDBC FinBench (financial graph workloads)
  • Relational workloads compared with MySQL

Platform and operations

Platforms

64-bit Linux today; Windows and macOS are coming next.

High availability

Master-slave configuration, currently for relational data.
Enhanced HA is on the roadmap.

Cloud-ready

Kubernetes and Helm operators are available.

Core and interfaces

The core engine is written in C/C++ for high performance.

Drivers and tools

Drivers for Java, .NET, Python, PHP and Node.js; built-in apps for querying, visualization, administration and migration; MCP servers for AI tools; tools for backup and recovery, monitoring and audit, and performance tuning.

Documentation

A full manual, a graph tutorial and ten demo databases with ready-to-run queries.