select open change scope Open full search

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

Extensions / Functions and aggregates

cms_topn

Count-min sketch data type and aggregates for approximate frequency and top-N queries

pgext.cloud · Source code · Documentation · Control file

Overview

Packagecms_topn
Version1.0.0
RepositoryUnspecified
Extension typeStandard
Requires CREATE EXTENSIONYes
Requires preloadNo
TrustedNo
RelocatableNo
Stars7
Latest commit2015-12-10
Catalogue updated2026-08-30

Related extensions

See also

alohadb_approxApproximate query processing: HLL, Count-Min Sketch, Top-K
shbfC extension providing Bloom filter, shifting Bloom filter, and count-min sketch PostgreSQL data types and functions.
probabilistic_counterA C data type and aggregates for approximate distinct counting using the Flajolet-Martin probabilistic counting algorithm.
hlltype for storing hyperloglog data
pbloompgportable bloom filter, create, serialize, query across Go, Rust, Postgres
pg_probProbabilistic data types for PostgreSQL - Monte Carlo simulation in SQL
pghllProvides HyperLogLog decode, cardinality, merge, and aggregate functions compatible with Java stream-lib counters.