A comparison of in-memory databases in Java application

The performance of an information system is composed by several attributes, including proper database selection. In this article, we compare the performance of different in-memory databases running a Java application in some software test scenarios, to identify the most suitable in-memory database for unit testing and integration testing, considering the metrics: execution time, memory allocation and usage of the central processing unit. For evaluation, four popular in memory databases were selected for this comparison: H2, HSQL, Apache Derby, and SQLite. Choosing in-memory databases was based on its widespread adoption in the Java community. Extensive performance tests and analyzes have been conducted, based on Data Manipulation Language (DML) statements, to provide insights into appropriate choosing of in-memory database on Java application. It was possible to carry out a comprehensive comparative analysis and the results obtained allowed the identification of differences in the performance of each in-memory database.

Authors

Publication Details

Published
2024-12-06
DOI
https://doi.org/10.1109/iciba62489.2024.10868437
Primary Topic
Distributed and Parallel Computing Systems
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A comparison of in-memory databases in Java application

Ricard Marcos, Erick C. Bezerra, Renata Diniz, Lanier Menezes dos Santos et al.
Distributed and Parallel Computing Systems
article

A comparison of in-memory databases in Java application

Ricard Marcos, Erick C. Bezerra, Renata Diniz, Lanier Menezes dos Santos, Raimundo Felix da Rocha
article en

Abstract

The performance of an information system is composed by several attributes, including proper database selection. In this article, we compare the performance of different in-memory databases running a Java application in some software test scenarios, to identify the most suitable in-memory database for unit testing and integration testing, considering the metrics: execution time, memory allocation and usage of the central processing unit. For evaluation, four popular in memory databases were selected for this comparison: H2, HSQL, Apache Derby, and SQLite. Choosing in-memory databases was based on its widespread adoption in the Java community. Extensive performance tests and analyzes have been conducted, based on Data Manipulation Language (DML) statements, to provide insights into appropriate choosing of in-memory database on Java application. It was possible to carry out a comprehensive comparative analysis and the results obtained allowed the identification of differences in the performance of each in-memory database.

Samsung
Openalex Percentile: Top 68%
Distributed and Parallel Computing Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.