## Abstract

Massive data streams are now fundamental to many data processing applications. For example, Internet routers produce large scale diagnostic data streams. Such streams are rarely stored in traditional databases and instead must be processed "on the fly" as they are produced. Similarly, sensor networks produce multiple data streams of observations from their sensors. There is growing focus on manipulating data streams and, hence, there is a need to identify basic operations of interest in managing data streams, and to support them efficiently. We propose computation of the Hamming norm as a basic operation of interest. The Hamming norm formalizes ideas that are used throughout data processing. When applied to a single stream, the Hamming norm gives the number of distinct items that are present in that data stream, which is a statistic of great interest in databases. When applied to a pair of streams, the Hamming norm gives an important measure of (dis)similarity: the number of unequal item counts in the two streams. Hamming norms have many uses in comparing data streams. We present a novel approximation technique for estimating the Hamming norm for massive data streams; this relies on what we call the "l_{0} sketch" and we prove its accuracy. We test our approximation method on a large quantity of synthetic and real stream data, and show that the estimation is accurate to within a few percentage points.

Original language | English (US) |
---|---|

Pages (from-to) | 529-540 |

Number of pages | 12 |

Journal | IEEE Transactions on Knowledge and Data Engineering |

Volume | 15 |

Issue number | 3 |

DOIs | |

State | Published - May 2003 |

## Keywords

- Approximate query processing
- Data reduction
- Data stream analysis
- Data structures and algorithms

## ASJC Scopus subject areas

- Information Systems
- Computer Science Applications
- Computational Theory and Mathematics