Academia
Diploma thesis 2023Software EngineeringBig Data · časovne vrste · NoSQL

Comparison of Time-Series Databases: NoSQL InfluxDB and SQL TimescaleDB

In the last decade, numerous time-series databases have emerged, using different technologies and approaches.

Gregor JavorRačunalništvo in informatika · module Programsko inženirstvo · supervisor mag. Ervin Schaff · defence december 2023
In brief

The project in five facts.

AuthorGregor Javor
Supervisormag. Ervin Schaff
ModuleSoftware EngineeringComputer Science and Informatics
Employer / clientAcademia
Year2023december 2023
About the project

Challenge, approach and results.

In the last decade, numerous time-series databases have emerged, using different technologies and approaches. The focus will be on two popular databases, namely NoSQL ** InfluxDB** and ** SQL** ** TimescaleDB**. When testing different time intervals, TimescaleDB consistently demonstrated faster response times. Nevertheless, TimescaleDB showed greater variability in response times, as evidenced by a higher standard deviation compared to InfluxDB.

Problem

In the last decade, numerous time-series databases have emerged, using different technologies and approaches. The focus will be on two popular databases, namely NoSQL ** InfluxDB** and ** SQL** ** TimescaleDB. The main objective was to understand their performance, behaviour and scalability, particularly in the context of ** Big Data.

For data writing, TimescaleDB clearly prevailed with faster response times, which is crucial for real-time applications. However, data reading was more complex. InfluxDB achieved very high response times in some cases, particularly with larger data sets, whilst being extremely efficient with smaller data sets.

Results

When testing different time intervals, TimescaleDB consistently demonstrated faster response times. Nevertheless, TimescaleDB showed greater variability in response times, as evidenced by a higher standard deviation compared to InfluxDB. Both databases showed exceptional reliability with 0% errors throughout all tests.

When examining scaling options, InfluxDB consistently achieved faster response times than TimescaleDB in all tests. At the same time, TimescaleDB showed a high error rate with a larger number of users, which is concerning. In terms of support, both databases are robust solutions with extensive support.

InfluxDB boasts an integrated ecosystem, whilst TimescaleDB combines the power of a relational database management system with time-series functionality. Regarding installation, InfluxDB may be somewhat easier to install as a "plug-and-play" solution, whilst TimescaleDB requires an additional step of installing PostgreSQL. The choice between InfluxDB and TimescaleDB depends on specific needs and usage circumstances.

Both databases have their advantages and disadvantages, so it is crucial that users or organisations carefully consider their needs before choosing one or the other.

Nadzorna plošča s časovnimi podatki in grafi
Diploma thesis

Full text

PDF of the diploma thesis (public).

Diploma thesis (PDF) ↓
Related

Module, programme and stories.

Module Programsko inženirstvo

Your diploma project for a real company.

A diploma thesis at Academia solves a challenge from a company – often the one where you do your 800 hours of placement. Read about the Programsko inženirstvo module or book a consultation.

800 hoursof placement in a company
97 %of graduates employed
Module Programsko inženirstvo →Apply 2027/28All diploma projects
Before you go

We will send you the curriculum, the study path and your funding and scholarship options.

No calls, no spam. One e-mail with everything you need to decide, and an invitation to a lecture.

By sending the form you agree that Academia may contact you by e-mail or phone. Privacy · unsubscribe at any time.