Penalty Cost Minimization for Multi-tenant Query Deadline Employing Cache Optimization and Log Based Dispatching

Execution time is an important indicator of Service Level Agreement. Software as a Service providers expect to finish all queries before their respective deadlines and avoid penalties in violation of agreements. Hence, caching frequently occupied multi-tenant data is an efficient way of reducing execution time and penalty cost. However, it is difficult to minimize penalty cost through choosing cached data from massive multi-tenant data since it hardly finds a quantitative relationship between cached data and penalty cost. To address the challenge, we develop a mechanism of penalty cost minimization for multi-tenant queries based on cache optimization. We generate the cached data by analyzing cost space of multi-tenant data and the violation of queries of each node, and dispatch the incoming queries on the node with the shortest execution time according to multi-tenant cached data distribution. Experimental results suggest that penalty cost by employing the developed mechanism reduces 30% than that of the benchmark solution. Further, the developed mechanism is capable of limiting the dispatching time of queries within 1ms.

[1]  Xiaodan Wang,et al.  A Workload-Driven Unit of Cache Replacement for Mid-Tier Database Caching , 2007, DASFAA.

[2]  Yun Chi,et al.  PMAX: tenant placement in multitenant databases for profit maximization , 2013, EDBT '13.

[3]  Alfons Kemper,et al.  A comparison of flexible schemas for software as a service , 2009, SIGMOD Conference.

[4]  Raquel Vigolvino Lopes,et al.  Business-Driven Long-Term Capacity Planning for SaaS Applications , 2015, IEEE Transactions on Cloud Computing.

[5]  Donald D. Chamberlin,et al.  Access Path Selection in a Relational Database Management System , 1989 .

[6]  Craig D. Weissman,et al.  The design of the force.com multitenant internet application development platform , 2009, SIGMOD Conference.

[7]  Mohit Singh,et al.  Sharing Buffer Pool Memory in Multi-Tenant Relational Database-as-a-Service , 2015, Proc. VLDB Endow..

[8]  Selmer M. Johnson Generation of permutations by adjacent transposition , 1963 .

[9]  Wen-Chi Hou,et al.  CS2: a new database synopsis for query estimation , 2013, SIGMOD '13.

[10]  Gregory Chockler,et al.  Data caching as a cloud service , 2010, LADIS '10.

[11]  Cor-Paul Bezemer,et al.  Multi-tenant SaaS applications: maintenance dream or nightmare? , 2010, IWPSE-EVOL '10.

[12]  Stavros Christodoulakis,et al.  A Comprehensive Analytical Performance Model for Disk Devices under Random Workloads , 2002, IEEE Trans. Knowl. Data Eng..

[13]  Calton Pu,et al.  SmartSLA: Cost-Sensitive Management of Virtualized Resources for CPU-Bound Database Services , 2015, IEEE Transactions on Parallel and Distributed Systems.