~/talk

Distributed COUNT(DISTINCT) with HyperLogLog on PostgreSQL

links:none on file
slides:none on file

Shows how to implement approximate distinct counts in PostgreSQL using the HyperLogLog algorithm, and how to make those counts work across a distributed setup. Covers using HyperLogLog data structures (likely via extensions), merging HLL state across nodes, and integrating that into PostgreSQL queries to provide scalable COUNT(DISTINCT) estimates.

AI-written summary · about

  1. 0:00Start
  2. 15:59Error rate of HLL is damn good
  3. 23:32How does HLL work? Stochastic Averaging
  4. 33:50How to merge COUNT(DISTINCT) with HLL
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.