Skip to main content

Improving Temporal Joins Using Histograms

  • Conference paper
  • First Online:
Book cover Database and Expert Systems Applications (DEXA 2000)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1873))

Included in the following conference series:

Abstract

Histograms are used in most commercial database systems to estimate query result sizes and evaluation plan costs. They can also be used to optimize join algorithms. In this paper, we consider how to use histograms to improve the join processing in temporal databases. We define histograms for temporal data and a temporal join algorithm that makes use of this histogram information. The join algorithm is a temporal partition-join with dynamic buffer allocation. Histogram information is used to determine partition boundaries that maximize overall buffer usage. We compare the performance of this join algorithm to temporal join evaluation strategies that do not use histograms, such as a partition-based algorithm based on sampling and a partition-join using the Time Index, an index structure for temporal data. The results demonstrate that the temporal partition-join is substantially improved through the incorporation of histogram information, showing significantly better performance than the sampling-based algorithm and achieving equivalent performance to the Time Index join without requiring an index.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. H. Gunadhi and A. Segev. Query Processing Algorithms for Temporal Intersection Joins. In Proc. 7th ICDE, pages 336–344, April 1991.

    Google Scholar 

  2. E.P. Harris and K. Ramamohanarao. Join Algorithm Costs Revisited. The VLDB Journal, 5(l):64–84, 1996.

    Article  Google Scholar 

  3. M. Kitsuregawa, H. Tanaka, and T. Motoka. Application of hash to database machine and its architecture. New Generation Computing, l(l):63–74, 1983.

    Article  Google Scholar 

  4. T.Y. Leung and R. Muntz. Temporal query processing amd optimization in multiprocessor database machines. In Proc. of the 18th VLDB, pages 383–394, 1992.

    Google Scholar 

  5. V. Poosala, Y. Ioannidis, P. Haas, and E. Shekita. Improved Histograms for Selectivity Estimation of Range Predicates. In Proc, of ACM SIGMOD Conf., pages 294–305, June 1996.

    Google Scholar 

  6. Dieter Pfoser and Christian S. Jensen. Incremental join of time-oriented data. In Proc. of the 11th SSDBM, pages 232–243, 1999.

    Google Scholar 

  7. Viswanath Poosala. Histogram-based Estimation Techniques in Database Systems. PhD thesis, University of Wisconsin-Madison, 1997.

    Google Scholar 

  8. S. Rana and F. Fotouhi. Efficient Processing of Time-Joins in Temporal Data Bases. In Proc. 3rd Int. Symp. on DB Systems for Advanced Applications, pages 427–432, April 1993.

    Google Scholar 

  9. D. Son and R. Elmasri. Efficient Temporal Join Processing Using Time Index. In Proc. of the 8th SSDBM, pages 252–261, June 1996.

    Google Scholar 

  10. A. Segev and A. Shoshani. The Representation of a Temporal Data Model in the Relational Environment. In M. Rafanelli, J.C. Klensin, and P. Svensson, editors, LCNS, volume 339, pages 39–61. Springer-Verlag, 1988.

    Google Scholar 

  11. Inga Sitzmann and Peter Stuckey. Histogram-based Temporal Joins. Technical Report TR2000/7, Department of Computer Science and Software Engineering, The University of Melbourne, 2000.

    Google Scholar 

  12. M.D. Soo, R.T. Snodgrass, and C.S. Jensen. Efficient Evaluation of the Valid-Time Natural Join. In Proc. of the 10th ICDE, 1994.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2000 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Sitzmann, I., Stuckey, P.J. (2000). Improving Temporal Joins Using Histograms. In: Ibrahim, M., Küng, J., Revell, N. (eds) Database and Expert Systems Applications. DEXA 2000. Lecture Notes in Computer Science, vol 1873. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44469-6_46

Download citation

  • DOI: https://doi.org/10.1007/3-540-44469-6_46

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-67978-3

  • Online ISBN: 978-3-540-44469-5

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics