Home / Companies / QuestDB / Blog / Post Details
Content Deep Dive

SQL Extensions for Time Series Data in QuestDB - Part II

Blog post from QuestDB

Post Details
Company
Date Published
Author
Kovid Rathee
Word Count
1,593
Language
English
Hacker News Points
-
Summary

QuestDB, an open-source time-series database, is designed for high-performance workloads and supports SQL and Parquet, ensuring data portability and AI readiness. This tutorial focuses on the SAMPLE BY SQL extension, which simplifies the grouping and aggregation of time-series data by designated timestamps, eliminating the need for complex SQL statements. By using SAMPLE BY, users can efficiently handle issues like missing data, incorrect time zones, and offsets. The extension allows for aggregation across various time units, from microseconds to years, and supports filling missing data through linear interpolation or other methods. Additionally, SAMPLE BY helps align timestamps to different time zones or offsets, enhancing data consistency across diverse systems. The tutorial provides practical examples using NYC taxi rides data from February 2018, demonstrating how to implement these features in QuestDB for efficient time-series data analysis.