Elizabeth Garrett Christensen: Postgres COUNT(DISTINCT) Too Slow? Fast Approximation Guide tech_blogs_planetscale #Databases
Elizabeth Garrett Christensen: Postgres COUNT(DISTINCT) Too Slow? Fast Approximation Guide
Learn how to replace slow Postgres COUNT(DISTINCT) queries using TABLESAMPLE, HyperLogLog, and Apache DataSketches for sub-millisecond analytics.
postgr.es