Versions:

Percentile approximation

This section contains functions related to percentile approximation. Approximation algorithms are used to calculate a percentile without requiring all of the data. For more information about percentile approximation functions, see the hyperfunctions documentation.

Some hyperfunctions are included in the default TimescaleDB product. For additional hyperfunctions, you need to install the Timescale Toolkit PostgreSQL extension.

Hyperfunction subfamilyHyperfunction typeAPI callToolkitExperimental
Percentile approximationAggregatepercentile_agg()
Accessorapprox_percentile()
approx_percentile_rank()
error()
max_val()
mean()
min_val()
num_vals()
Rolluprollup()
Advanced aggregationAggregatetdigest()
uddsketch()

Found an issue on this page?

Report an issue!

Related Content