Hyrise

active

by Hasso Plattner Institute · since 2010

HPI's open-source in-memory columnar research database, rewritten in 2017 for teaching and experiments.

relationalcolumnar / olapresearch prototypeopen source (permissive)growing

Overview

Hyrise is a research relational database from the Hasso Plattner Institute in Potsdam. The original 2010 version explored hybrid row/column layouts for main memory; the current codebase, rewritten in 2017, is a clean C++ columnar engine with chunked, encoded storage, MVCC transactions, a rule-based optimizer and a plug-in system, designed so students and researchers can swap in new indexes, encodings or optimizer rules. It runs TPC-H, TPC-DS, the Join Order Benchmark and SSB out of the box and speaks a subset of the PostgreSQL wire protocol, so psql can connect. HPI uses it for its 'Develop your own Database' course and ongoing research, and commits land regularly. Use it to learn or experiment, not to store production data.

Strengths & trade-offs

Strengths

  • +Readable, modern C++ codebase built for experimentation
  • +Plug-in architecture for new operators, encodings and optimizer rules
  • +TPC-H, TPC-DS, JOB and SSB runnable with one command
  • +Active research output and teaching use at HPI
  • +Permissive MIT license

Trade-offs

  • −Not hardened for production: limited durability and operations tooling
  • −Single-node only
  • −Linux-focused build with heavy dependencies

Great for

  • +Teaching database internals
  • +Prototyping optimizer, encoding or index research
  • +Reproducing in-memory database papers

Think twice for

  • −Production data storage
  • −Distributed workloads

Capabilities

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

✓Transactions
✓Joins
✓Secondary indexes
✓Columnar storage
✓In-memory
✓Compression
–Full-text search
–Vector search
–Geospatial
–JSON
–Change data capture
–Triggers
–Stored procedures
–Materialized views
–TTL / expiry
–Pub/Sub
–Durable persistence
–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
Limited ACID
Consistency
Strong
Schema
Strict
Architecture
Single node, In memory, Client server
Query languages
SQL

Single-node, in-memory; sized for benchmark data sets.

Deployment

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

Ecosystem

compatible withPostgreSQL
apis & protocolsPostgreSQL wire protocol (subset), Hyrise console, C++ API
client languagesC++

Alternatives to Hyrise

Compare all→
DuckDBColumnar / OLAP63.7

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

hyrise vs duckdb →
MonetDBColumnar / OLAP24.2

Pioneering open-source column-store from CWI, still a lean research-grade analytical SQL database.

hyrise vs monetdb →
HyPerRelational0.0

TUM's main-memory HTAP research database that pioneered LLVM query compilation; now Tableau Hyper.

hyrise vs hyper →
QuickstepRelational0.9

UW-Madison's single-node, in-memory analytical SQL engine; retired from the Apache Incubator in 2018.

hyrise vs quickstep →
SAP HANARelational39.7

SAP's in-memory columnar HTAP database, the mandatory engine under S/4HANA.

hyrise vs sap-hana →
Actian IngresRelational16.8

One of the original relational databases, still sold by Actian for long-lived enterprise systems.

hyrise vs ingres →

Hyrise FAQ

What is Hyrise?

Hyrise is a relational database by Hasso Plattner Institute, first released in 2010. Hyrise is a research relational database from the Hasso Plattner Institute in Potsdam. The original 2010 version explored hybrid row/column layouts for main memory; the current codebase, rewritten in 2017, is a clean C++ columnar engine with chunked, encoded storage, MVCC transactions, a rule-based optimizer and a plug-in system, designed so students and researchers can swap in new indexes, encodings or optimizer rules. It runs TPC-H, TPC-DS, the Join Order Benchmark and SSB out of the box and speaks a subset of the PostgreSQL wire protocol, so psql can connect. HPI uses it for its 'Develop your own Database' course and ongoing research, and commits land regularly. Use it to learn or experiment, not to store production data.

Is Hyrise open source?

Yes. Hyrise is open source. License: MIT License.

Does Hyrise support ACID transactions?

Partly. Hyrise offers limited ACID guarantees (for example, single-record or single-partition transactions), with strong consistency.

Does Hyrise scale horizontally?

Hyrise 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 Hyrise?

You can self-host it.

What is Hyrise best for?

Hyrise is a strong fit for teaching database internals; prototyping optimizer, encoding or index research; and reproducing in-memory database papers. Think twice for production data storage.

What are the best alternatives to Hyrise?

Common alternatives to Hyrise include DuckDB, MonetDB, HyPer, Quickstep and SAP HANA. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

How popular is Hyrise?

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