
QuestDB is an open-source time-series database built for high-throughput ingestion and real-time analytics. It uses a columnar storage model with SIMD-optimized queries and supports standard SQL with time-series extensions. The database is written in Java with performance-critical paths in C++.
QuestDB ingests time-series data through multiple protocols including InfluxDB line protocol, PostgreSQL wire protocol, and a REST API. It stores data in a columnar format optimized for time-range queries and aggregation. The query engine supports standard SQL with extensions for time-series operations like SAMPLE BY for downsampling and LATEST ON for last-value queries.
QuestDB runs as a single binary with no external dependencies. Deployment options include Docker containers, Kubernetes, cloud instances, or bare metal. The database supports replication for high availability in the enterprise edition.
Mosquitto publishes MQTT messages that can be ingested into QuestDB via the InfluxDB line protocol. This combination forms part of the MING stack for industrial IoT data collection and storage.
QuestDB serves as the time-series data store for Node-RED flows in IIoT deployments. Node-RED handles data collection and transformation, while QuestDB provides high-performance storage and SQL analytics.