select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Extensions / Functions and aggregates

pghll

Provides HyperLogLog decode, cardinality, merge, and aggregate functions compatible with Java stream-lib counters.

pgext.cloud · Source code · License text · Control file

Overview

Packagepghll
Version1.0
RepositoryUnspecified
Extension typeStandard
Project statusUnmaintained
Requires CREATE EXTENSIONYes
Requires preloadNo
TrustedNo
RelocatableYes
Stars2
Latest commit2013-07-16
Catalogue updated2026-08-30

Related extensions

See also

hlltype for storing hyperloglog data
hyperloglog_counterAggregation functions and data type for distinct estimation based on HyperLogLog.
argmargmax, argmin, and anyold aggregate functions
pg_probProbabilistic data types for PostgreSQL - Monte Carlo simulation in SQL
medianMedian aggregate function for input sets
frkn_avgC aggregate extension providing my_avg for bigint and floating-point inputs.
tdigestProvides tdigest aggregate function.
count_distinctAn alternative to COUNT(DISTINCT …) aggregate, usable with HashAggregate
first_lastAggregate functions to return first or last "n" elements in a group
trimmed_aggregatesC aggregate functions that discard configurable low/high outliers before computing averages, variances, and standard deviations.