VanillaDB

maintenance

by DataLab, National Tsing Hua University · since 2016 · also known as VanillaCore, VanillaComm, VanillaBench

Readable Java relational engine from NTHU for teaching database internals and prototyping research.

relationalresearch prototypeopen source (permissive)legacy

maintenance. Teaching/research system; VanillaCore last released 0.7.0 (Sept 2022) with sporadic commits since. Still usable for coursework.

Overview

VanillaDB is a family of small, deliberately readable database components from the DataLab at National Tsing Hua University in Taiwan. VanillaCore is a single-node, multi-threaded relational engine in Java that supports part of SQL-92 and can be used through JDBC, embedded, or via Java stored procedures; VanillaComm adds group communication for distributed systems and VanillaBench provides TPC-C-style benchmarks. It is used in NTHU's database courses and as a research testbed, including the T-Part (SIGMOD 2016) work and the ElaSQL deterministic distributed database. Core releases stopped at 0.7.0 (2022), with only light activity since.

Strengths & trade-offs

Strengths

  • +Clean, documented Java code that students can read end to end
  • +Modular layers (storage, buffer, recovery, concurrency, planner) that are easy to swap
  • +Used as a real testbed in published research
  • +Companion benchmark and communication modules for distributed experiments

Trade-offs

  • −Partial SQL support
  • −Not tuned or hardened for production
  • −Small community; activity has slowed since 2023

Great for

  • +Database internals courses and labs
  • +Prototyping new concurrency or recovery algorithms

Think twice for

  • −Production applications
  • −Large datasets

Capabilities

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

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

Single node; distributed variants (e.g. ElaSQL) are separate research systems.

Deployment

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

Ecosystem

apis & protocolsJDBC, Embedded Java API
client languagesJava

Alternatives to VanillaDB

Compare all→
H2 DatabaseRelational23.5

Fast pure-Java SQL engine for embedded, in-memory and test databases, with compatibility modes.

vanilladb vs h2 →
HyperSQL (HSQLDB)Relational9.4

Long-running pure-Java SQL database with strong SQL:2023 coverage, used embedded and in LibreOffice.

vanilladb vs hsqldb →
Apache DerbyRelational9.6

Pure-Java embedded SQL database from the Cloudscape lineage, retired by Apache in 2025.

vanilladb vs apache-derby →
SQLiteRelational75.5

The in-process SQL engine that ships in every phone, browser and OS: one file, zero servers.

vanilladb vs sqlite →
Microsoft AccessRelational45.8

Desktop database and forms builder bundled with Microsoft 365; still everywhere in back offices.

vanilladb vs microsoft-access →
FirebirdRelational32.8

Lightweight, MVCC relational database from the InterBase lineage, embeddable or client-server.

vanilladb vs firebird →

VanillaDB FAQ

What is VanillaDB?

VanillaDB is a relational database by DataLab, National Tsing Hua University, first released in 2016. VanillaDB is a family of small, deliberately readable database components from the DataLab at National Tsing Hua University in Taiwan. VanillaCore is a single-node, multi-threaded relational engine in Java that supports part of SQL-92 and can be used through JDBC, embedded, or via Java stored procedures; VanillaComm adds group communication for distributed systems and VanillaBench provides TPC-C-style benchmarks. It is used in NTHU's database courses and as a research testbed, including the T-Part (SIGMOD 2016) work and the ElaSQL deterministic distributed database. Core releases stopped at 0.7.0 (2022), with only light activity since.

Is VanillaDB open source?

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

Does VanillaDB support ACID transactions?

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

Does VanillaDB scale horizontally?

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

You can self-host it and embed it in your application.

What is VanillaDB best for?

VanillaDB is a strong fit for database internals courses and labs; and prototyping new concurrency or recovery algorithms. Think twice for production applications.

What are the best alternatives to VanillaDB?

Common alternatives to VanillaDB include H2 Database, HyperSQL (HSQLDB), Apache Derby, SQLite and Microsoft Access. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is VanillaDB still maintained?

VanillaDB is in maintenance mode. Teaching/research system; VanillaCore last released 0.7.0 (Sept 2022) with sporadic commits since. Still usable for coursework.

How popular is VanillaDB?

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