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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsNotes
- 1.
Distributed key value store focusing on scalability and high availability, http://cassandra.apache.org/.
- 2.
Managed NoSQL database focusing on cost efficiency, http://aws.amazon.com/dynamodb/.
- 3.
Core Data Services - Data Definition Language, a DSL to model objects on SAP HANA.
- 4.
Object Relational Mapper, a framework to easy access to relational databases from object oriented programming languages.
- 5.
Core Data Services - Data Manipulation Language.
- 6.
Quick Patch Interconnect, a direct communication system for processor cores that replaces the Front Side Bus (FSB).
References
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)
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)
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)
Plattner, H.: A common database approach for OLTP and OLAP using an in-memory column database. In: SIGMOD, pp. 1–2 (2009)
Plattner, H.: SanssouciDB: an in-memory database for processing enterprise workloads. In: BTW (2011)
Smith, J.M., Smith, D.C.P.: Database abstractions: aggregation. ACM Commun. 20, 405–413 (1977)
Srivastava, D., Dar, S., Jagadish, H., Levy, A.: Answering queries with aggregation using views. In: VLDB (1996)
Gupta, A., Mumick, I.S.: Maintenance of materialized views: problems, techniques, and applications. IEEE Data Eng. Bull. 18, 3–18 (1995)
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)
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)
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)
Brewer, E.A.: Towards robust distributed systems. In: PODC (2000)
Buneman, O.P., Clemons, E.K.: Efficiently monitoring relational databases. ACM Trans. Database Syst. 4, 368–382 (1979)
Blakeley, J.A., Larson, P.A., Tompa, F.W.: Efficiently updating materialized views. In: SIGMOD, pp. 61–71 (1986)
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)
Zhou, J., Larson, P.A., Elmongui, H.G.: Lazy maintenance of materialized views. In: VLDB, pp. 231–242 (2007)
Gupta, H., Mumick, I.S.: Incremental maintenance of aggregate and outerjoin expressions. Inf. Syst. 31(6), 435–464 (2006)
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)
Garcia-Molina, H., Ullman, J.D., Widom, J.: Database Systems: The Complete Book, 2nd edn. Prentice Hall Press, Upper Saddle River (2008)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights 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)