Skip to content
RED SAG Skills
hardStudy question · answer published in Data Warehousing interview questions, so no pointssqlperformancewarehousing

Distinct users on billions of rows

A dashboard needs daily unique users across 20 billion events. COUNT(DISTINCT user_id) is slow and costly, and a 1 to 2 percent error is fine. What is the best approach?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions