Skip to main content

Leveraging Enterprise Application Characteristics to Optimize Incremental Aggregate Maintenance in a Columnar In-Memory Database

  • Conference paper
  • First Online:
  • 989 Accesses

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

Abstract

An analysis of database workloads generated by enterprise applications revealed a mixed workload of short-running transactional and long-running analytical queries. With the latter type of queries containing many aggregate operations, we implemented an efficient aggregate caching mechanism. But the incremental materialized view maintenance is very costly for aggregate queries joining multiple tables. To overcome this problem, we analyzed the characteristics of enterprise applications with respect to the creation of business objects and their persistence in the database layer. We evaluated how the detected patterns can be leveraged to reduce the join operations between the main and delta partitions of the involved tables in a columnar in-memory database. The resulting performance improvements are significant and close to using the caching mechanism with a denormalized schema.

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   39.99
Price excludes VAT (USA)
  • Available as EPUB and 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

Learn about institutional subscriptions

Notes

  1. 1.

    Distributed key value store focusing on scalability and high availability, http://cassandra.apache.org/.

  2. 2.

    Managed NoSQL database focusing on cost efficiency, http://aws.amazon.com/dynamodb/.

  3. 3.

    Core Data Services - Data Definition Language, a DSL to model objects on SAP HANA.

  4. 4.

    Object Relational Mapper, a framework to easy access to relational databases from object oriented programming languages.

  5. 5.

    Core Data Services - Data Manipulation Language.

  6. 6.

    Quick Patch Interconnect, a direct communication system for processor cores that replaces the Front Side Bus (FSB).

References

  1. Färber, F., Cha, S.K., Primsch, J., Bornhövd, C., Sigg, S., Lehner, W.: SAP HANA database: data management for modern business applications. In: SIGMOD (2011)

    Google Scholar 

  2. Grund, M., Krüger, J., Plattner, H., Zeier, A., Cudre-Mauroux, P., Madden, S.: Hyrise: a main memory hybrid storage engine. In: VLDB, pp. 105–116 (2010)

    Google Scholar 

  3. Kemper, A., Neumann, T., Informatik, F.F., München, T.U.: Hyper: a hybrid OLTP&OLAP main memory database system based on virtual memory snapshots. In: ICDE, D-Garching (2011)

    Google Scholar 

  4. Plattner, H.: A common database approach for OLTP and OLAP using an in-memory column database. In: SIGMOD, pp. 1–2 (2009)

    Google Scholar 

  5. Plattner, H.: SanssouciDB: an in-memory database for processing enterprise workloads. In: BTW (2011)

    Google Scholar 

  6. Smith, J.M., Smith, D.C.P.: Database abstractions: aggregation. ACM Commun. 20, 405–413 (1977)

    Article  Google Scholar 

  7. Srivastava, D., Dar, S., Jagadish, H., Levy, A.: Answering queries with aggregation using views. In: VLDB (1996)

    Google Scholar 

  8. Gupta, A., Mumick, I.S.: Maintenance of materialized views: problems, techniques, and applications. IEEE Data Eng. Bull. 18, 3–18 (1995)

    Google Scholar 

  9. Müller, S., Butzmann, L., Höwelmeyer, K., Klauck, S., Plattner, H.: Efficient view maintenance for enterprise applications in columnar in-memory databases. In: EDOC (2013)

    Google Scholar 

  10. Müller, S., Plattner, H.: Aggregates caching in columnar in-memory databases. In: 1st International Workshop on In-Memory Data Management and Analytics (IMDM), in conjunction with VLDB (2013)

    Google Scholar 

  11. Krueger, J., Kim, C., Grund, M., Satish, N., Schwalb, D., Chhugani, J., Plattner, H., Dubey, P., Zeier, A.: Fast updates on read-optimized databases using multi-core CPUs. In: VLDB (2012)

    Google Scholar 

  12. Brewer, E.A.: Towards robust distributed systems. In: PODC (2000)

    Google Scholar 

  13. Buneman, O.P., Clemons, E.K.: Efficiently monitoring relational databases. ACM Trans. Database Syst. 4, 368–382 (1979)

    Article  Google Scholar 

  14. Blakeley, J.A., Larson, P.A., Tompa, F.W.: Efficiently updating materialized views. In: SIGMOD, pp. 61–71 (1986)

    Google Scholar 

  15. Bello, R.G., Dias, K., Downing, A., Feenan, Jr., J.J., Finnerty, J.L., Norcott, W.D., Sun, H., Witkowski, A., Ziauddin, M.: Materialized views in oracle. In: VLDB, pp. 659–664 (1998)

    Google Scholar 

  16. Zhou, J., Larson, P.A., Elmongui, H.G.: Lazy maintenance of materialized views. In: VLDB, pp. 231–242 (2007)

    Google Scholar 

  17. Gupta, H., Mumick, I.S.: Incremental maintenance of aggregate and outerjoin expressions. Inf. Syst. 31(6), 435–464 (2006)

    Article  Google Scholar 

  18. Larson, P.A., Zhou, J.: Efficient maintenance of materialized outer-join views. In: 2007 IEEE 23rd International Conference on Data Engineering, pp. 56–65. IEEE (2007)

    Google Scholar 

  19. Garcia-Molina, H., Ullman, J.D., Widom, J.: Database Systems: The Complete Book, 2nd edn. Prentice Hall Press, Upper Saddle River (2008)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Stephan Müller .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Müller, S., Möller, P., Plattner, H. (2014). Leveraging Enterprise Application Characteristics to Optimize Incremental Aggregate Maintenance in a Columnar In-Memory Database. In: Han, WS., Lee, M., Muliantara, A., Sanjaya, N., Thalheim, B., Zhou, S. (eds) Database Systems for Advanced Applications. DASFAA 2014. Lecture Notes in Computer Science(), vol 8505. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-43984-5_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-662-43984-5_8

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-662-43983-8

  • Online ISBN: 978-3-662-43984-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics