Apache Trafodion

discontinued

by Apache Software Foundation (originally HP) · since 2014 · also known as Trafodion

Transactional SQL-on-Hadoop engine on HBase from HP's NonStop SQL lineage; retired by Apache in 2021.

relationaldatabase engineopen source (permissive)legacy

discontinued. Retired to the Apache Attic in April 2021; last release 2.3.0 (Feb 2019). EsgynDB is the commercial continuation; distributed SQL engines replace it.

Overview

Apache Trafodion was an operational SQL engine for Hadoop: it added ANSI SQL, ACID transactions, secondary indexes and a cost-based optimizer on top of HBase tables, and could also read Hive data, so OLTP and reporting could share one cluster. HP open-sourced it in 2014 from technology rooted in its NonStop SQL work; it entered the Apache Incubator, became a top-level project in December 2017, and shipped its last release, 2.3.0, in February 2019. Activity faded and the project was retired to the Apache Attic in April 2021. Esgyn's commercial EsgynDB continued the codebase; for new systems, distributed SQL databases are the usual choice.

Strengths & trade-offs

Strengths

  • +Full ANSI SQL with distributed ACID transactions over HBase storage
  • +Mature optimizer and executor inherited from HP's enterprise SQL heritage
  • +Could query native HBase and Hive tables alongside its own tables

Trade-offs

  • −Retired project: no releases since 2019 and no security fixes
  • −Heavy operational stack (Hadoop, HBase, ZooKeeper) to run anything
  • −Small community even at its peak

Great for

  • +Maintaining legacy Hadoop OLTP deployments
  • +Studying SQL-on-HBase transaction design

Think twice for

  • −New deployments
  • −Teams without Hadoop operations expertise

Capabilities

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

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

Scale & consistency

Comfortable data size
Large · ≤ 1 PB
Horizontal scaling
Native
Multi-region
No
Transactions
Full ACID
Consistency
Strong
Schema
Strict
Architecture
Distributed, Client server
Query languages
SQL

Scaled with the underlying HBase/HDFS cluster.

Deployment

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

Ecosystem

apis & protocolsJDBC, ODBC
client languagesJava, C, C++

Alternatives to Apache Trafodion

Compare all→
EsgynDBRelational0.0

Commercial distribution of Apache Trafodion: transactional MPP SQL on HBase and Hive; Esgyn has gone dark.

trafodion vs esgyndb →
TiDBRelational35.9

MySQL-compatible distributed SQL with a row store for OLTP and a columnar replica for real-time analytics.

trafodion vs tidb →
CockroachDBRelational47.1

Postgres-wire distributed SQL built to survive node, zone and region failures with serializable transactions.

trafodion vs cockroachdb →
Splice MachineRelational0.6

Hadoop-era ACID SQL database running OLTP on HBase and analytics on Spark; vendor insolvent since 2021.

trafodion vs splice-machine →
Apache HiveRelational30.1

The original SQL-on-Hadoop warehouse, now mostly valued for its Metastore and Iceberg support.

trafodion vs apache-hive →
Google F1Relational0.0

Google's internal distributed SQL database on Spanner that replaced sharded MySQL for AdWords.

trafodion vs google-f1 →

Apache Trafodion FAQ

What is Apache Trafodion?

Apache Trafodion is a relational database by Apache Software Foundation (originally HP), first released in 2014. Apache Trafodion was an operational SQL engine for Hadoop: it added ANSI SQL, ACID transactions, secondary indexes and a cost-based optimizer on top of HBase tables, and could also read Hive data, so OLTP and reporting could share one cluster. HP open-sourced it in 2014 from technology rooted in its NonStop SQL work; it entered the Apache Incubator, became a top-level project in December 2017, and shipped its last release, 2.3.0, in February 2019. Activity faded and the project was retired to the Apache Attic in April 2021. Esgyn's commercial EsgynDB continued the codebase; for new systems, distributed SQL databases are the usual choice.

Is Apache Trafodion open source?

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

Does Apache Trafodion support ACID transactions?

Yes. Apache Trafodion supports full ACID transactions, with strong consistency.

Does Apache Trafodion scale horizontally?

Apache Trafodion scales horizontally out of the box, with built-in sharding or partitioning. It is comfortable at large scale (≤ 1 PB).

How can I run Apache Trafodion?

You can self-host it.

What is Apache Trafodion best for?

Apache Trafodion is a strong fit for maintaining legacy Hadoop OLTP deployments and studying SQL-on-HBase transaction design. Think twice for new deployments.

What are the best alternatives to Apache Trafodion?

Common alternatives to Apache Trafodion include EsgynDB, TiDB, CockroachDB, Splice Machine and Apache Hive. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is Apache Trafodion still maintained?

Apache Trafodion is discontinued. Retired to the Apache Attic in April 2021; last release 2.3.0 (Feb 2019). EsgynDB is the commercial continuation; distributed SQL engines replace it.

How popular is Apache Trafodion?

Apache Trafodion ranks #620 of 844 databases on the WhichDB Score (0.6/100), and #191 among relational databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.