Skip to main content

Transaction Reordering and Grouping for Continuous Data Loading

  • Conference paper
Business Intelligence for the Real-Time Enterprises (BIRTE 2006)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 4365))

Abstract

With the increasing popularity of operational data warehousing, the ability to load data quickly and continuously into an RDBMS is becoming more and more important. However, in the presence of materialized join views, loading data concurrently into multiple base relations of the same materialized join view can cause a severe deadlock problem. To solve this problem, we propose reordering the data to be loaded so that at any time, for any materialized join view, data is only loaded into one of its base relations. Also, for load transactions on the relations that contain “aggregate” attributes, we propose using pre-aggregation to reduce the number of SQL statements in the load transactions. The advantages of our methods are demonstrated through experiments with a commercial parallel RDBMS.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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. Babcock, B., Babu, S., Datar, M., et al.: Models and Issues in Data Stream Systems. In: PODS 2002, pp. 1–16 (2002)

    Google Scholar 

  2. Bernstein, P.A., Hadzilacos, V., Goodman, N.: Concurrency Control and Recovery in Database Systems. Addison-Wesley, Reading (1987)

    Google Scholar 

  3. Bernstein, P.A., Hsu, M., Mann, B.: Implementing Recoverable Requests Using Queues. In: SIGMOD Conf. 1990, pp. 112–122 (1990)

    Google Scholar 

  4. Brobst, S., Rarey, J.: The Five Stages of an Active Data Warehouse Evolution (2001), http://www.ncr.com/online_periodicals/brobst.pdf

  5. Brobst, S.: Personal communication (2003)

    Google Scholar 

  6. Dver, A.: Real-time Enterprise. Business week December 2, 2002 issue (2002)

    Google Scholar 

  7. Gawlick, D.: Processing “Hot Spots” in High Performance Systems. In: Proc. IEEE Compcon Spring 1985 (1985)

    Google Scholar 

  8. J. Gehrke, F. Korn, and D. Srivastava. On Computing Correlated Aggregates over Continual Data Streams. In: SIGMOD Conf. 2001, pp. 13–24 (2001)

    Google Scholar 

  9. Gray, J., Lorie, R.A., Putzolu, G.R., et al.: Granularity of Locks and Degrees of Consistency in a Shared Data Base. In: IFIP Working Conference on Modeling in Data Base Management Systems 1976, pp. 365–394 ( 1976)

    Google Scholar 

  10. Gray, J., Reuter, A.: Transaction Processing: Concepts and Techniques. Morgan Kaufmann Publishers, San Francisco (1993)

    MATH  Google Scholar 

  11. Graefe, G., Zwilling, M.J.: Transaction Support for Indexed Views. In: SIGMOD Conf. 2004 (2004)

    Google Scholar 

  12. Luo, G., Naughton, J.F., Ellmann, C.J., et al.: Locking Protocols for Materialized Aggregate Join Views. In: VLDB 2003, pp. 596–607 (2003)

    Google Scholar 

  13. Luo, G., Naughton, J.F., Ellmann, C.J., et al.: A Comparison of Three Methods for Join View Maintenance in Parallel RDBMS. In: ICDE 2003, pp. 177–188 (2003)

    Google Scholar 

  14. Luo, G., Naughton, J.F., Ellmann, C.J., et al.: Transaction Reordering and Grouping for Continuous Data Loading. Full version (2006), available at http://www.cs.wisc.edu/~gangluo/tpump_full.pdf

  15. O’Gorman, K., Abbadi, A.E., Agrawal, D.: Multiple Query Optimization by Cache-Aware Middleware using Query Teamwork. In: ICDE 2002, p. 274 (2002)

    Google Scholar 

  16. Oracle Streams (2002), http://otn.oracle.com/products/dataint/htdocs/streams_fo.html

  17. Oracle9i Database Daily Feature - MERGE Statement (2002), http://technet.oracle.com/products/oracle9i/daily/Aug24.html

  18. Poess, M., Floyd, C.: New TPC Benchmarks for Decision Support and Web Commerce. SIGMOD Record 29(4), 64–71 (2000)

    Article  Google Scholar 

  19. Pooloth, K.: High Performance Inserts on DB2 UDB EEE using Java (2002). http://www7b.boulder.ibm.com/dmdd/library/techarticle/0204pooloth/0204pooloth.html#overview

  20. Teradata Parallel Data Pump Reference (2002), http://www.info.ncr.com/eDownload.cfm?itemid=023390001

  21. Zhuge, Y., Garcia-Molina, H., Wiener, J.L.: The Strobe Algorithms for Multi-Source Warehouse Consistency. In: PDIS 1996, pp. 146–157 (1996)

    Google Scholar 

  22. A. Zimmerman, E. Nelson. In Hour of Peril, Americans Moved to Stock up on Guns and TV Sets. Wall Street Journal Newsletter (September 18, 2001), http://www.swcollege.com/econ/street/html/sept01/sept18_2001.html

Download references

Author information

Authors and Affiliations

Authors

Editor information

Christoph Bussler Malu Castellanos Umesh Dayal Sham Navathe

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Luo, G., Naughton, J.F., Ellmann, C.J., Watzke, M.W. (2007). Transaction Reordering and Grouping for Continuous Data Loading. In: Bussler, C., Castellanos, M., Dayal, U., Navathe, S. (eds) Business Intelligence for the Real-Time Enterprises. BIRTE 2006. Lecture Notes in Computer Science, vol 4365. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-73950-0_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-73950-0_4

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-73949-4

  • Online ISBN: 978-3-540-73950-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics