Abstract
A continuous query is a standing query over a dynamic data set whose query result needs to be constantly updated as new data arrive. We consider the problem of constructing a data structure on a set of continuous band-join queries over two data sets R and S, where each band-join query asks for reporting the set { (r,s)∈ R× S | a≤ r–s≤ b} for some parameters a and b, so that given a data update in R or S, one can quickly identify the subset of continuous queries whose results are affected by the update, and compute changes to these results.
We present the first nontrivial data structure for this problem that simultaneously achieves subquadratic space and sublinear query time. This is achieved by first decomposing the original problem into two independent subproblems, and then carefully designing data structures suitable for each case, by exploiting the particular structure in each subproblem.
A key step in the above construction is a data structure whose performance increases with the degree of clusteredness of the band-joins being indexed. We believe that this structure is of independent interest and should have broad impact in practice. We present the details in [1].
Research by P.A. and H.Y. is supported by NSF under grants CCR-00-86013, EIA-01-31905, CCR-02-04118, and DEB-04-25465, by ARO grants W911NF-04-1-0278 and DAAD19-03-1-0352, and by a grant from the U.S.–Israel Binational Science Foundation. Research by J.X. and J.Y. is supported by NSF CAREER award under grant IIS-0238386.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Agarwal, P.K., Xie, J., Yang, J., Yu, H.: Monitoring continuous band-join queries over dynamic data. Technical report, Department of Computer Science, Duke University, Durham, North Carolina, USA (September 2005), Available at http://www.cs.duke.edu/dbgroup/papers/2005-axyy-joinidx.pdf
Bagchi, A., Chaudhary, A., Eppstein, D., Goodrich, M.: Deterministic sampling and range counting in geometry data streams. In: Proc. 20th ACM Sympos. Comput. Geom., pp. 144–151 (2004)
Carney, D., et al.: Monitoring streams: A new class of data management applications. In: Proc. 28th Intl. Conf. on Very Large Data Bases, pp. 215–226 (2002)
Chandrasekaran, S., Franklin, M.J.: Streaming queries over streaming data. In: Proc. 28th Intl. Conf. on Very Large Data Bases, pp. 203–214 (2002)
Chandrasekaran, S., Franklin, M.J.: PSoup: a system for streaming queries over streaming data. The VLDB Journal 12(2), 140–156 (2003)
Chen, J., DeWitt, D.J., Tian, F., Wang, Y.: NiagraCQ: A scalable continuous query system for internet databases. In: Proc. 19th ACM SIGMOD Intl. Conf. on Management of Data, pp. 379–390 (2000)
Chiang, Y.-J., Tamassia, R.: Dynamic algorithms in computational geometry. Computational Geometry: Theory & Applications 80(9), 1412–1434 (1992)
de Berg, M., van Kreveld, M., Overmars, M., Schwarzkopf, O.: Computational Geometry: Algorithms and Applications, 2nd edn. Springer, Heidelberg (2000)
DeWitt, D., Naughton, J., Schneider, D.: An evaluation of nonequijoin algorithms. In: Proc. 17th Intl. Conf. on Very Large Data Bases, pp. 443–452 (1991)
Dumitrescu, A., Steiger, W.: Space-time tradeoffs for some ranking and searching queries. Inform. Process. Lett. 79(5), 237–241 (2001)
Fredman, M.: How good is the information theory bound on sorting? Theoret. Comput. Sci. 1, 355–361 (1976)
Guha, S., Koudas, N., Shim, K.: Data streams and histograms. In: Proc. 33rd ACM Sympos. Theory of Computing, pp. 471–475 (2001)
Liu, L., Pu, C., Tang, W.: Continual queries for internet scale event-driven information delivery. IEEE Trans. on Knowledge and Data Engineering 11(4), 610–628 (1999)
Muthukrishnan, S.: Data streams: algorithms and applications, Available at http://www.cs.rutgers.edu/~muthu
Overmars, M.H.: The Design of Dynamic Data Structures. LNCS, vol. 156. Springer, Heidelberg (1983)
Suri, S., Toth, C., Zhou, Y.: Range counting over multidimensional data streams. In: Proc. 20th ACM Sympos. Comput. Geom, pp. 160–169 (2004)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Agarwal, P.K., Xie, J., Yang, J., Yu, H. (2005). Monitoring Continuous Band-Join Queries over Dynamic Data. In: Deng, X., Du, DZ. (eds) Algorithms and Computation. ISAAC 2005. Lecture Notes in Computer Science, vol 3827. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11602613_36
Download citation
DOI: https://doi.org/10.1007/11602613_36
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-30935-2
Online ISBN: 978-3-540-32426-3
eBook Packages: Computer ScienceComputer Science (R0)