Abstract
In the world of enterprise computing, single applications are often classified either as transactional or analytical. From a data management perspective, both application classes issue a database workload with commonly agreed characteristics. However, traditional database management systems (DBMS) are typically optimized for one or the other. Today, we see two trends in enterprise applications that require bridging these two workload categories: (1) enterprise applications of both classes access a single database instance and (2) longer-running, analytical-style queries issued by transactional applications. As a reaction to this change, in-memory DBMS on multi-core CPUs have been proposed to handle the mix of transactional and analytical queries in a single database instance. However, running heterogeneous queries potentially causes situations where longer running queries block shorter running queries from execution. A task-based query execution model with priority-based scheduling allows for an effective prioritization of query classes. This paper discusses the impact of task granularity on responsiveness and throughput of an in-memory DBMS. We show that a larger task size for long running operators negatively affects the response time of short running queries. Based on this observation, we propose a solution to limit the maximum task size with the objective of controlling the mutual performance impact of query classes.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Plattner, H.: A common database approach for OLTP and OLAP using an in-memory column database. In: SIGMOD Conference, pp. 1–2. ACM (2009)
Wust, J., Grund, M., Plattner, H.: Tamex: A task-based query execution framework for mixed enterprise workloads on in-memory databases. In: IMDM, INFORMATIK (2013)
Bouganim, L., Florescu, D., Valduriez, P.: Dynamic Load Balancing in Hierarchical Parallel Database Systems. In: VLDB, pp. 436–447. Morgan Kaufmann (1996)
Plattner, H.: SanssouciDB: An In-Memory Database for Processing Enterprise Workloads. In: BTW, pp. 2–21. GI (2011)
Krüger, 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. PVLDB 5(1), 61–72 (2011)
Krueger, J., Tinnefeld, C., Grund, M., Zeier, A., Plattner, H.: A case for online mixed workload processing. In: DBTest (2010)
Wust, J., Meyer, C., Plattner, H.: Dac: Database application context analysis applied to enterprise applications. In: ACSC (2014)
Wust, J., Krüger, J., Blessing, S., Tosun, C., Zeier, A., Plattner, H.: Xsellerate: supporting sales representatives with real-time information in customer dialogs. In: IMDM, pp. 35–44. GI (2011)
Grund, M., Krüger, J., Plattner, H., Zeier, A., Cudré-Mauroux, P., Madden, S.: HYRISE - A Main Memory Hybrid Storage Engine. PVLDB 4(2), 105–116 (2010)
Psaroudakis, I., Scheuer, T., May, N., Ailamaki, A.: Task Scheduling for Highly Concurrent Analytical and Transactional Main-Memory Workloads. In: ADMS Workshop (2013)
Kim, C., Sedlar, E., Chhugani, J., Kaldewey, T., Nguyen, A.D., Di Blas, A., Lee, V.W., Satish, N., Dubey, P.: Sort vs. Hash Revisited: Fast Join Implementation on Modern Multi-Core CPUs. PVLDB 2(2), 1378–1389 (2009)
Wierman, A., Lafferty, J., Scheller-wolf, A., Whitt, W.: Scheduling for today’s computer systems: Bridging theory and practice. Technical report, Carnegie Mellon University (2007)
Kella, O., Yechiali, U.: Waiting times in the non-preemptive priority m/m/c queue. In: Stochastic Models (1985)
Adan, I., Resing, J.: Queueing Theory: Ivo Adan and Jacques Resing. Eindhoven University of Technology (2001)
Bertoli, M., Casale, G., Serazzi, G.: Java Modelling Tools: an Open Source Suite for Queueing Network Modelling andWorkload Analysis. In: QEST (2006)
Wu, W., Chi, Y., Zhu, S., Tatemura, J., Hacigümüs, H., Naughton, J.F.: Predicting query execution time: Are optimizer cost models really unusable?. In: ICDE, pp. 1081–1092. IEEE Computer Society (2013)
Biersack, E.W., Schroeder, B., Urvoy-Keller, G.: Scheduling in practice. SIGMETRICS Performance Evaluation Review 34(4), 21–28 (2007)
McWherter, D.T., Schroeder, B., Ailamaki, A., Harchol-Balter, M.: Priority Mechanisms for OLTP and Transactional Web Applications. In: ICDE, pp. 535–546 (2004)
Brown, K., Carey, M., DeWitt, D., Mehta, M., Naughton, F.: Resource allocation and scheduling for mixed database workloads (January 1992), cs.wisc.edu
Kuno, H., Dayal, U., Wiener, J.L., Wilkinson, K., Ganapathi, A., Krompass, S.: Managing Dynamic Mixed Workloads for Operational Business Intelligence. In: Kikuchi, S., Sachdeva, S., Bhalla, S. (eds.) DNIS 2010. LNCS, vol. 5999, pp. 11–26. Springer, Heidelberg (2010)
Niu, B., Martin, P., Powley, W.: Towards Autonomic Workload Management in DBMSs. J. Database Manag. 20(3), 1–17 (2009)
Carey, M.J., Jauhari, R., Livny, M.: Priority in DBMS Resource Scheduling. In: VLDB, pp. 397–410. Morgan Kaufmann (1989)
Schroeder, B., Harchol-Balter, M., Iyengar, A., Nahum, E.M.: Achieving Class-Based QoS for Transactional Workloads. In: ICDE, p. 153 (2006)
Krompass, S., Kuno, H.A., Wilkinson, K., Dayal, U., Kemper, A.: Adaptive query scheduling for mixed database workloads with multiple objectives. In: DBTest (2010)
Gupta, C., Mehta, A., Wang, S., Dayal, U.: Fair, effective, efficient and differentiated scheduling in an enterprise data warehouse. In: EDBT, pp. 696–707. ACM (2009)
Hardavellas, N., Pandis, I., Johnson, R., Mancheril, N., Ailamaki, A., Falsafi, B.: Database Servers on Chip Multiprocessors: Limitations and Opportunities. In: CIDR, pp. 79–87 (2007), www.cidrdb.org
Zhou, J., Cieslewicz, J., Ross, K.A., Shah, M.: Improving Database Performance on Simultaneous Multithreading Processors. In: VLDB, pp. 49–60. ACM (2005)
Krikellas, K., Cintra, M., Viglas, S.: Scheduling threads for intra-query parallelism on multicore processors. In: EDBT (2010)
Wu, J., Chen, J.J., Wen Hsueh, C., Kuo, T.W.: Scheduling of Query Execution Plans in Symmetric Multiprocessor Database Systems. In: IPDPS (2004)
Rahm, E., Marek, R.: Dynamic Multi-Resource Load Balancing in Parallel Database Systems. In: VLDB, pp. 395–406. Morgan Kaufmann (1995)
Lu, H., Tan, K.-L.: Dynamic and Load-balanced Task-Oriented Datbase Query Processing in Parallel Systems. In: Pirotte, A., Delobel, C., Gottlob, G. (eds.) EDBT 1992. LNCS, vol. 580, pp. 357–372. Springer, Heidelberg (1992)
Casavant, T.L., Kuhl, J.G.: A Taxonomy of Scheduling in General-Purpose Distributed Computing Systems. IEEE Trans. Software Eng. 14(2), 141–154 (1988)
El-Rewini, H., Ali, H.H., Lewis, T.G.: Task Scheduling in Multiprocessing Systems. IEEE Computer 28(12), 27–37 (1995)
Feitelson, D.G., Rudolph, L., Schwiegelshohn, U., Sevcik, K.C., Wong, P.: Theory and Practice in Parallel Job Scheduling. In: Feitelson, D.G., Rudolph, L. (eds.) IPPS-WS 1997 and JSSPP 1997. LNCS, vol. 1291, pp. 1–34. Springer, Heidelberg (1997)
Ousterhout, K., Panda, A., Rosen, J., Venkataraman, S., Xin, R., Ratnasamy, S., Shenker, S., Stoica, I.: The case for tiny tasks in compute clusters. In: HotOS 2013, p. 14. USENIX Association, Berkeley (2013)
Buttazzo, G.C., Bertogna, M., Yao, G.: Limited Preemptive Scheduling for Real-Time Systems. A Survey. IEEE Trans. Industrial Informatics 9(1), 3–15 (2013)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer International Publishing Switzerland
About this paper
Cite this paper
Wust, J., Grund, M., Hoewelmeyer, K., Schwalb, D., Plattner, H. (2014). Concurrent Execution of Mixed Enterprise Workloads on In-Memory Databases. In: Bhowmick, S.S., Dyreson, C.E., Jensen, C.S., Lee, M.L., Muliantara, A., Thalheim, B. (eds) Database Systems for Advanced Applications. DASFAA 2014. Lecture Notes in Computer Science, vol 8421. Springer, Cham. https://doi.org/10.1007/978-3-319-05810-8_9
Download citation
DOI: https://doi.org/10.1007/978-3-319-05810-8_9
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-05809-2
Online ISBN: 978-3-319-05810-8
eBook Packages: Computer ScienceComputer Science (R0)