Skip to main content
For additional hyperfunctions, use the TimescaleDB Toolkit Postgres extension.

Samples

Time bucketing with aggregates

Bucket temperature readings into 5-minute intervals and calculate statistics:

Gapfilling missing data

Fill gaps in time-series data using last observation carried forward (LOCF):

Analyzing data distribution

Create a histogram of response times to understand distribution patterns:

Approximate row counting

Get a fast estimate of table size without scanning all data:

Available functions

Time series utilities

Gapfilling

Distribution analysis

Additional hyperfunctions

For advanced time-series analysis including statistical analysis, percentile approximation, state tracking, and more, see the TimescaleDB Toolkit API reference.

Deprecated hyperfunctions