
Apache IoTDB (Internet of Things Database) is a native time-series database designed specifically for IoT and industrial applications. It provides a complete data management solution including collection, storage, and analysis of time-series data from millions of connected devices.
Apache IoTDB provides high-performance data ingestion, efficient storage with TsFile format, and rich query capabilities for industrial IoT deployments. It supports high-speed write access for millions of low-power devices with lightning-fast read access.
IoTDB uses a distributed architecture with:
# Start standalone instance
sbin/start-standalone.sh
# Connect with CLI
sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root
# Create database
CREATE DATABASE root.ln
# Create time series
CREATE TIMESERIES root.ln.wf01.wt01.temperature WITH DATATYPE=FLOAT, ENCODING=RLE
# Insert data
INSERT INTO root.ln.wf01.wt01(timestamp,temperature) values(100,20.71)
# Query data
SELECT * FROM root.ln.wf01.wt01