{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,9,17]],"date-time":"2025-09-17T15:21:38Z","timestamp":1758122498988,"version":"3.41.0"},"reference-count":33,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2023,6,13]],"date-time":"2023-06-13T00:00:00Z","timestamp":1686614400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Manag. Data"],"published-print":{"date-parts":[[2023,6,13]]},"abstract":"<jats:p>Large data warehouses store interdependent tables that are updated independently in response to business logic changes or late arrival of critical data. To keep the warehouse consistent, changes to upstream tables need to be propagated to downstream tables in a timely fashion. However, a naive change propagation algorithm can cause many unnecessary updates or recalculations of downstream tables, which drives up the cost of data warehouse management.<\/jats:p>\n          <jats:p>In this paper, we describe our solution that can ensure the eventual consistency of the data warehouse while avoiding unnecessary table updates. We also show that the optimal trade-off between computational cost reduction and meeting data freshness constraints can be found by solving a dynamic programming problem.<\/jats:p>\n          <jats:p>The proposed solution is currently in production to manage the YouTube Data Warehouse and has reduced update requests by 25% by eliminating non-trivial duplicates. These requests would have been carried out by large batch jobs over big data. Eliminating them has led to a proportionate reduction in computing resources.<\/jats:p>\n          <jats:p>One key advantage of our approach is that it can be used in a heterogeneous, distributed data warehouse environment where the operator software may not have complete control over the query processors. This is because our approach only relies on having dependency information for tables and can operate on the post-state of data sources.<\/jats:p>","DOI":"10.1145\/3589770","type":"journal-article","created":{"date-parts":[[2023,6,20]],"date-time":"2023-06-20T20:26:45Z","timestamp":1687292805000},"page":"1-25","source":"Crossref","is-referenced-by-count":2,"title":["Keep Your Distributed Data Warehouse Consistent at a Minimal Cost"],"prefix":"10.1145","volume":"1","author":[{"ORCID":"https:\/\/orcid.org\/0009-0004-6513-9983","authenticated-orcid":false,"given":"Zhichen","family":"Xu","sequence":"first","affiliation":[{"name":"Google LLC, Mountain View, CA, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-3869-0488","authenticated-orcid":false,"given":"Ying","family":"Gao","sequence":"additional","affiliation":[{"name":"Google LLC, Mountain View, CA, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0009-0002-3364-0699","authenticated-orcid":false,"given":"Andrew","family":"Davidson","sequence":"additional","affiliation":[{"name":"Google LLC, Mountain View, CA, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2023,6,20]]},"reference":[{"key":"e_1_2_1_1_1","first-page":"1","article-title":"Column-stores vs. row-stores: How different are they really","volume":"38","author":"Abadi Ahmed","year":"2009","unstructured":"Ahmed Abadi. 2009. Column-stores vs. row-stores: How different are they really? SIGMOD Record, Vol. 38, 1 (2009), 1--18.","journal-title":"SIGMOD Record"},{"key":"e_1_2_1_2_1","first-page":"2","article-title":"Efficient View Maintenance at Data Warehouses","volume":"26","author":"Agrawal D.","year":"1997","unstructured":"D. Agrawal, A. El Abbadi, A. Singh, and T. Yurek. 1997. Efficient View Maintenance at Data Warehouses. SIGMOD Record (ACM Special Interest Group on Management of Data), Vol. 26, 2 (June 1997), 417--427. showCODENSRECD8","journal-title":"SIGMOD Record (ACM Special Interest Group on Management of Data)"},{"key":"e_1_2_1_3_1","unstructured":"Amazon Web Services (AWS). 2023. AWS CodePipeline. Amazon.com Inc. https:\/\/aws.amazon.com\/codepipeline\/ [Accessed: November 29 2022]."},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/1206348.1206388"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/16856.16861"},{"key":"e_1_2_1_6_1","first-page":"363","article-title":"FlumeJava: Easy, Efficient Data-Parallel Pipelines. In ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI). Association for Computing Machinery, 2 Penn Plaza, Suite 701 New York","volume":"10121","author":"Chambers Craig","year":"2010","unstructured":"Craig Chambers, Ashish Raniwala, Frances Perry, Stephen Adams, Robert Henry, and Robert Bradshaw. 2010. FlumeJava: Easy, Efficient Data-Parallel Pipelines. In ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI). Association for Computing Machinery, 2 Penn Plaza, Suite 701 New York, NY 10121-0701, 363--375. http:\/\/dl.acm.org\/citation.cfm?id=1806638","journal-title":"NY"},{"key":"e_1_2_1_7_1","volume-title":"Nikita Mikhaylin, Hung ching Lee, Xiaoyan Zhao, Guanzhong Xu, Luis Antonio Perez, Farhad Shahmohammadi, Tran Bui, Neil McKay, Vera Lychagina, and Brett Elliott.","author":"Chattopadhyay Biswapesh","year":"2019","unstructured":"Biswapesh Chattopadhyay, Priyam Dutta, Weiran Liu, Ott Tinn, Andrew McCormick, Aniket Mokashi, Paul Harvey, Hector Gonzalez, David Lomax, Sagar Mittal, Roee Aharon Ebenstein, Nikita Mikhaylin, Hung ching Lee, Xiaoyan Zhao, Guanzhong Xu, Luis Antonio Perez, Farhad Shahmohammadi, Tran Bui, Neil McKay, Vera Lychagina, and Brett Elliott. 2019. Procella: Unifying serving and analytical data at YouTube. PVLDB, Vol. 12(12) (2019), 2022--2034. https:\/\/dl.acm.org\/citation.cfm?id=3360438"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.5555\/3434127.3437541"},{"key":"e_1_2_1_9_1","first-page":"2","article-title":"Algorithms for deferred view maintenance","volume":"25","author":"Colby Latha S.","year":"1996","unstructured":"Latha S. Colby, Timothy Griffin, Leonid Libkin, Inderpal Singh Mumick, and Howard Trickey. 1996. Algorithms for deferred view maintenance. SIGMOD Record (ACM Special Interest Group on Management of Data), Vol. 25, 2 (June 1996), 469--480. showCODENSRECD8","journal-title":"SIGMOD Record (ACM Special Interest Group on Management of Data)"},{"key":"e_1_2_1_10_1","unstructured":"Start data engineering. 2021. How to backfill a SQL query using Apache Airflow. Start Data Engineering. http:\/\/www.startdataengineering.com Retrieved Jan 6 2021 from"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/1920841.1920889"},{"key":"e_1_2_1_12_1","volume-title":"Google Cloud. [Accessed","author":"Google","year":"2023","unstructured":"Google LLC. 2023. Google Cloud Dataflow Documentation: Data Pipelines. Google Cloud. [Accessed: November 29, 2022]."},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/568271.223849"},{"key":"e_1_2_1_14_1","volume-title":"Mesa: Geo-Replicated, Near Real-Time, Scalable Data Warehousing. In VLDB. VLDB Endowment, Hangzhou, China, 1285--1296.","author":"Gupta Ashish","year":"2014","unstructured":"Ashish Gupta, Fan Yang, Jason Govig, Adam Kirsch, Kelvin Chan, Kevin Lai, Shuo Wu, Sandeep Dhoot, Abhilash Kumar, Ankur Agiwal, Sanjay Bhansali, Mingsheng Hong, Jamie Cameron, Masood Siddiqi, David Jones, Jeff Shute, Andrey Gubarev, Shivakumar Venkataraman, and Divyakant Agrawal. 2014. Mesa: Geo-Replicated, Near Real-Time, Scalable Data Warehousing. In VLDB. VLDB Endowment, Hangzhou, China, 1285--1296."},{"key":"e_1_2_1_15_1","first-page":"1","article-title":"The Design and Implementation of Modern Column-Oriented Database Systems","volume":"35","author":"Idreos Stratos","year":"2010","unstructured":"Stratos Idreos and Dimitris Papadias. 2010. The Design and Implementation of Modern Column-Oriented Database Systems. Transactions on Database Systems, Vol. 35, 4 (2010), 1--58.","journal-title":"Transactions on Database Systems"},{"key":"e_1_2_1_16_1","volume-title":"Proceedings of the 33rd international conference on Very large data bases.","volume":"1","author":"Hicham","year":"2007","unstructured":"Hicham G. Elmongui Jinren Zhou, Per-Ake Larson. 2007. Lazy maintenance of materialized views. Proceedings of the 33rd international conference on Very large data bases., Vol. 1, 1 (2007), 231--242."},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/1058150.1058158"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.14778\/1453856.1453890"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/2452369.2452372"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/2983551"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1109\/BigData47090.2019.9005614"},{"key":"e_1_2_1_22_1","first-page":"2","article-title":"On-line Warehouse View Maintenance","volume":"26","author":"Quass Dallan","year":"1997","unstructured":"Dallan Quass and Jennifer Widom. 1997. On-line Warehouse View Maintenance. SIGMOD Record (ACM Special Interest Group on Management of Data), Vol. 26, 2 (June 1997), 393--404. showCODENSRECD8","journal-title":"SIGMOD Record (ACM Special Interest Group on Management of Data)"},{"key":"e_1_2_1_23_1","volume-title":"Snowflake Data Load Auto-Ingest with Snowpipe","author":"Snowflake Inc. 2023.","year":"2022","unstructured":"Snowflake Inc. 2023. Snowflake Data Load Auto-Ingest with Snowpipe. Snowflake Inc. Accessed: November 29, 2022."},{"key":"e_1_2_1_24_1","volume-title":"Proceedings of the 17th International Conference on Very Large Data Bases.","volume":"1","author":"Stefano Ceri Jennifer Widom","year":"1991","unstructured":"Jennifer Widom Stefano Ceri. 1991. Deriving Production Rules for Incremental View Maintenance. Proceedings of the 17th International Conference on Very Large Data Bases., Vol. 1, 1 (1991), 577--589."},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/3447865.3457969"},{"key":"e_1_2_1_26_1","volume-title":"Apache Airflow Documentation: Scheduler","author":"Software Foundation The Apache","year":"2022","unstructured":"The Apache Software Foundation. 2023. Apache Airflow Documentation: Scheduler. The Apache Software Foundation. Accessed: November 29, 2022."},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1109\/DASFAA.1999.753869"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/3035918.3035944"},{"key":"e_1_2_1_29_1","volume-title":"Data Pipeline. Data Pipeline Community. https:\/\/dataengineering.wiki\/Concepts\/DataPipeline [Accessed","author":"Wiki Data Pipeline","year":"2022","unstructured":"Data Pipeline Wiki. 2022. Data Pipeline. Data Pipeline Community. https:\/\/dataengineering.wiki\/Concepts\/DataPipeline [Accessed: June 5, 2022]."},{"volume-title":"Monotonic function","year":"2021","key":"e_1_2_1_30_1","unstructured":"Wikipedia. 2021. Monotonic function. Wikipedia Foundation, Inc. https:\/\/en.wikipedia.org\/wiki\/Monotonic_function Retrieved June 28, 2021 from"},{"volume-title":"Service-level objective","year":"2021","key":"e_1_2_1_31_1","unstructured":"Wikipedia. 2021. Service-level objective. Wikipedia Foundation, Inc. https:\/\/en.wikipedia.org\/wiki\/Service-level_objective Retrieved December 20, 2021 from"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.is.2017.07.002"},{"volume-title":"Proceedings 13th International Conference on Data Engineering. IEEE Computer Society","author":"Zhuge Yue","key":"e_1_2_1_33_1","unstructured":"Yue Zhuge, J.L. Wiener, and H. Garcia-Molina. 1997. Multiple view consistency for data warehousing. In Proceedings 13th International Conference on Data Engineering. IEEE Computer Society, Birmingham, AL, USA, 289--300."}],"container-title":["Proceedings of the ACM on Management of Data"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3589770","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3589770","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T17:49:22Z","timestamp":1750182562000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3589770"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,6,13]]},"references-count":33,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2023,6,13]]}},"alternative-id":["10.1145\/3589770"],"URL":"https:\/\/doi.org\/10.1145\/3589770","relation":{},"ISSN":["2836-6573"],"issn-type":[{"type":"electronic","value":"2836-6573"}],"subject":[],"published":{"date-parts":[[2023,6,13]]}}}