Multi-tenant data management is a major application of software as a Service (SaaS). Many companies outsource their data to a third party which hosts a multi-tenant database system to provide data management service. The system should have high performance, low space and excellent scalability. One big challenge is to devise a high-quality database schema. Independent Tables Shared Instances and Shared Tables Shared Instances are two state-of-the-art methods. However, the former has poor scalability, while the latter achieves good scalability at the expense of poor performance and high space overhead. In this paper, we trade-off between the two methods and propose an adaptive database schema design approach to achieve good scalability and high performance with low space. To this end, we identify the important attributes and use them to generate a base table. For other attributes, we construct supplementary tables. We propose a cost-based model to adaptively generate the tables above. Our method has the following advantages. First, our method achieves high scalability. Second, our method can trade-off performance and space requirement. Third, our method can be easily applied to existing databases (e.g., MySQL) with minor revisions. Fourth, our method can adapt to any schemas and query workloads. Experimental results show our method achieves high performance and good scalability with low space and outperforms state-of-the-art method.
[1]
Jignesh M. Patel,et al.
Towards Multi-Tenant Performance SLOs
,
2012,
IEEE Transactions on Knowledge and Data Engineering.
[2]
Kun Zhang,et al.
Data Privacy Preservation during Schema Evolution for Multi-tenancy Applications in Cloud Computing
,
2011,
WISM.
[3]
Yuan Zhou,et al.
Supporting Database Applications as a Service
,
2009,
2009 IEEE 25th International Conference on Data Engineering.
[4]
Torsten Grust,et al.
Multi-tenant databases for software as a service: schema-mapping techniques
,
2008,
SIGMOD Conference.
[5]
Divyakant Agrawal,et al.
Zephyr: live migration in shared nothing databases for elastic cloud platforms
,
2011,
SIGMOD '11.
[6]
Alfons Kemper,et al.
Extensibility and Data Sharing in evolving multi-tenant databases
,
2011,
2011 IEEE 27th International Conference on Data Engineering.
[7]
Dean Jacobs,et al.
Ruminations on Multi-Tenant Databases
,
2007,
BTW.
[8]
Craig D. Weissman,et al.
The design of the force.com multitenant internet application development platform
,
2009,
SIGMOD Conference.