DocumentCode
2456313
Title
Lookup Tables: Fine-Grained Partitioning for Distributed Databases
Author
Tatarowicz, Aubrey L. ; Curino, Carlo ; Jones, Evan P C ; Madden, Sam
Author_Institution
Massachusetts Inst. of Technol., Cambridge, MA, USA
fYear
2012
fDate
1-5 April 2012
Firstpage
102
Lastpage
113
Abstract
The standard way to get linear scaling in a distributed OLTP DBMS is to horizontally partition data across several nodes. Ideally, this partitioning will result in each query being executed at just one node, to avoid the overheads of distributed transactions and allow nodes to be added without increasing the amount of required coordination. For some applications, simple strategies, such as hashing on primary key, provide this property. Unfortunately, for many applications, including social networking and order-fulfillment, many-to-many relationships cause simple strategies to result in a large fraction of distributed queries. Instead, what is needed is a fine-grained partitioning, where related individual tuples (e.g., cliques of friends) are co-located together in the same partition. Maintaining such a fine-grained partitioning requires the database to store a large amount of metadata about which partition each tuple resides in. We call such metadata a lookup table, and present the design of a data distribution layer that efficiently stores these tables and maintains them in the presence of inserts, deletes, and updates. We show that such tables can provide scalability for several difficult to partition database workloads, including Wikipedia, Twitter, and TPC-E. Our implementation provides 40% to 300% better performance on these workloads than either simple range or hash partitioning and shows greater potential for further scale-out.
Keywords
data mining; distributed databases; meta data; table lookup; data distribution layer; distributed OLTP DBMS; distributed databases; distributed queries; distributed transactions; fine-grained partitioning; lookup tables; metadata; order-fulfillment; social networking; Distributed databases; Indexes; Routing protocols; Social network services; Throughput;
fLanguage
English
Publisher
ieee
Conference_Titel
Data Engineering (ICDE), 2012 IEEE 28th International Conference on
Conference_Location
Washington, DC
ISSN
1063-6382
Print_ISBN
978-1-4673-0042-1
Type
conf
DOI
10.1109/ICDE.2012.26
Filename
6228076
Link To Document