Approximate Distinct Count - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
uce1497542673292.ditamap
dita:ditavalPath
AA-notempfilter_pdf_output.ditaval
dita:id
B700-1022
Product Category
Software

The Approximate Distinct Count function, which is composed of the ApproxDCountReduce and ApproxDCountMap functions, can estimate the number of distinct values (cardinality) in a column or combination of columns, scanning the table only once.

This function is recommended when the column or combination of columns has a large cardinality. The function can estimate the number of distinct values much faster than the SQL SELECT DISTINCT command can return the precise number of distinct values.

When the cardinality is small, the SQL SELECT DISTINCT command is recommended.