{"adoption": {"forks": 115, "observed_at": "2026-08-28T04:04:03.431220+00:00", "stars": 1228}, "canonical_url": "https://ross.abutalabs.com/products/postgresql-hll", "card": {"archived": false, "artifact_type": "library", "description": "PostgreSQL extension adding HyperLogLog data structures as a native data type ", "domain": ["databases", "analytics", "big-data"], "enriched": true, "function": ["database", "data-science", "analytics"], "health_score": 91, "homepage": "http://blog.aggregateknowledge.com/2013/02/04/open-source-release-postgresql-hll/", "language": "C", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["citusdata/postgresql-hll"], "name": "citusdata/postgresql-hll", "platform": ["self-hosted"], "pushed_at": "2026-06-02T09:04:51+00:00", "repo": "citusdata/postgresql-hll", "stars": 1228, "tags": ["postgresql-extension", "hyperloglog", "sketching", "distinct-count", "probabilistic-data-structures", "approximate-counting", "linux", "macos", "docker"], "topics": [], "urls": [], "use_cases": ["count distinct values in postgres with low memory", "estimate unique visitors per day in sql", "compute approximate cardinality of billions of values", "run fast distinct count aggregations in analytics queries", "store probabilistic sets as a postgres column type", "merge hll sketches across distributed postgres nodes"], "what_it_is": "A PostgreSQL extension that adds HyperLogLog as a native data type for approximate distinct value counting with tunable precision. It uses a hierarchy of algorithms (EMPTY, EXPLICIT, SPARSE, FULL) to improve accuracy and memory efficiency over the original HLL paper.", "when_to_avoid": ["you need exact distinct counts rather than estimates", "you are not using PostgreSQL or a compatible database", "your cardinalities are small enough that plain COUNT(DISTINCT) is fast enough"], "when_to_choose": ["you need approximate distinct counts at massive scale with tiny fixed memory footprint", "you want to aggregate and merge cardinality sketches directly in SQL", "you need tunable precision trading accuracy for storage in Postgres"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/postgresql-hll", "repo": "citusdata/postgresql-hll", "role": "main", "score": 83}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.431220+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:15:10.130333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9bf8b47aa526eecc6c5b22d9eb7d3887bed0f81b71f7beba8a42f7cc182a425e", "fetched_at": "2026-08-28T04:04:03.431220+00:00", "kind": "readme", "missing": false, "url": "https://github.com/citusdata/postgresql-hll"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.431220+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:15:10.130333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9bf8b47aa526eecc6c5b22d9eb7d3887bed0f81b71f7beba8a42f7cc182a425e", "fetched_at": "2026-08-28T04:04:03.431220+00:00", "kind": "readme", "missing": false, "url": "https://github.com/citusdata/postgresql-hll"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:15:10.130333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9bf8b47aa526eecc6c5b22d9eb7d3887bed0f81b71f7beba8a42f7cc182a425e", "fetched_at": "2026-08-28T04:04:03.431220+00:00", "kind": "readme", "missing": false, "url": "https://github.com/citusdata/postgresql-hll"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.431220+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.431220+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.431220+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:15:10.130333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9bf8b47aa526eecc6c5b22d9eb7d3887bed0f81b71f7beba8a42f7cc182a425e", "fetched_at": "2026-08-28T04:04:03.431220+00:00", "kind": "readme", "missing": false, "url": "https://github.com/citusdata/postgresql-hll"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.431220+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.431220+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:15:10.130333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9bf8b47aa526eecc6c5b22d9eb7d3887bed0f81b71f7beba8a42f7cc182a425e", "fetched_at": "2026-08-28T04:04:03.431220+00:00", "kind": "readme", "missing": false, "url": "https://github.com/citusdata/postgresql-hll"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.431220+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.431220+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.431220+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:15:10.130333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9bf8b47aa526eecc6c5b22d9eb7d3887bed0f81b71f7beba8a42f7cc182a425e", "fetched_at": "2026-08-28T04:04:03.431220+00:00", "kind": "readme", "missing": false, "url": "https://github.com/citusdata/postgresql-hll"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.431220+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.431220+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:15:10.130333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9bf8b47aa526eecc6c5b22d9eb7d3887bed0f81b71f7beba8a42f7cc182a425e", "fetched_at": "2026-08-28T04:04:03.431220+00:00", "kind": "readme", "missing": false, "url": "https://github.com/citusdata/postgresql-hll"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:15:10.130333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9bf8b47aa526eecc6c5b22d9eb7d3887bed0f81b71f7beba8a42f7cc182a425e", "fetched_at": "2026-08-28T04:04:03.431220+00:00", "kind": "readme", "missing": false, "url": "https://github.com/citusdata/postgresql-hll"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:15:10.130333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9bf8b47aa526eecc6c5b22d9eb7d3887bed0f81b71f7beba8a42f7cc182a425e", "fetched_at": "2026-08-28T04:04:03.431220+00:00", "kind": "readme", "missing": false, "url": "https://github.com/citusdata/postgresql-hll"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:15:10.130333+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9bf8b47aa526eecc6c5b22d9eb7d3887bed0f81b71f7beba8a42f7cc182a425e", "fetched_at": "2026-08-28T04:04:03.431220+00:00", "kind": "readme", "missing": false, "url": "https://github.com/citusdata/postgresql-hll"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 85, "longevity": 100, "rhythm": 72}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4958, "days_push": 92, "days_rel": 30, "gap_med": 144.0, "n_releases_24m": 3}, "score": 83, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}