dcount, dcountif
The dcount()
aggregation function is primarily useful for estimating the cardinality of huge sets
Estimation accuracy
The dcount()
aggregate function uses a variant of the HyperLogLog (HLL) algorithm, which does a stochastic estimation of set cardinality. The algorithm provides a "knob" that can be used to balance accuracy and execution time per memory size:
dcountif
Last updated