Issue No.06 - June (2012 vol.24)
Rajeev Gupta , IBM Research, New Delhi
Krithi Ramamritham , Indian Institute of Technology (IIT) Bombay, Mumbai
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/TKDE.2011.12
Continuous queries are used to monitor changes to time varying data and to provide results useful for online decision making. Typically a user desires to obtain the value of some aggregation function over distributed data items, for example, to know value of portfolio for a client; or the AVG of temperatures sensed by a set of sensors. In these queries a client specifies a coherency requirement as part of the query. We present a low-cost, scalable technique to answer continuous aggregation queries using a network of aggregators of dynamic data items. In such a network of data aggregators, each data aggregator serves a set of data items at specific coherencies. Just as various fragments of a dynamic webpage are served by one or more nodes of a content distribution network, our technique involves decomposing a client query into subqueries and executing subqueries on judiciously chosen data aggregators with their individual subquery incoherency bounds. We provide a technique for getting the optimal set of subqueries with their incoherency bounds which satisfies client query's coherency requirement with least number of refresh messages sent from aggregators to the client. For estimating the number of refresh messages, we build a query cost model which can be used to estimate the number of messages required to satisfy the client specified incoherency bound. Performance results using real-world traces show that our cost-based query planning leads to queries being executed using less than one third the number of messages required by existing schemes.
Algorithms, continuous queries, distributed query processing, data dissemination, coherency, performance.
Rajeev Gupta, Krithi Ramamritham, "Query Planning for Continuous Aggregation Queries over a Network of Data Aggregators", IEEE Transactions on Knowledge & Data Engineering, vol.24, no. 6, pp. 1065-1079, June 2012, doi:10.1109/TKDE.2011.12