Note: Order statistics and estimating cardinalities of massive data sets

  • Authors:
  • Frédéric Giroire

  • Affiliations:
  • ALGO project, INRIA Rocquencourt, B.P. 105, 78153 Le Chesnay Cedex, France and MASCOTTE, joint project CNRS-INRIA-UNSA, 2004 Routes des Lucioles, BP 93, F-06902, France

  • Venue:
  • Discrete Applied Mathematics
  • Year:
  • 2009

Quantified Score

Hi-index 0.05

Visualization

Abstract

A new class of algorithms to estimate the cardinality of very large multisets using constant memory and doing only one pass on the data is introduced here. It is based on order statistics rather than on bit patterns in binary representations of numbers. Three families of estimators are analyzed. They attain a standard error of 1M using M units of storage, which places them in the same class as the best known algorithms so far. The algorithms have a very simple internal loop, which gives them an advantage in terms of processing speed. For instance, a memory of only 12 kB and only few seconds are sufficient to process a multiset with several million elements and to build an estimate with accuracy of order 2 percent. The algorithms are validated both by mathematical analysis and by experimentations on real internet traffic.