select open change scope Open full search

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

Extensions / Functions and aggregates

hyperloglog_counter

Aggregation functions and data type for distinct estimation based on HyperLogLog.

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

Overview

Packagedistinct_estimators
Version1.2.6
PostgreSQL versions10 · 11 · 12 · 13 · 14 · 15 · 16 · 17 · 18
RepositoryUnspecified
Extension typeStandard
Project statusArchived
Requires CREATE EXTENSIONYes
Requires preloadNo
TrustedNo
RelocatableYes
Stars18
Latest commit2019-11-03
Latest release2015-09-01
Catalogue updated2026-08-30

Related extensions

See also

hlltype for storing hyperloglog data
pghllProvides HyperLogLog decode, cardinality, merge, and aggregate functions compatible with Java stream-lib counters.
argmargmax, argmin, and anyold aggregate functions
pg_probProbabilistic data types for PostgreSQL - Monte Carlo simulation in SQL
count_distinctAn alternative to COUNT(DISTINCT …) aggregate, usable with HashAggregate
kissfftFast-Fourier transformer (fft)
binvecC helper for summing integer bit values into arrays
pg_etagFast ETag generation for rows and result sets using BLAKE2 hashes, with single-input functions and aggregates.
medianMedian aggregate function for input sets
graph_componentCompute graph components

Same project

adaptive_counterAggregation functions and data type for distinct estimation based on adaptive sampling.
bitmap_counterAggregation functions and data type for distinct estimation based on s-bitmap.
loglog_counterAggregation functions and data type for distinct estimation based on LogLog.
pcsa_counterAggregation functions and data type for distinct estimation based on PCSA.
probabilistic_counterA C data type and aggregates for approximate distinct counting using the Flajolet-Martin probabilistic counting algorithm.
superloglog_counterC data type, functions, and aggregates for approximate distinct counting with the SuperLogLog algorithm.