HSQLDB is included with OOo and LibreOffice and downloaded over 100 million times. Some information on the use of HSQLDB within OpenOffice.org can be found here .

Commercial support for business users of HSQLDB is available from the HyperXtremeSQL web site. A higher-performance database engine based on HSQLDB, with several additional features such as extended OLAP, the PL/HXSQL procedural language and COMPACT memory tables is also available from that site.

The How To pages are regularly updated and include a list of useful links.

Latest version 2.5.1 w orks with JDK 8 and above. Version 2.3.8 for JDK 6 is also available.

Version 2.5.1



June 2020. Version 2.5.1 of HyperSQL database management system adds enhancements to many areas. Zip package at the download link above. Individual jars are available at http://hsqldb.org/download Data cube support is the latest major feature in the new version, which follows other important features developed in recent years.Temporal system-versioned tables keep all the data changes over time, allowing queries to view historic snapshots and, with PERIOD predicates, data changes over any period of time. Fine-grained row-level access control governs visibility and permissions on rows of data. Log-based synchronization keeps replicas in sync.Support for Java 8 java.time classes in JDBC, table spaces for disk-based tables, UUID type for columns, SYNONYM for tables and functions, and auto-updated TIMESTAMP columns on row updates, are some of the recent features. Other features included: The ability to cancel long-running statements from JDBC as well as from admin sessions. UTF-16 file support for text table sources. MySQL compatibility for REPLACE, INSERT IGNORE and ON DUPLICATE KEY UPDATE statements.

Each release incorporates extensive code reviews, enhancements and bug fixes.



HSQLDB (HyperSQL DataBase) is the leading SQL relational database system written in Java. It offers a small, fast multithreaded and transactional database engine with in-memory and disk-based tables and supports embedded and server modes. It includes a powerful command line SQL tool and simple GUI query tools.

HSQLDB supports the widest range of SQL Standard features seen in any open source database engine: SQL:2016 core language features and an extensive list of SQL:2016 optional features. It supports full Advanced ANSI-92 SQL with only two exceptions. Many extensions to the Standard, including syntax compatibility modes and features of other popular database engines, are also supported.

Version 2.5.1 is fully multithreaded and supports high performance 2PL and MVCC (multiversion concurrency control) transaction control models. See the list of features in version 2.5.0.



HSQLDB has been constantly developed over 20 years and is used as a database and persistence engine in over 1700 Open Source Software projects and many commercial products. The latest versions are extremely stable and reliable. It is known for its small size, ability to execute completely or partly in memory, its flexibility and speed.

HSQLDB is completely free to use and distribute under our licenses, based on the standard BSD license and fully compatible with all major open source licenses.

The database performance test package PolePosition compares the performance of relational and object databases for storing objects. We ran the PolePosition 0.4 tests with HSQLDB 2.2.6 embedded and server (both with disk tables with sync-on-commit), Apache Derby embedded and MySQL+InnoDB server. See the results, which show the query processing improvements since HSQLDB 2.0

Background



HyperSQL is developed and published by the The HSQL Development Group. The group was formed in 2001 and has released several major versions of the database over the years. Version 2.0 was released in 2010 with a brand new transactional core engine and JDBC implementation. The engine has been developed much further in version 2.5.1.



Direct downloads from SourceForge exceed 2,000,000 copies, with hundreds of millions of copies distributed as part of other software packages.

HyperSQL was selected as the SourceForge Project of the Month for January 2012. An interview with core developers is published here.