ACM Home Page
Please provide us with feedback. Feedback
Multi-tenant databases for software as a service: schema-mapping techniques
Full text PdfPdf (283 KB)
Source
International Conference on Management of Data archive
Proceedings of the 2008 ACM SIGMOD international conference on Management of data table of contents
Vancouver, Canada
SESSION: Industrial Session 4: Data and Application Integration, Spatial Data table of contents
Pages 1195-1206  
Year of Publication: 2008
ISBN:978-1-60558-102-6
Authors
Stefan Aulbach  Technische Universität München, Munich, Germany
Torsten Grust  Technische Universität München, Munich, Germany
Dean Jacobs  SAP AG, Walldorf, Germany
Alfons Kemper  Technische Universität München, Munich, Germany
Jan Rittinger  Technische Universität München, Munich, Germany
Sponsors
ACM: Association for Computing Machinery
SIGMOD: ACM Special Interest Group on Management of Data
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 70,   Downloads (12 Months): 606,   Citation Count: 4
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1376616.1376736
What is a DOI?

ABSTRACT

In the implementation of hosted business services, multiple tenants are often consolidated into the same database to reduce total cost of ownership. Common practice is to map multiple single-tenant logical schemas in the application to one multi-tenant physical schema in the database. Such mappings are challenging to create because enterprise applications allow tenants to extend the base schema, e.g., for vertical industries or geographic regions. Assuming the workload stays within bounds, the fundamental limitation on scalability for this approach is the number of tables the database can handle. To get good consolidation, certain tables must be shared among tenants and certain tables must be mapped into fixed generic structures such as Universal and Pivot Tables, which can degrade performance.

This paper describes a new schema-mapping technique for multi-tenancy called Chunk Folding, where the logical tables are vertically partitioned into chunks that are folded together into different physical multi-tenant tables and joined as needed. The database's "meta-data budget" is divided between application-specific conventional tables and a large fixed set of generic structures called Chunk Tables. Good performance is obtained by mapping the most heavily-utilized parts of the logical schemas into the conventional tables and the remaining parts into Chunk Tables that match their structure as closely as possible. We present the re sults of several experiments designed to measure the efficacy of Chunk Folding and describe the multi-tenant database testbed in which these experiments were performed.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
 
3
 
4
P. A. Boncz. Monet: A Next-Generation DBMS Kernel For Query-Intensive Applications. Ph.D. Thesis, Universiteit van Amsterdam, Amsterdam, The Netherlands, May 2002.
 
5
B. Burtin and S. Dietzen (Zimbra Inc., Sunnyvale, CA, USA). Personal communication, 2007.
 
6
conject.com. http://www.conject.com/.
7
 
8
 
9
10
 
11
D. Florescu and D. Kossmann. A Performance Evaluation of Alternative Mapping Schemes for Storing XML Data in a Relational Database. Technical report, Inria, France, 1999.
 
12
G. Graefe. Sorting and Indexing with Partitioned B-Trees. In Proc. of the 1st Int?l Conference on Innovative Data Systems Research (CIDR), Asilomar, CA, USA, Jan. 2003.
13
 
14
 
15
ibm.com. http://www.ibm.com/.
 
16
D. Jacobs. Data management in application servers. In Readings in Database Systems, 4th edition. The MIT Press, 2005.
17
18
 
19
Anatomy of MySQL on the GRID. http://blog.mediatemple.net/weblog/2007/01/19/anatomy-of-mysql-on-the-grid/.
 
20
mysql.com. http://www.mysql.com/.
 
21
NetSuite NetFlex. http://www.netsuite.com/portal/products/netflex/main.shtml.
 
22
Salesforce AppExchange. http://www.salesforce.com/appexchange/about.
 
23
 
24
E. TenWolde. Worldwide Software on Demand 2007-2011 Forecast: A Preliminary Look at Delivery Model Performance, IDC No. 206240, 2007. IDC Report.
 
25
TPC-C on-line transaction processing benchmark. http://www.tpc.org/tpcc/.
 
26
WebEx. http://www.webex.com/.
 
27
Zimbra. http://www.zimbra.com/.


Collaborative Colleagues:
Stefan Aulbach: colleagues
Torsten Grust: colleagues
Dean Jacobs: colleagues
Alfons Kemper: colleagues
Jan Rittinger: colleagues