Software:Apache IoTDB

From HandWiki
Apache IoTDB
Apache IoTDB Logo.svg
Developer(s)Apache Software Foundation
Stable release
0.13.3 / 21 October 2022
Repositorygithub.com/apache/iotdb
Written inJava
PlatformCross-platform
Type
LicenseApache License 2.0
Websiteiotdb.apache.org

History

Apache IoTDB is a project initiated by Prof. Jianmin Wang's team in the School of Software at Tsinghua University.[1] In 2011, the team chose to use open source NoSQL technology instead of Oracle for a project with mass machine data management, and noticed the insufficiency of NoSQL in the industrial internet of things (IIoT) scenarios. The team started to develop a data management system and formally proposed TsFile,[2] an optimized columnar compact file storage format for time series data, in March 2016. The source code was then opened on GitHub.

In June 2016, based on TsFile, the team began to develop IoTDB, an IIoT database supporting real-time reading & writing and analysis.

In November 2018, the project IoTDB entered incubator at the Apache Software Foundation (ASF).[3]

On September 16, 2020, the ASF officially issued a resolution to promote Apache IoTDB to the global Top-Level Project (TLP) following a public discussion vote by the community and a show of hands vote by the board.[1]

Architecture

The Architecture of Apache IoTDB

The complete storage system of Apache IoTDB follows a client-server architecture, including IoTDB engine (server) and several components as IoTDB suite (client). IoTDB suite can provide a series of functions in the real situation such as data collection, data writing, data storage, data query, data visualization and data analysis. This allows data collected by the sensor to constantly persist in server, where the data can then be used for native query or shipped to other open-source platforms for data analysis. In particular, IoTDB provides a mode called "Edge-Cloud Cooperation", which can synchronize data collected at every user-configured interval from one IoTDB instance to another using Sync Tool.[4][5]

Users can use JDBC to write time series data to local/remote IoTDB. This time series data may represent system state data (such as server load and CPU memory, etc.), message queue data, time series data from applications, or other time series data in the database. The data can be directly written to TsFile locally or on Hadoop Distributed File System (HDFS).

TsFile is a column storage file format developed for accessing, compressing and storing time series data in Apache IoTDB. Its structure is based on LSM-Tree, which reduces the computational resources and optimizes the performance of Apache IoTDB.[2]

TsFile could be written to the HDFS, thereby implementing data processing tasks such as abnormality detection and machine learning on the Hadoop or Spark data processing platform.

For the data written to HDFS or local TsFile, users can use TsFile-Hadoop-Connector or TsFile-Spark-Connector to allow Hadoop or Spark to process data. The results of the analysis can be written back to TsFile in the same way. Also, IoTDB and TsFile provide client tools to meet the various needs of users in writing and viewing data in SQL form, script form and graphical form.[6][7][8][9][10][11]

Features

Flexible and cross-platform deployment

IoTDB is designed to fit three deployment scenarios: 1) file-based storage or embedded time-series database on edge appliance like Raspberry Pi, 2) standalone TSDB on Industrial PC and 3) distributed TSDB or Hadoop cluster with TsFile. IoTDB provides users a one-click installation tool on the cloud, once-decompressed-used terminal tool and the bridging tool between cloud platforms and terminal tools (Data Synchronization Tool).[6][4]

Low storage cost

IoTDB can reach a high compression ratio of disk storage, which means IoTDB can store the same amount of data with less hardware disk cost.[6][2][12]

Efficient directory structure

IoTDB supports efficient organization of complex time-series data structures from intelligent networking devices, organization of time-series data from devices of the same type, fuzzy searching strategy for massive and complex directory of time-series data.[1][6][2]

High-throughput read and write

IoTDB supports millions of low-power devices' strong connection data access, high-speed data read and write for intelligent networking devices and mixed devices mentioned above. Currently, IoTDB supports the ingestion rate of up to 30 million data points per second on a single node.[1][6][12]

Rich query semantics

