This release renames the extension to TimescaleDB Toolkit
, starts stabilizing functionality, and includes internal improvements, and new experimental features.
Stabilizes:
- Percentile-approximation algorithms including
percentile_agg()
,uddsketch()
andtdigest()
along with their associated functions. These are especially useful for computing percentiles in continuous aggregates. - Time-weighted average along with it's associated functions. This eases taking the average over an irregularly spaced dataset that only includes changepoints
New Experimental Features:
stats_agg()
eases the analysis of more sophisticated bucketed statistics, such as rolling averages. (Docs are forthcoming, until then fell free to peruse the design discussion doc.timeseries
which will serve as a building block for many pipelines, and unifies the output of lttb and ASAP.
Internal Improvements
- uddsketch's on-disk layout has be reworked to store buckets compressed. This can result in an orders-of-magnitude reduction in it's storage requirements.
- uddsketch's textual format has been reworked to be more readable.
- functions that take in a uddsketch or t-digest have been reworked to be 0-copy when applicable, improving the performance of such functions by 10-100x.