Skip to main content
QUICK REVIEW

[Paper Review] Benchmarking Time Series Databases with IoTDB-Benchmark for IoT Scenarios

Rui Liu, Jun Yuan|arXiv (Cornell University)|Jan 24, 2019
Time Series Analysis and ForecastingComputer Science12 citations
TL;DR

This paper presents IoTDB-Benchmark, a standardized framework for evaluating time series databases (TSDBs) in IoT scenarios, supporting diverse data distributions, out-of-order and batch ingestion, and system resource monitoring. It evaluates InfluxDB, OpenTSDB, KairosDB, and TimescaleDB, showing InfluxDB leads in query performance, while system resource usage is also measured for comprehensive analysis.

ABSTRACT

With the wide application of time series databases (TSDBs) in big data fields like cluster monitoring and industrial IoT, there have been developed a number of TSDBs for time series data management. Different TSDBs have test reports comparing themselves with other databases to show their advantages, but the comparisons are typically based on their own tools without using a common well-recognized test framework. To the best of our knowledge, there is no mature TSDB benchmark either. With the goal of establishing a standard of evaluating TSDB systems, we present the IoTDB-Benchmark framework, specifically designed for TSDB and IoT application scenarios. We pay close attention to some special data ingestion scenarios and summarize 10 basic queries types. We use this benchmark to compare four TSDB systems: InfluxDB, OpenTSDB, KairosDB and TimescaleDB. Our benchmark framework/tool not only measures performance metrics but also takes system resource consumption into consideration.

Motivation & Objective

  • To address the lack of a standardized, widely recognized benchmark for time series databases (TSDBs) in IoT applications.
  • To design a benchmark that supports realistic, diverse workloads including out-of-order data ingestion and irregular time series distributions.
  • To incorporate system resource consumption (CPU, memory, disk) into performance evaluation for holistic system analysis.
  • To provide a reusable, configurable benchmark tool that records test configurations, results, and system metrics for reproducibility and further analysis.
  • To enable fair, repeatable, and comprehensive performance comparison across multiple TSDBs under real-world IoT workloads.

Proposed method

  • Designing a benchmark framework with configurable data distributions (e.g., sine, square, sawtooth waves with Gaussian noise) to reflect real-world time series diversity.
  • Implementing a data generator that supports both in-order and out-of-order batch data ingestion to simulate industrial IoT data patterns.
  • Defining 10 basic query types covering time-range, aggregation, and down-sampling operations relevant to IoT workloads.
  • Extending the benchmark tool to collect and persist system resource metrics (CPU, memory, disk) during test execution for performance and efficiency analysis.
  • Using a relational database to manage benchmark configuration, test results, and system metrics for traceability and advanced analysis.
  • Applying the framework to evaluate four TSDBs—InfluxDB, OpenTSDB, KairosDB, and TimescaleDB—under varied workloads and data distributions.

Experimental results

Research questions

  • RQ1How do different TSDBs perform under diverse time series data distributions, such as periodic, irregular, or noisy signals?
  • RQ2What is the performance difference between in-order and out-of-order data ingestion workloads in TSDBs?
  • RQ3How do system resource consumption (CPU, memory, disk) vary across TSDBs under the same workload and data volume?
  • RQ4Which TSDB demonstrates the best overall performance across ingestion and query workloads in industrial IoT scenarios?
  • RQ5Can a unified benchmark framework effectively support complex, mixed workloads and provide reproducible, analyzable results?

Key findings

  • InfluxDB outperforms OpenTSDB, KairosDB, and TimescaleDB in most query workloads, especially for aggregation and down-sampling operations.
  • OpenTSDB and TimescaleDB show comparable performance in many query scenarios, though both lag behind InfluxDB in speed.
  • KairosDB performs poorly in most query types except time-range queries, indicating potential inefficiencies in its query execution engine.
  • System resource monitoring reveals that InfluxDB maintains a CPU usage of around 6% and high disk usage during a 1-million-series test, indicating stable but resource-intensive operation.
  • The benchmark tool successfully captures and persists test configurations, performance metrics, and system resource data, enabling traceable and analyzable evaluation.
  • The framework demonstrates the feasibility of using a relational database to manage benchmark metadata, enhancing reproducibility and long-term analysis.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.