Skip to main content

Monitoring Continuous Band-Join Queries over Dynamic Data

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 3827))

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 | arsb} 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.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   169.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 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

  2. 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)

    Google Scholar 

  3. 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)

    Google Scholar 

  4. Chandrasekaran, S., Franklin, M.J.: Streaming queries over streaming data. In: Proc. 28th Intl. Conf. on Very Large Data Bases, pp. 203–214 (2002)

    Google Scholar 

  5. Chandrasekaran, S., Franklin, M.J.: PSoup: a system for streaming queries over streaming data. The VLDB Journal 12(2), 140–156 (2003)

    Article  Google Scholar 

  6. 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)

    Google Scholar 

  7. Chiang, Y.-J., Tamassia, R.: Dynamic algorithms in computational geometry. Computational Geometry: Theory & Applications 80(9), 1412–1434 (1992)

    Google Scholar 

  8. de Berg, M., van Kreveld, M., Overmars, M., Schwarzkopf, O.: Computational Geometry: Algorithms and Applications, 2nd edn. Springer, Heidelberg (2000)

    MATH  Google Scholar 

  9. 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)

    Google Scholar 

  10. Dumitrescu, A., Steiger, W.: Space-time tradeoffs for some ranking and searching queries. Inform. Process. Lett. 79(5), 237–241 (2001)

    Article  MATH  MathSciNet  Google Scholar 

  11. Fredman, M.: How good is the information theory bound on sorting? Theoret. Comput. Sci. 1, 355–361 (1976)

    Article  MATH  MathSciNet  Google Scholar 

  12. Guha, S., Koudas, N., Shim, K.: Data streams and histograms. In: Proc. 33rd ACM Sympos. Theory of Computing, pp. 471–475 (2001)

    Google Scholar 

  13. 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)

    Article  Google Scholar 

  14. Muthukrishnan, S.: Data streams: algorithms and applications, Available at http://www.cs.rutgers.edu/~muthu

  15. Overmars, M.H.: The Design of Dynamic Data Structures. LNCS, vol. 156. Springer, Heidelberg (1983)

    MATH  Google Scholar 

  16. Suri, S., Toth, C., Zhou, Y.: Range counting over multidimensional data streams. In: Proc. 20th ACM Sympos. Comput. Geom, pp. 160–169 (2004)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics