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. IBM Db2 vs. LokiJS vs. Milvus

System Properties Comparison H2 vs. HyperSQL vs. IBM Db2 vs. LokiJS vs. Milvus

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonHyperSQL infoalso known as HSQLDB  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonLokiJS  Xexclude from comparisonMilvus  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 HSQLDBCommon in IBM host environments, 2 different versions for host and Windows/LinuxIn-memory JavaScript DBMSA DBMS designed for efficient storage of vector data and vector similarity searches
Primary database modelRelational DBMSRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBDocument storeVector DBMS
Secondary database modelsSpatial DBMSDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
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
Score128.46
Rank#8  Overall
#5  Relational DBMS
Score0.43
Rank#264  Overall
#42  Document stores
Score2.31
Rank#113  Overall
#3  Vector DBMS
Websitewww.h2database.comhsqldb.orgwww.ibm.com/­products/­db2github.com/­techfort/­LokiJSmilvus.io
Technical documentationwww.h2database.com/­html/­main.htmlhsqldb.org/­web/­hsqlDocsFrame.htmlwww.ibm.com/­docs/­en/­db2techfort.github.io/­LokiJSmilvus.io/­docs/­overview.md
DeveloperThomas MuellerIBM
Initial release200520011983 infohost version20142019
Current release2.2.220, July 20232.7.2, June 202312.1, October 20162.3.4, January 2024
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infobased on BSD licensecommercial infofree version is availableOpen SourceOpen Source infoApache Version 2.0
Cloud-based only infoOnly available as a cloud servicenonononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Zilliz Cloud – Cloud-native service for Milvus
Implementation languageJavaJavaC and C++JavaScriptC++, Go
Server operating systemsAll OS with a Java VMAll OS with a Java VM infoEmbedded (into Java applications) and Client-Server operating modesAIX
HP-UX
Linux
Solaris
Windows
z/OS
server-less, requires a JavaScript environment (browser, Node.js)Linux
macOS info10.14 or later
Windows infowith WSL 2 enabled
Data schemeyesyesyesschema-free
Typing infopredefined data types such as float or dateyesyesyesnoVector, Numeric and String
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 indexesyesyesyesyes infovia viewsno
SQL infoSupport of SQLyesyesyesnono
APIs and other access methodsJDBC
ODBC
HTTP API infoJDBC via HTTP
JDBC
ODBC
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
JavaScript APIRESTful HTTP API
Supported programming languagesJavaAll languages supporting JDBC/ODBC
Java
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
JavaScriptC++
Go
Java
JavaScript (Node.js)
Python
Server-side scripts infoStored proceduresJava Stored Procedures and User-Defined FunctionsJava, SQLyesView functions in JavaScriptno
Triggersyesyesyesyesno
Partitioning methods infoMethods for storing different data on different nodesnonenoneSharding infoonly with Windows/Unix/Linux VersionnoneSharding
Replication methods infoMethods for redundantly storing data on multiple nodesWith clustering: 2 database servers on different computers operate on identical copies of a databasenoneyes infowith separate tools (MQ, InfoSphere)none
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencynoneBounded Staleness
Eventual Consistency
Immediate Consistency
Session Consistency
Tunable Consistency
Foreign keys infoReferential integrityyesyesyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACIDno infoatomic operations within a single collection possibleno
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yesyesyes
Durability infoSupport for making data persistentyesyesyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yes
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-standardfine grained access rights according to SQL-standardnoRole based access control and fine grained access rights
More information provided by the system vendor
H2HyperSQL infoalso known as HSQLDBIBM Db2 infoformerly named DB2 or IBM Database 2LokiJSMilvus
Specific characteristicsMilvus is an open-source and cloud-native vector database built for production-ready...
» more
Competitive advantagesHighly available, versatile, and robust with millisecond latency. Supports batch...
» more
Typical application scenariosRAG: retrieval augmented generation Video media : video understanding, video deduplication....
» more
Key customersMilvus is trusted by thousands of enterprises, including PayPal, eBay, IKEA, LINE,...
» more
Market metricsAs of January 2024, 25k+ GitHub stars 10M+ downloads and installations​ ​ 3k+ enterprise...
» more
Licensing and pricing modelsMilvus was released under the open-source Apache License 2.0 in October 2019. Fully-managed...
» more

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 HSQLDBIBM Db2 infoformerly named DB2 or IBM Database 2LokiJSMilvus
DB-Engines blog posts

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

show all

Vector databases
2 June 2023, 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

Data migration strategies to Amazon RDS for Db2 | Amazon Web Services
15 May 2024, AWS Blog

IBM Collaborates with AWS to Launch a New Cloud Database Offering, Enabling Customers to Optimize Data ...
27 November 2023, IBM Newsroom

IBM's vintage Db2 database jumps on AWS's cloud bandwagon
29 November 2023, The Register

Precisely Supports Amazon RDS for Db2 Service with Real-Time Data Integration Capabilities
3 April 2024, Precisely

Precisely says it's smoothing migration of Db2 analytics data to AWS cloud – Blocks and Files
5 April 2024, Blocks & Files

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

LokiJS Reaches 1.4
8 July 2016, iProgrammer

provided by Google News

How NVIDIA GPU Acceleration Supercharged Milvus Vector Database
26 March 2024, The New Stack

AI-Powered Search Engine With Milvus Vector Database on Vultr
31 January 2024, SitePoint

Milvus 2.4 Unveils Game-Changing Features for Enhanced Vector Search
20 March 2024, GlobeNewswire

Zilliz Unveils Game-Changing Features for Vector Search
22 March 2024, Datanami

IBM watsonx.data’s integrated vector database: unify, prepare, and deliver your data for AI
9 April 2024, IBM

provided by Google News



Share this page

Featured Products

RaimaDB logo

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

Neo4j logo

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

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

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

Present your product here