Enabling Real-Time Querying of Live and Historical Stream Data

Frederick Reiss, Kurt Stockinger, Kesheng Wu, Arie Shoshani

International Conference on Scientific and Statistical Database Management · 2007 · 62 citations · 27 references

Concepts

TL;DR

Querying data streams to detect trends or anomalies can benefit from comparing live data with archived historical data, but real‑time search of historical data has been considered prohibitively expensive due to high index update costs. In this paper, we address this problem by using our highly‑efficient bitmap indexing technology (FastBit) and demonstrate that the index update operations are sufficiently efficient for this bottleneck to be removed. We describe a prototype system built on the TelegraphCQ streaming query processor combined with FastBit, and present a detailed performance evaluation using a complex query workload on real network traffic data. We demonstrate that our system can simultaneously analyze live streams with high data rates and a large repository of historical stream data.

Abstract

Applications that query data streams in order to identify trends, patterns, or anomalies can often benefit from comparing the live stream data with archived historical stream data. However, searching this historical data in real time has been considered so far to be prohibitively expensive. One of the main bottlenecks is the update costs of the indices over the archived data. In this paper, we address this problem by using our highly-efficient bitmap indexing technology (called FastBit) and demonstrate that the index update operations are sufficiently efficient for this bottleneck to be removed. We describe our prototype system based on the TelegraphCQ streaming query processor and the FastBit bitmap index. We present a detailed performance evaluation of our system using a complex query workload for analyzing real network traffic data. The combined system uses TelegraphCQ to analyze streams of traffic information and FastBit to correlate current behaviors with historical trends. We demonstrate that our system can simultaneously analyze (1) live streams with high data rates and (2) a large repository of historical stream data.

References

27