Self-host Apache IoTDB
v2.0.11Industrial IoT time-series database with edge-cloud sync
- Stars
- 6 436
- Ports
- 10710 (ConfigNode internal port), 10720 (ConfigNode consensus port), 10730 (DataNode internal port), 10740 (DataNode MPP data exchange port), 10750 (DataNode schema region consensus port), 10760 (DataNode data region consensus port)
- Requires
- Java Runtime
apache/iotdbWhat is Apache IoTDB?
Apache IoTDB is a time-series database management system designed for industrial IoT scenarios. It provides high-throughput data ingestion and low-latency queries for millions of devices, with a lightweight architecture supporting edge-cloud collaboration. Key capabilities include a flexible deployment model (standalone, cluster, or edge), a high compression ratio reducing storage costs, SQL-like query language with JDBC support, time alignment and aggregation functions across devices, and native integration with the Hadoop, Spark, and Flink ecosystems plus Grafana visualization. It runs on Linux, Windows, and macOS with Java 17+, and can be deployed via binary packages, Docker, or built from source. The project is a top-level Apache project with active development and a growing community.
Apache IoTDB alternatives
ThingsboardSelf-hosted source-available IoT platform for device management, data processing, and visualization with rule engine and multi-protocol support.CompareThingsboard with Apache IoTDB
influxdbOpen-source, single-node time series database you self-host for real-time metrics and events, querying Parquet-backed data with SQL or InfluxQL.Compareinfluxdb with Apache IoTDB
questdbSelf-hosted, open-source time-series database with SAMPLE BY and ASOF join SQL, QuestDB Wire Protocol ingestion, PGWire support and a web console.Comparequestdb with Apache IoTDB
Apache DruidApache Druid: a high performance real-time analytics database.CompareApache Druid with Apache IoTDB
nanotdbNanoTDB is a self-hosted, open-source TSDB that runs as a single binary with built-in dashboard, editor, Explore view, and offline CLI for Raspberry Pi and edge devices.Comparenanotdb with Apache IoTDB
simple-iotSelf-hosted IoT platform for device management, telemetry, visual rule chains, and alarms — single Spring Boot binary with built-in MQTT broker and Vue 3 console.Comparesimple-iot with Apache IoTDB
DruidSelf-hosted open-source OLAP database delivering millisecond analytics on high-cardinality event data, with SQL, JDBC, a web console and native Kafka/Kinesis ingestion.CompareDruid with Apache IoTDB
Apache PinotOpen-source distributed OLAP database for user-facing apps and AI agents. Provides sub-second queries on fresh streaming data with high concurrency.CompareApache Pinot with Apache IoTDB
Should you self-host Apache IoTDB?
Apache IoTDB scores 69/100 on selfhost.directory (how scoring works) and ranks #16 of 38 in Databases. It has 6 436 GitHub stars, +11 in the last 30 days.
It shipped 7 stable releases in the past year. The latest, v2.0.11, came out on 13 September 2026. New versions land roughly every 5 weeks.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Java.
Its closest alternative on selfhost.directory is Redis (86/100, 77 490 stars). It scores higher overall, so compare the two before you pick. See Apache IoTDB vs Redis side by side.
Features
- Built-in Authentication
- Cluster mode with ConfigNode/DataNode
- CSV import/export tools
- Edge-cloud synchronization
- Flexible Deployment Modes
- Grafana visualization
- Hadoop/Spark/Flink integration
- High compression ratio
- High-throughput read/write
- JDBC standard API
- Multi-Platform Support
- SQL-like query language
- Time alignment and aggregation
- Time-series data storage
Apache IoTDB README
IoTDB (Internet of Things Database) is a data management system for time series data, which provides users with specific services, including data collection, storage and analysis. Due to its lightweight structure, high performance and usable features, together with its seamless integration with the Hadoop and Spark ecosystem, IoTDB meets the requirements of massive dataset storage, high throughput data input, and complex data analysis in the industrial IoT field.
FAQ
How to resolve lsof issues in IoTDB deployment?
Install the correct lsof RPM package for your OS version, verify with 'lsof -v', create a symlink to /bin/lsof if needed, and ensure the version is compatible.
How to deal with estimated out of memory errors?
Increase heap memory above 4.2GB, adjust datanode_memory_proportion and chunk_timeseriesmeta_free_memory_proportion parameters, reduce exported time series, add slimit to queries, or use 'align by device'.
How can I change IoTDB's CLI time display format?
Add the -disableISO8601 parameter to the start-cli command to display timestamps instead of ISO8601 format.
How does IoTDB handle duplicate points?
A data point is uniquely identified by its full time series path and timestamp. Submitting a new point with the same path and timestamp updates the existing value instead of inserting a duplicate.
Can I use Hadoop and Spark to read TsFile in IoTDB?
Yes, IoTDB has connectors for Hadoop, Spark, and Grafana visualization.
How do I know how many time series are stored in IoTDB?
Use 'show timeseries root' or 'count timeseries root' in the CLI, or grep the schema mlog.txt file on Linux.
Where can I find IoTDB data files?
By default, data files (including tsfile, metadata, and WAL files) are stored under IOTDB_HOME/data/datanode.
Where can I find IoTDB logs?
By default, logs are stored under IOTDB_HOME/logs. You can change the log level and storage path by configuring logback.xml under IOTDB_HOME/conf.
How can I identify my version of IoTDB?
Launch the CLI with start-cli.sh, check pom.xml, use JDBC API getDatabaseProductVersion(), or run 'show version' in the CLI.
More in Databases
arangodbSelf-hosted multi-model database for documents, graphs and key-values, queried in one AQL language; the open-source Community edition is free for non-commercial use.
autobaseOpen-source MIT DBaaS for PostgreSQL: Patroni-based HA clusters, backups, failover and upgrades driven from a web console, Ansible collection or GitOps.
brain-dbSelf-hosted memory database for AI agents with fused semantic, lexical, graph, and temporal retrieval. Single Rust core, binary wire protocol, Apache-2.0.
chromaOpen-source vector database for AI retrieval: dense, sparse, full-text, regex and metadata search. Self-host it with pip, the chroma CLI, or Docker on port 8000.
CondensationAn open-source distributed data system for app builders: conflict-free sync, end-to-end encryption and self-hosted store servers on a file system or MySQL.
CondensationDBAn open-source distributed data system: build apps with its client libraries and run a self-hosted store server, with semilattice merging and end-to-end encryption.
convexThe open-source reactive database for app developers
cratedbA self-hosted, open-source distributed SQL database with PostgreSQL wire protocol support, for real-time analytics over time-series, full-text and vector data.
databasementDatabasement is a self-hosted, open-source database backup manager: register MySQL, PostgreSQL, MongoDB, Redis and more, schedule backups, and restore.
dgraphA horizontally scalable GraphQL database for self-hosted terabyte-scale data. Native GraphQL API with ACID transactions, full-text search, deployed via Docker or source.
docker-postgisOfficial Docker images for PostgreSQL with PostGIS spatial extensions. Debian and Alpine variants for PostgreSQL 14-18 with PostGIS 3.6. Self-hosted, open-source.
DocumentDBSelf-hosted, open-source MongoDB-compatible document database built on PostgreSQL with native BSON, vector search, and SCRAM authentication.
0 comments