Apache IoTDB: A Time Series Database for IoT Applications
Lei Rui,Jiaguang Sun,Jialin Qiao,Shaoxu Song,Tian Jiang,Xiangdong Huang,Haonan Hou,Chen Wang,Jianmin Wang
DOI: https://doi.org/10.1145/3589775
2023-06-13
Abstract:A typical industrial scenario encounters thousands of devices with millions of sensors, consistently generating billions of data points. It poses new requirements of time series data management, not well addressed in existing solutions, including (1) device-defined ever-evolving schema, (2) mostly periodical data collection, (3) strongly correlated series, (4) variously delayed data arrival, and (5) highly concurrent data ingestion. In this paper, we present a time series database management system, Apache IoTDB. It consists of (i) a time series native file format, TsFile, with specially designed data encoding, and (ii) an IoTDB engine for efficiently handling delayed data arrivals and processing queries. The system achieves a throughput of 10 million inserted values per second. Queries such as 1-day data selection of 0.1 million points and 3-year data aggregation over 10 million points can be processed in 100 ms. Comparisons with InfluxDB, TimescaleDB, KairosDB, Parquet and ORC over real world data loads demonstrate the superiority of IoTDB and TsFile.
Computer Science,Engineering,Environmental Science