Fast SQL for time series

QuestDB is the fastest open source time series database

Query our demo dataset with 1.6 billion rows in milliseconds

docker pull questdb/questdb
docker run -p 9000:9000 questdb/questdbDocker logo
Speedometer

Built for performance

SIMD optimised analytics

Rows and columns based access

Vectorized queries execution

Tiny memory footprint

C++ and zero-GC Java

A code editor with a chart that shows the result of the query

Optimized for time series

Relational model for time series

Data stored in chronological order

Time partitioned

Scalable ingestion

Immediate consistency

Fast InfluxDB line protocol

A code editor containing a SQL statement

Implemented with SQL

Time series and relational joins

Postgres wire support

Aggregations and down sampling

Unlimited sub-queries

Built-in SQL optimizer

Augmented SQL for time series

QuestDB enhances ANSI SQL with time series extensions to manipulate time stamped data

SELECT timestamp, tempC
FROM sensors
WHERE timestamp = '2020-06-14;-2d';
-- Search time
SELECT timestamp, tempC
FROM sensors
WHERE timestamp = '2020-06-14;-2d';
SELECT timestamp, avg(tempC)
FROM sensors
SAMPLE BY 5m;
-- Slice time
SELECT timestamp, avg(tempC)
FROM sensors
SAMPLE BY 5m;
SELECT sensorName, tempC
FROM sensors
LATEST BY sensorName;
-- Navigate time
SELECT sensorName, tempC
FROM sensors
LATEST BY sensorName;
SELECT sensors.timestamp ts, rain1H
FROM sensors
ASOF JOIN weather;
-- Merge time
SELECT sensors.timestamp ts, rain1H
FROM sensors
ASOF JOIN weather;

Search Time

Filter and search for specific timestamps with “where”

Slice Time

Create time buckets and aggregate by intervals with “sample by”

Navigate Time

Search time series from most recent values to oldest with “latest by”

Merge Time

Join two tables based on timestamp where timestamps do not exactly match with “asof join”

Why QuestDB?

Why time series?

Interactive Console

Interactive console to import data (drag and drop) and start querying right away. Check our Web Console guide to get started.

Artistic view of QuestDB's Web Console split in 3 components: the navigation tree, the SQL code editor and data displayed as a chart
QuestDB - Fastest open source database for time-series and analytics | Product Hunt Embed