SmallSQL
maintenanceby Volker Berlin · since 2005 · also known as SmallSQL Database
Pure-Java embedded SQL database with a JDBC 3.0 interface for desktop apps; last release in 2011.
maintenance. Still downloadable, but the last release was 0.21 (June 2011) and nothing has changed since. H2, HSQLDB or Apache Derby are maintained alternatives.
Overview
SmallSQL is a 100% Java relational engine meant to be shipped inside desktop applications: there is no server or network listener, the application opens the database in-process through SmallSQL's JDBC 3.0 driver, and it implements a good share of SQL-92 and SQL-99. Volker Berlin started it in 2005 and published it under the LGPL on SourceForge, where the final 0.21 release appeared in June 2011. It still works as a curiosity or in legacy apps, but H2, HSQLDB and Apache Derby fill the same niche with far broader SQL support and ongoing maintenance.
Strengths & trade-offs
Strengths
- +Single JAR with no server process or open port
- +Standard JDBC, so ordinary Java SQL code works against it
- +LGPL allows bundling inside closed-source desktop applications
Trade-offs
- −No releases since 2011 and no fixes for modern JVMs
- −No network mode: one application owns a database at a time
- −Narrower SQL coverage and optimizer than H2 or HSQLDB
Great for
- +Maintaining legacy Java desktop apps that bundle it
- +Studying a compact SQL engine implementation
Think twice for
- −New Java projects (pick H2 or SQLite)
- −Multi-user or networked access
Capabilities
Native or official first-party support · 4 of 25 tracked
Scale & consistency
- Comfortable data size
- Small · ≤ 100 GB
- Horizontal scaling
- None
- Multi-region
- No
- Transactions
- Limited ACID
- Consistency
- Strong
- Schema
- Strict
- Architecture
- Embedded
- Query languages
- SQL
Deployment
Ecosystem
Alternatives to SmallSQL
Fast pure-Java SQL engine for embedded, in-memory and test databases, with compatibility modes.
smallsql vs h2 →Long-running pure-Java SQL database with strong SQL:2023 coverage, used embedded and in LibreOffice.
smallsql vs hsqldb →Pure-Java embedded SQL database from the Cloudscape lineage, retired by Apache in 2025.
smallsql vs apache-derby →The in-process SQL engine that ships in every phone, browser and OS: one file, zero servers.
smallsql vs sqlite →Desktop database and forms builder bundled with Microsoft 365; still everywhere in back offices.
smallsql vs microsoft-access →Lightweight, MVCC relational database from the InterBase lineage, embeddable or client-server.
smallsql vs firebird →SmallSQL FAQ
What is SmallSQL?
SmallSQL is a relational database by Volker Berlin, first released in 2005. SmallSQL is a 100% Java relational engine meant to be shipped inside desktop applications: there is no server or network listener, the application opens the database in-process through SmallSQL's JDBC 3.0 driver, and it implements a good share of SQL-92 and SQL-99. Volker Berlin started it in 2005 and published it under the LGPL on SourceForge, where the final 0.21 release appeared in June 2011. It still works as a curiosity or in legacy apps, but H2, HSQLDB and Apache Derby fill the same niche with far broader SQL support and ongoing maintenance.
Is SmallSQL open source?
Yes. SmallSQL is open source. License: GNU Lesser General Public License.
Does SmallSQL support ACID transactions?
Partly. SmallSQL offers limited ACID guarantees (for example, single-record or single-partition transactions), with strong consistency.
Does SmallSQL scale horizontally?
SmallSQL 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 SmallSQL?
You can self-host it and embed it in your application.
What is SmallSQL best for?
SmallSQL is a strong fit for maintaining legacy Java desktop apps that bundle it and studying a compact SQL engine implementation. Think twice for new Java projects (pick H2 or SQLite).
What are the best alternatives to SmallSQL?
Common alternatives to SmallSQL 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 SmallSQL still maintained?
SmallSQL is in maintenance mode. Still downloadable, but the last release was 0.21 (June 2011) and nothing has changed since. H2, HSQLDB or Apache Derby are maintained alternatives.
How popular is SmallSQL?
SmallSQL has little measurable public adoption today, so it ranks near the bottom of the WhichDB Score.


