EXTRACT(MONTH FROM date) AS month, hll_cardinality(hll_union_agg(users)) FROM daily_uniques WHERE date >= '2012-‐01-‐01' AND date < '2013-‐01-‐01' GROUP BY 1;
EXTRACT(MONTH FROM date) AS month, hll_cardinality(hll_union_agg(users)) FROM daily_uniques WHERE date >= '2012-‐01-‐01' AND date < '2013-‐01-‐01' GROUP BY 1;
• Between 4 and 17 • Each 1 increase doubles storage • regwidth - bits per register • expthresh - threshold for explicit vs sparse • spareson - on/off for sparse