TokuDB

discontinued

by Tokutek, later Percona · since 2009 · also known as Percona TokuDB, Tokutek TokuDB

Fractal-tree storage engine for MySQL/MariaDB; dropped from Percona Server in 2022.

relationalextensionopen source (copyleft)legacy

discontinued. Percona ended TokuDB support from Percona Server 8.0.28-19 (May 2022) and MariaDB deprecated it in 10.5. Migrate to InnoDB or MyRocks.

Overview

TokuDB is a transactional MySQL and MariaDB storage engine built by Tokutek on fractal tree indexes, a write-optimised alternative to B-trees that buffers changes inside the tree. That gave it very high insert rates on large indexed tables, aggressive compression and online column and index changes, which made it popular for logging, clickstream and other write-heavy MySQL workloads in the early 2010s. Percona bought Tokutek in 2015 and shipped TokuDB in Percona Server, but stopped supporting it from Percona Server 8.0.28-19 (May 2022) and steered users to MyRocks; MariaDB deprecated it in 10.5. The PerconaFT library underneath is still on GitHub but sees no feature work.

Strengths & trade-offs

Strengths

  • +Fractal tree indexes sustained high insert rates on tables far larger than RAM
  • +Strong compression, often several times smaller on disk than uncompressed InnoDB
  • +Hot column add/drop and online index builds without long table locks
  • +Clustering secondary indexes could cover range queries without extra lookups

Trade-offs

  • −No longer shipped or supported by Percona Server 8.0.28+ or current MariaDB
  • −Read latency and tuning behaviour less predictable than InnoDB
  • −Small expert community; known bugs will not be fixed

Great for

  • +Maintaining legacy MySQL 5.7-era systems that still use it
  • +Studying write-optimised index structures in a real engine

Think twice for

  • −New MySQL deployments
  • −Any system that needs current security patches

Capabilities

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

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

Scale & consistency

Comfortable data size
Medium · ≤ 10 TB
Horizontal scaling
None
Multi-region
Read replicas
Transactions
Full ACID
Consistency
Strong
Schema
Strict
Architecture
Single node, Primary replica
Query languages
SQL

Single-server engine; scaled with standard MySQL replication.

Deployment

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

Ecosystem

compatible withMySQL
apis & protocolsMySQL wire protocol
client languagesAny MySQL driver

Alternatives to TokuDB

Compare all→
Percona Server for MySQLRelational23.1

A drop-in MySQL build that ships enterprise features (thread pool, audit, encryption) as free GPL code.

tokudb vs percona-server-mysql →
MariaDBRelational56.2

Community-led MySQL fork with extra storage engines, built-in Galera and a faster feature cadence.

tokudb vs mariadb →
RocksDBKey-Value48.2

Meta's embeddable LSM-tree key-value engine, the storage layer under dozens of databases.

tokudb vs rocksdb →
MySQLRelational82.3

The web's default open-source SQL database, now on calendar versioning with 9.7 as the LTS line.

tokudb vs mysql →
Progress OpenEdgeRelational20.4

Integrated RDBMS plus ABL 4GL application platform behind thousands of ERP and vertical business apps.

tokudb vs progress-openedge →
MultigresRelational12.4

Alpha-stage, Vitess-inspired sharding, pooling and HA layer for unmodified PostgreSQL, led by Supabase.

tokudb vs multigres →

TokuDB FAQ

What is TokuDB?

TokuDB is a relational database by Tokutek, later Percona, first released in 2009. TokuDB is a transactional MySQL and MariaDB storage engine built by Tokutek on fractal tree indexes, a write-optimised alternative to B-trees that buffers changes inside the tree. That gave it very high insert rates on large indexed tables, aggressive compression and online column and index changes, which made it popular for logging, clickstream and other write-heavy MySQL workloads in the early 2010s. Percona bought Tokutek in 2015 and shipped TokuDB in Percona Server, but stopped supporting it from Percona Server 8.0.28-19 (May 2022) and steered users to MyRocks; MariaDB deprecated it in 10.5. The PerconaFT library underneath is still on GitHub but sees no feature work.

Is TokuDB open source?

Yes. TokuDB is open source. License: GPL-2.0 (engine) / AGPL-3.0 (PerconaFT).

Does TokuDB support ACID transactions?

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

Does TokuDB scale horizontally?

TokuDB does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at medium scale (≤ 10 TB). It supports cross-region read replicas.

How can I run TokuDB?

You can self-host it.

What is TokuDB best for?

TokuDB is a strong fit for maintaining legacy MySQL 5.7-era systems that still use it and studying write-optimised index structures in a real engine. Think twice for new MySQL deployments.

What are the best alternatives to TokuDB?

Common alternatives to TokuDB include Percona Server for MySQL, MariaDB, RocksDB, MySQL and Progress OpenEdge. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is TokuDB still maintained?

TokuDB is discontinued. Percona ended TokuDB support from Percona Server 8.0.28-19 (May 2022) and MariaDB deprecated it in 10.5. Migrate to InnoDB or MyRocks.

How popular is TokuDB?

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