{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,6]],"date-time":"2026-10-06T06:41:20Z","timestamp":1791268880490,"version":"4.1.0"},"reference-count":58,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2014,5,1]],"date-time":"2014-05-01T00:00:00Z","timestamp":1398902400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Database Syst."],"published-print":{"date-parts":[[2014,5]]},"abstract":"<jats:p>Large-scale data analysis lies in the core of modern enterprises and scientific research. With the emergence of cloud computing, the use of an analytical query processing infrastructure can be directly associated with monetary cost. MapReduce has been a popular framework in the context of cloud computing, designed to serve long-running queries (jobs) which can be processed in batch mode. Taking into account that different jobs often perform similar work, there are many opportunities for sharing. In principle, sharing similar work reduces the overall amount of work, which can lead to reducing monetary charges for utilizing the processing infrastructure. In this article we present a sharing framework tailored to MapReduce, namely, &lt;tt&gt;MRShare&lt;\/tt&gt;.<\/jats:p>\n          <jats:p>Our framework, &lt;tt&gt;MRShare&lt;\/tt&gt;, transforms a batch of queries into a new batch that will be executed more efficiently, by merging jobs into groups and evaluating each group as a single query. Based on our cost model for MapReduce, we define an optimization problem and we provide a solution that derives the optimal grouping of queries. Given the query grouping, we merge jobs appropriately and submit them to MapReduce for processing. A key property of &lt;tt&gt;MRShare&lt;\/tt&gt; is that it is independent of the MapReduce implementation. Experiments with our prototype, built on top of Hadoop, demonstrate the overall effectiveness of our approach.<\/jats:p>\n          <jats:p>&lt;tt&gt;MRShare&lt;\/tt&gt; is primarily designed for handling I\/O-intensive queries. However, with the development of high-level languages operating on top of MapReduce, user queries executed in this model become more complex and CPU intensive. Commonly, executed queries can be modeled as evaluating pipelines of CPU-expensive filters over the input stream. Examples of such filters include, but are not limited to, index probes, or certain types of joins. In this article we adapt some of the standard techniques for filter ordering used in relational and stream databases, propose their extensions, and implement them through &lt;tt&gt;MRAdaptiveFilter&lt;\/tt&gt;, an extension of &lt;tt&gt;MRShare&lt;\/tt&gt; for expensive filter ordering tailored to MapReduce, which allows one to handle both single- and batch-query execution modes. We present an experimental evaluation that demonstrates additional benefits of &lt;tt&gt;MRAdaptiveFilter&lt;\/tt&gt;, when executing CPU-intensive queries in &lt;tt&gt;MRShare&lt;\/tt&gt;.<\/jats:p>","DOI":"10.1145\/2560796","type":"journal-article","created":{"date-parts":[[2014,5,27]],"date-time":"2014-05-27T12:56:59Z","timestamp":1401195419000},"page":"1-46","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":8,"title":["Sharing across Multiple MapReduce Jobs"],"prefix":"10.1145","volume":"39","author":[{"given":"Tomasz","family":"Nykiel","sequence":"first","affiliation":[{"name":"University of Toronto, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Michalis","family":"Potamias","sequence":"additional","affiliation":[{"name":"Groupon"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Chaitanya","family":"Mishra","sequence":"additional","affiliation":[{"name":"Facebook, Inc."}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"George","family":"Kollios","sequence":"additional","affiliation":[{"name":"Boston University, MA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Nick","family":"Koudas","sequence":"additional","affiliation":[{"name":"University of Toronto, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2014,5,26]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.14778\/1687627.1687731"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/1739041.1739056"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.14778\/1453856.1453960"},{"key":"e_1_2_1_4_1","unstructured":"Amazon. 2006. Amazon elastic compute cloud. http:\/\/aws.amazon.com\/ec2\/.  Amazon. 2006. Amazon elastic compute cloud. http:\/\/aws.amazon.com\/ec2\/."},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/342009.335420"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007568.1007615"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/1807167.1807273"},{"key":"e_1_2_1_8_1","unstructured":"Blogscope. 2005. BlogScope. http:\/\/www.blogscope.net\/.  Blogscope. 2005. BlogScope. http:\/\/www.blogscope.net\/."},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.14778\/1687627.1687659"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.14778\/1454159.1454166"},{"key":"e_1_2_1_11_1","volume-title":"Proceedings of the 1st Biennial Conference on Innovative Data Systems Research (CIDR'03)","author":"Chandrasekaran Sirish","unstructured":"Sirish Chandrasekaran , Owen Cooper , Amol Deshpande , Michael J. Franklin , Joseph M. Hellerstein , Wei Hong , Sailesh Krishnamurthy , Samuel Madden , Vijayshankar Raman , Frederick Reiss , and Mehul A. Shah . 2003. TelegraphCQ: Continuous dataflow processing for an uncertain world . In Proceedings of the 1st Biennial Conference on Innovative Data Systems Research (CIDR'03) . Sirish Chandrasekaran, Owen Cooper, Amol Deshpande, Michael J. Franklin, Joseph M. Hellerstein, Wei Hong, Sailesh Krishnamurthy, Samuel Madden, Vijayshankar Raman, Frederick Reiss, and Mehul A. Shah. 2003. TelegraphCQ: Continuous dataflow processing for an uncertain world. In Proceedings of the 1st Biennial Conference on Innovative Data Systems Research (CIDR'03)."},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.5555\/645919.672647"},{"key":"e_1_2_1_13_1","volume-title":"Proceedings of the 19th International Conference on Very Large Data Bases (VLDB'96)","author":"Chaudhuri Surajit","year":"1996","unstructured":"Surajit Chaudhuri and Kyuseok Shim . 1996 . Optimization of queries with user-defined predicates . In Proceedings of the 19th International Conference on Very Large Data Bases (VLDB'96) . 87--98. Surajit Chaudhuri and Kyuseok Shim. 1996. Optimization of queries with user-defined predicates. In Proceedings of the 19th International Conference on Very Large Data Bases (VLDB'96). 87--98."},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/320248.320249"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1109\/69.687980"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/342009.335432"},{"key":"e_1_2_1_17_1","volume-title":"Proceedings of the Conference on Neural Information Processing Systems (NIPS'06)","author":"Chu Cheng-Tao","year":"2006","unstructured":"Cheng-Tao Chu , Sang Kyun Kim , Yi-An Lin , Yuan Yuan Yu , Gary Bradski , Andrew Y. Ng , and Kunie Olukotun . 2006 . MapReduce for machine learning on multicore . In Proceedings of the Conference on Neural Information Processing Systems (NIPS'06) . Cheng-Tao Chu, Sang Kyun Kim, Yi-An Lin, Yuan Yuan Yu, Gary Bradski, Andrew Y. Ng, and Kunie Olukotun. 2006. MapReduce for machine learning on multicore. In Proceedings of the Conference on Neural Information Processing Systems (NIPS'06)."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.14778\/1687553.1687576"},{"key":"e_1_2_1_19_1","volume-title":"Proceedings of the 6th Conference on Symposium on Operating Systems Design and Implementation (OSDI'04)","author":"Dean Jeffrey","year":"2004","unstructured":"Jeffrey Dean and Sanjay Ghemawat . 2004 . MapReduce: Simplified data processing on large clusters . In Proceedings of the 6th Conference on Symposium on Operating Systems Design and Implementation (OSDI'04) . 107--113. Jeffrey Dean and Sanjay Ghemawat. 2004. MapReduce: Simplified data processing on large clusters. In Proceedings of the 6th Conference on Symposium on Operating Systems Design and Implementation (OSDI'04). 107--113."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/1327452.1327492"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.14778\/1920841.1920908"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/582353.582400"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.14778\/1687553.1687567"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.14778\/1687553.1687568"},{"key":"e_1_2_1_25_1","unstructured":"Hadoop. 2007. Hadoop project. http:\/\/hadoop.apache.org\/.  Hadoop. 2007. Hadoop project. http:\/\/hadoop.apache.org\/."},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/1066157.1066201"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/191839.191904"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/170036.170078"},{"key":"e_1_2_1_29_1","volume-title":"Proceedings of the Biennial Conference on Innovative Data Systems Research (CIDR'11)","author":"Herodotou Herodotos","year":"2011","unstructured":"Herodotos Herodotou , Harold Lim , Gang Luo , Nedyalko Borisov , Liang Dong , Fatma Bilgen Cetin , and Shivnath Babu . 2011 . Starfish: A self-tuning system for big data analytics . In Proceedings of the Biennial Conference on Innovative Data Systems Research (CIDR'11) . Herodotos Herodotou, Harold Lim, Gang Luo, Nedyalko Borisov, Liang Dong, Fatma Bilgen Cetin, and Shivnath Babu. 2011. Starfish: A self-tuning system for big data analytics. In Proceedings of the Biennial Conference on Innovative Data Systems Research (CIDR'11)."},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.14778\/1978665.1978670"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.14778\/1920841.1920903"},{"key":"e_1_2_1_32_1","volume-title":"To share or not to share&quest","author":"Johnson Ryan","unstructured":"Ryan Johnson , Stavros Harizopoulos , Nikos Hardavellas , Kivanc Sabirli , Ippokratis Pandis , Anastassia Ailamaki , Naju G. Mancheril , and Babak Falsafi . 2007. To share or not to share&quest ; In Proceedings of the 33rd International Conference on Very Large Data Bases (VLDB '07). 351--362. Ryan Johnson, Stavros Harizopoulos, Nikos Hardavellas, Kivanc Sabirli, Ippokratis Pandis, Anastassia Ailamaki, Naju G. Mancheril, and Babak Falsafi. 2007. To share or not to share&quest; In Proceedings of the 33rd International Conference on Very Large Data Bases (VLDB'07). 351--362."},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/2389241.2389246"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/1376916.1376929"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/1376616.1376633"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/564691.564698"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/1265530.1265561"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.14778\/1920841.1920906"},{"key":"e_1_2_1_39_1","volume-title":"Proceedings of the Annual Technical Conference on Annual Technical Conference (ATC'08)","author":"Olston Christopher","year":"2008","unstructured":"Christopher Olston , Benjamin Reed , Adam Silberstein , and Utkarsh Srivastava . 2008 a. Automatic optimization of parallel dataflow programs . In Proceedings of the Annual Technical Conference on Annual Technical Conference (ATC'08) . 267--273. Christopher Olston, Benjamin Reed, Adam Silberstein, and Utkarsh Srivastava. 2008a. Automatic optimization of parallel dataflow programs. In Proceedings of the Annual Technical Conference on Annual Technical Conference (ATC'08). 267--273."},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/1376616.1376726"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.14778\/1687553.1687569"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.5555\/645473.653403"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/1559845.1559865"},{"key":"e_1_2_1_44_1","first-page":"277","article-title":"Interpreting the data: Parallel analysis with sawzall. Sci","volume":"13","author":"Pike Rob","year":"2005","unstructured":"Rob Pike , Sean Dorward , Robert Griesemer , and Sean Quinlan . 2005 . Interpreting the data: Parallel analysis with sawzall. Sci . Program. 13 , 4, 277 -- 298 . Rob Pike, Sean Dorward, Robert Griesemer, and Sean Quinlan. 2005. Interpreting the data: Parallel analysis with sawzall. Sci. Program. 13, 4, 277--298.","journal-title":"Program."},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.14778\/1453856.1453924"},{"key":"e_1_2_1_46_1","volume-title":"Proceedings of the 6th International Conference on Very Large Data Bases (VLDB'80)","author":"Daniel","unstructured":"Daniel J. Rosenkrantz and Harry B. Hunt III. 1980. Processing conjunctive predicates and queries . In Proceedings of the 6th International Conference on Very Large Data Bases (VLDB'80) . 64--72. Daniel J. Rosenkrantz and Harry B. Hunt III. 1980. Processing conjunctive predicates and queries. In Proceedings of the 6th International Conference on Very Large Data Bases (VLDB'80). 64--72."},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/335191.335419"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1145\/42201.42203"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1016\/0169-023X(94)90014-0"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.14778\/1687553.1687609"},{"key":"e_1_2_1_51_1","volume-title":"Proceedings of the 1st USENIX Conference on Operating Systems Design and Implementation (OSDI'94)","author":"Carl","unstructured":"Carl A. Waldspurger and William E. Weihl. 1994. Lottery scheduling: Flexible proportional-share resource management . In Proceedings of the 1st USENIX Conference on Operating Systems Design and Implementation (OSDI'94) . 1--11. Carl A. Waldspurger and William E. Weihl. 1994. Lottery scheduling: Flexible proportional-share resource management. In Proceedings of the 1st USENIX Conference on Operating Systems Design and Implementation (OSDI'94). 1--11."},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/2038916.2038927"},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1145\/2146382.2146388"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/2038916.2038928"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1145\/1247480.1247602"},{"key":"e_1_2_1_56_1","volume-title":"Proceedings of the 8th USENIX Conference on Operating Systems Design and Implementation (OSDI'08)","author":"Yu Yuan","year":"2008","unstructured":"Yuan Yu , Michael Isard , Dennis Fetterly , Mihai Budiu , Ulfar Erlingsson , Pradeep Kumar Gunda , and Jon Currey . 2008 . DryadLINQ: A system for general-purpose distributed data-parallel computing using a high-level language . In Proceedings of the 8th USENIX Conference on Operating Systems Design and Implementation (OSDI'08) . 1--14. Yuan Yu, Michael Isard, Dennis Fetterly, Mihai Budiu, Ulfar Erlingsson, Pradeep Kumar Gunda, and Jon Currey. 2008. DryadLINQ: A system for general-purpose distributed data-parallel computing using a high-level language. In Proceedings of the 8th USENIX Conference on Operating Systems Design and Implementation (OSDI'08). 1--14."},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1145\/1247480.1247540"},{"key":"e_1_2_1_58_1","volume-title":"Proceedings of the 33rd International Conference on Very Large Data Bases (VLDB'07)","author":"Zukowski Marcin","year":"2007","unstructured":"Marcin Zukowski , Sandor Heman , Niels Nes , and Peter Boncz . 2007 . Cooperative scans: Dynamic bandwidth sharing in a DBMS . In Proceedings of the 33rd International Conference on Very Large Data Bases (VLDB'07) . 723--734. Marcin Zukowski, Sandor Heman, Niels Nes, and Peter Boncz. 2007. Cooperative scans: Dynamic bandwidth sharing in a DBMS. In Proceedings of the 33rd International Conference on Very Large Data Bases (VLDB'07). 723--734."}],"container-title":["ACM Transactions on Database Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2560796","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/2560796","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T08:10:21Z","timestamp":1750234221000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2560796"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2014,5]]},"references-count":58,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2014,5]]}},"alternative-id":["10.1145\/2560796"],"URL":"https:\/\/doi.org\/10.1145\/2560796","relation":{},"ISSN":["0362-5915","1557-4644"],"issn-type":[{"value":"0362-5915","type":"print"},{"value":"1557-4644","type":"electronic"}],"subject":[],"published":{"date-parts":[[2014,5]]},"assertion":[{"value":"2012-08-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2013-12-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2014-05-26","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}