Layer: A Cost-Efficient Mechanism To Support Multi-Tenant Database As A Service In Cloud

Yifeng Luo,Shuigeng Zhou,Jihong Guan
DOI: https://doi.org/10.1016/j.jss.2014.11.038
IF: 3.5
2015-01-01
Journal of Systems and Software
Abstract:This paper presents a novel mechanism to cost-efficiently support multi-tenant database as a service (MTD-BaaS) in cloud for small businesses. We aim at the scenarios where a large number of small tenants are served but only some of them are active simultaneously. By small tenants, we mean that a tenant may have many small-sized tables while only a small number of those tables are accessed concurrently for each query.As most MTDBaaS providers, we consolidate multiple tenants' data into the same database management system (DBMS) to reduce the cost of operation. However, our solution distinguishes itself from the existing solutions by a novel mechanism: Load As You quERy (LAYER in short). Concretely, tenants can define and create their own tables with LAYER, and set up possible reference constraints between any two tables. A shared table is used to store all data for all tenants, but only a moderate number of working tables are maintained for answering queries from active tenants. When a new query is submitted, tables involved in the query but not yet in the DBMS will be restored: tables are created, and data are loaded to these newly-created tables. If an active tenant becomes inactive (logs out or no query is issued in a specified time period), tables belonging to the tenant could be dropped when necessary, and updates to these tables would be mirrored to the shared table for backup.We provide two implementations of the LAYER mechanism, one is LAYER-MySQL, which is based on the traditional disk-based relational DBMS MySQL, and can yield high consolidation and acceptable performance; the other is LAYER-VoltDB, which is based on the in-memory relational DBMS VoltDB, and can provide much higher performance. Experimental results validate the feasibility of the proposed mechanism. (C) 2014 Elsevier Inc. All rights reserved.
What problem does this paper attempt to address?