IoTDB supports time alignment for timeseries data across devices and sensors, computation in timeseries field (frequency domain transformation) and rich aggregation function support in time dimension.[6][12]

Easy to get started

IoTDB supports SQL-Like language, JDBC standard API and import/export tools which are easy to use.[1][6][12]

Intense integration with open source ecosystem

IoTDB supports Hadoop, Spark, etc. analysis ecosystems and Grafana visualization tool.[1][6]

Licensing

The Apache 2.0 License is a permissive free software license written by the Apache Software Foundation. It allows end users to modify parts of the original code as long as it contains the appropriate documentation that Apache requires within the redistributed code.[13]


References

  1. 1.0 1.1 1.2 1.3 1.4 1.5 Cite error: Invalid <ref> tag; no text was provided for refs named :03
  2. 2.0 2.1 2.2 2.3 Hou, Haonan (14 March 2022). "TsFile Format". https://cwiki.apache.org/confluence/display/IOTDB/TsFile+Format. 
  3. "Apache IoTDB Project Incubation Status". https://incubator.apache.org/projects/iotdb.html. 
  4. 4.0 4.1 "IoTDB User Guide: System Architecture". https://iotdb.apache.org/UserGuide/Master/IoTDB-Introduction/Architecture.html. 
  5. "Apache IoTDB". https://dbdb.io/db/iotdb. 
  6. 6.0 6.1 6.2 6.3 6.4 6.5 6.6 6.7 Cite error: Invalid <ref> tag; no text was provided for refs named :1
  7. Huang, Xiangdong; Wang, Jianmin; Wong, Raymond; Zhang, Jinrui; Wang, Chen (2016-10-24). "PISA: An Index for Aggregating Big Time Series Data". Proceedings of the 25th ACM International on Conference on Information and Knowledge Management. CIKM '16 (New York, NY, USA: Association for Computing Machinery): 979–988. doi:10.1145/2983323.2983775. ISBN 978-1-4503-4073-1. https://doi.org/10.1145/2983323.2983775. 
  8. Kang, Rong; Wang, Chen; Wang, Peng; Ding, Yuting; Wang, Jianmin (2018). Cai, Yi; Ishikawa, Yoshiharu; Xu, Jianliang. eds. "Matching Consecutive Subpatterns over Streaming Time Series" (in en). Web and Big Data (Cham: Springer International Publishing): 90–105. doi:10.1007/978-3-319-96893-3_8. ISBN 978-3-319-96893-3. https://link.springer.com/chapter/10.1007/978-3-319-96893-3_8. 
  9. Wu, Jiaye; Wang, Peng; Pan, Ningting; Wang, Chen; Wang, Wei; Wang, Jianmin (2019). "KV-match: A Subsequence Matching Approach Supporting Normalization and Time Warping [Extended Version"]. 2019 IEEE 35th International Conference on Data Engineering (ICDE): 866–877. doi:10.1109/ICDE.2019.00082. http://arxiv.org/abs/1710.00560. 
  10. Mao, Dongfang; Li, Tianan; Huang, Xiangdong; Yuan, Jun; Xu, Yi; Wang, Jianmin (27 April 2020). "The design of Apache IoTDB distributed framework". National Database Conference. doi:10.1360/SSI-2019-0189. https://www.researchgate.net/publication/341048663_The_design_of_Apache_IoTDB_distributed_framework. 
  11. Qiao, Jialin; Huang, Xiangdong; Wang, Jianmin; Wong, Raymond K. (2020-01-01). "Dual-PISA: An index for aggregation operations on time series data" (in en). Information Systems 87: 101427. doi:10.1016/j.is.2019.101427. ISSN 0306-4379. https://www.sciencedirect.com/science/article/pii/S0306437918305489. 
  12. 12.0 12.1 12.2 12.3 "IoTDB User Guide: Features". https://iotdb.apache.org/UserGuide/Master/IoTDB-Introduction/Features.html. 
  13. "Apache License, version 2.0". https://www.apache.org/licenses/LICENSE-2.0.