Specialized database that efficiently stores and retrieves time-stamped data
Data & Inverted Index
How it works for time series
LLVM-like Infrastructure for Databases
SELECT
time_bucket(`timestamp`, 'PT1M') AS `timestamp`,
SUM(`value`) AS `value_sum`
FROM
`table`
WHERE
`timestamp` >= '2023-12-15 07:17:00'
AND `timestamp` < '2023-12-14 08:17:00'
AND ((`col2` IN ('T')))
GROUP BY
time_bucket (`timestamp`, 'PT1M')
LSM-like engine
Partitioned tables to solve single-table bottlenecks:
Open as a "normal" table
(Single point hotspot)
Open as a "virtual" table
pub enum AggregateMode {
/// Partial aggregate that can be applied in parallel across input partitions
Partial,
/// Final aggregate that produces a single partition of output
Final,
....
}