DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > H2 vs. HyperSQL vs. SQL.JS vs. TerarkDB

System Properties Comparison H2 vs. HyperSQL vs. SQL.JS vs. TerarkDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonHyperSQL infoalso known as HSQLDB  Xexclude from comparisonSQL.JS  Xexclude from comparisonTerarkDB  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Multithreaded, transactional RDBMS written in Java infoalso known as HSQLDBPort of SQLite to JavaScriptA key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDB
Primary database modelRelational DBMSRelational DBMSRelational DBMSKey-value store
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score3.49
Rank#87  Overall
#47  Relational DBMS
Score0.53
Rank#252  Overall
#116  Relational DBMS
Score0.00
Rank#383  Overall
#60  Key-value stores
Websitewww.h2database.comhsqldb.orgsql.js.orggithub.com/­bytedance/­terarkdb
Technical documentationwww.h2database.com/­html/­main.htmlhsqldb.org/­web/­hsqlDocsFrame.htmlsql.js.org/­documentation/­index.htmlbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperThomas MuellerAlon Zakai infoenhancements implemented by othersByteDance, originally Terark
Initial release2005200120122016
Current release2.2.220, July 20232.7.2, June 2023
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infobased on BSD licenseOpen Sourcecommercial inforestricted open source version available
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaJavaJavaScriptC++
Server operating systemsAll OS with a Java VMAll OS with a Java VM infoEmbedded (into Java applications) and Client-Server operating modesserver-less, requires a JavaScript environment (browser, Node.js)
Data schemeyesyesyesschema-free
Typing infopredefined data types such as float or dateyesyesyesno
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.nononono
Secondary indexesyesyesno
SQL infoSupport of SQLyesyesyes infoSQL-92 is not fully supportedno
APIs and other access methodsJDBC
ODBC
HTTP API infoJDBC via HTTP
JDBC
ODBC
JavaScript APIC++ API
Java API
Supported programming languagesJavaAll languages supporting JDBC/ODBC
Java
JavaScriptC++
Java
Server-side scripts infoStored proceduresJava Stored Procedures and User-Defined FunctionsJava, SQLnono
Triggersyesyesnono
Partitioning methods infoMethods for storing different data on different nodesnonenonenonenone
Replication methods infoMethods for redundantly storing data on multiple nodesWith clustering: 2 database servers on different computers operate on identical copies of a databasenonenonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistencynone
Foreign keys infoReferential integrityyesyesyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACIDno
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yesyes
Durability infoSupport for making data persistentyesyesno infoexcept by serializing a db to a fileyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyesyes
User concepts infoAccess controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardnono

More information provided by the system vendor

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
H2HyperSQL infoalso known as HSQLDBSQL.JSTerarkDB
DB-Engines blog posts

New kids on the block: database management systems implemented in JavaScript
1 December 2014, Matthias Gelbmann

show all

Recent citations in the news

HyperSQL DataBase flaw leaves library vulnerable to RCE
24 October 2022, The Daily Swig

Introduction to JDBC with HSQLDB tutorial
14 November 2022, TheServerSide.com

provided by Google News

9 Best JavaScript and TypeScript ORMs for 2024 — SitePoint
22 March 2023, SitePoint

Execute millions of SQL statements in milliseconds in the browser with WebAssembly and Web Workers.
14 January 2017, hackernoon.com

SQLite On The Web: Absurd-sql
24 August 2021, Hackaday

Running PostgreSQL Inside Your Browser
8 September 2022, iProgrammer

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News



Share this page

Featured Products

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Present your product here