~/talk

Scalable Uniques in Postgres - HyperLogLog

Talkat PostgresOpen 2013 · 2013-09-16..09-18· [databases, data-visualization]
slides:none on file

Shows how the postgresql-hll extension implements HyperLogLog inside Postgres to count uniques, claiming a 280 bytes sketch can estimate tens of billions of distinct values with a few percent error. Describes tuning knobs (log2 m and bits-per-register), automatic switch between explicit and sparse representations, how to insert via functions, and that it was built and used in ad-reporting work with practical accuracy and small storage, though the original product ceased after acquisition.

AI-written summary · about

  1. 0:00Introduction to the problem
  2. 1:32Approximate counting
  3. 3:24Implementation details
  4. 5:49Performance and tuning
  5. 8:26Efficiency and use cases
  6. 10:44Q&A and system capabilities
~/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.