DocumentCode :
2082302
Title :
Osprey: Implementing MapReduce-style fault tolerance in a shared-nothing distributed database
Author :
Yang, Christopher ; Yen, Christine ; Tan, Ceryen ; Madden, Samuel R.
Author_Institution :
CSAIL, MIT, Cambridge, MA, USA
fYear :
2010
fDate :
1-6 March 2010
Firstpage :
657
Lastpage :
668
Abstract :
In this paper, we describe a scheme for tolerating and recovering from mid-query faults in a distributed shared nothing database. Rather than aborting and restarting queries, our system, Osprey, divides running queries into subqueries, and replicates data such that each subquery can be rerun on a different node if the node initially responsible fails or returns too slowly. Our approach is inspired by the fault tolerance properties of Map Reduce, in which map or reduce jobs are greedily assigned to workers, and failed jobs are rerun on other workers. Osprey is implemented using a middleware approach, with only a small amount of custom code to handle cluster coordination. Each node in the system is a discrete database system running on a separate machine. Data, in the form of tables, is partitioned amongst database nodes and each partition is replicated on several nodes, using a technique called chained declustering [1]. A coordinator machine acts as a standard SQL interface to users; it transforms an input SQL query into a set of subqueries that are then executed on the nodes. Each subquery represents only a small fraction of the total execution of the query; worker nodes are assigned a new subquery as they finish their current one. In this greedy-approach, the amount of work lost due to node failure is small (at most one subquery´s work), and the system is automatically load balanced, because slow nodes will be assigned fewer subqueries. We demonstrate Osprey´s viability as a distributed system for a small data warehouse data set and workload. Our experiments show that the overhead introduced by the middleware is small compared to the workload, and that the system shows promising load balancing and fault tolerance properties.
Keywords :
SQL; distributed databases; fault tolerant computing; middleware; query processing; resource allocation; user interfaces; MapReduce; Osprey; chained declustering; data replication; data warehouse; discrete database system; distributed shared nothing database; fault tolerance; load balancing; middleware; midquery faults; standard SQL interface; Computer crashes; Data warehouses; Database systems; Discrete transforms; Distributed databases; Failure analysis; Fault tolerance; Fault tolerant systems; Load management; Middleware;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Data Engineering (ICDE), 2010 IEEE 26th International Conference on
Conference_Location :
Long Beach, CA
Print_ISBN :
978-1-4244-5445-7
Electronic_ISBN :
978-1-4244-5444-0
Type :
conf
DOI :
10.1109/ICDE.2010.5447913
Filename :
5447913
Link To Document :
بازگشت