Fixed-precision approximate continuous aggregate queries in peer-to-peer databases

Banaei-Kashani, Farnoush and Shahabi, Cyrus (2010) Fixed-precision approximate continuous aggregate queries in peer-to-peer databases. In: 6th International ICST Conference on Collaborative Computing: Networking, Applications, Worksharing.

[thumbnail of 13111.pdf] PDF
13111.pdf

Download (1MB)

Abstract

In this paper, we propose an efficient sample-based approach to answer fixed-precision approximate continuous aggregate queries in peer-to-peer databases. First, we define practical semantics to formulate fixed-precision approximate continuous aggregate queries. Second, we propose "Digest", a two-tier system for correct and efficient query answering by sampling. At the top tier, we develop a query evaluation engine that uses the samples collected from the peer-to-peer database to continually estimate the running result of the approximate continuous aggregate query with guaranteed precision. For efficient query evaluation, we propose an extrapolation algorithm that predicts the evolution of the running result and adapts the frequency of the continual sampling occasions accordingly to avoid redundant samples. We also introduce a repeated sampling algorithm that draws on the correlation between the samples at successive sampling occasions and exploits linear regression to minimize the number of the samples derived at each occasion. At the bottom tier, we introduce a distributed sampling algorithm for random sampling (uniform and nonuniform) from peer-to-peer databases with arbitrary network topology and tuple distribution. Our sampling algorithm is based on the Metropolis Markov Chain Monte Carlo method that guarantees randomness of the sample with arbitrary small variation difference with the desired distribution, while it is comparable to optimal sampling in sampling cost/time. We evaluate the efficiency of Digest via simulation using real data.

Item Type: Conference or Workshop Item (UNSPECIFIED)
Uncontrolled Keywords: Histograms, Meteorology, Peer to peer computing, Query processing
Date Deposited: 04 Mar 2026 09:15
Last Modified: 03 Dec 2026 09:49
URI: https://eprints.eai.eu/id/eprint/4759

Actions (login required)

View Item
View Item