Count(distinct) Is Too Slow: Approximations and Sampling in Postgres | Dark Hacker News