{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,30]],"date-time":"2026-09-30T06:33:42Z","timestamp":1790750022702,"version":"4.1.0"},"reference-count":78,"publisher":"Association for Computing Machinery (ACM)","issue":"11","content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2024,7]]},"abstract":"<jats:p>As users migrate their analytical workloads to cloud databases, it is becoming just as important to reduce monetary costs as it is to optimize query runtime. In the cloud, a query is billed based on either its compute time or the amount of data it processes. We observe that analytical queries are either compute- or IO-bound and each query type executes cheaper in a different pricing model. We exploit this opportunity and propose methods to build cheaper execution plans across pricing models that complete within user-defined runtime constraints. We implement these methods and produce execution plans spanning multiple pricing models that reduce the monetary cost for workloads by as much as 56%. We reduce individual query costs by as much as 90%. The prices chosen by cloud vendors for cloud services also impact savings opportunities. To study this effect, we simulate our proposed methods with different cloud prices and observe that multi-cloud savings are robust to changes in cloud vendor prices. These results indicate the massive opportunity to save money by executing workloads across multiple pricing models.<\/jats:p>","DOI":"10.14778\/3681954.3682018","type":"journal-article","created":{"date-parts":[[2024,8,30]],"date-time":"2024-08-30T16:23:36Z","timestamp":1725035016000},"page":"3524-3537","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":3,"title":["Saving Money for Analytical Workloads in the Cloud"],"prefix":"10.14778","volume":"17","author":[{"given":"Tapan","family":"Srivastava","sequence":"first","affiliation":[{"name":"The University of Chicago"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Raul Castro","family":"Fernandez","sequence":"additional","affiliation":[{"name":"The University of Chicago"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2024,8,30]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.14778\/3415478.3415545"},{"key":"e_1_2_1_2_1","unstructured":"Amazon Athena [n.d.]. Amazon Athena - Serverless Interactive Query Service - Amazon Web Services. Retrieved 2023-11-21 from https:\/\/aws.amazon.com\/athena\/"},{"key":"e_1_2_1_3_1","unstructured":"Apache Arrow [n.d.]. Apache Arrow. Retrieved 2024-02-13 from https:\/\/arrow.apache.org"},{"key":"e_1_2_1_4_1","unstructured":"Apache Parquet [n.d.]. Apache Parquet. Retrieved 2022-12-17 from https:\/\/parquet.apache.org\/"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2742797"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/3514221.3526045"},{"key":"e_1_2_1_7_1","unstructured":"Auto-MV [n.d.]. Automated materialized views - Amazon Redshift. Retrieved 2023-04-02 from https:\/\/docs.aws.amazon.com\/redshift\/latest\/dg\/materialized-view-auto-mv.html"},{"key":"e_1_2_1_8_1","unstructured":"AWS Batch [n.d.]. What is Batch Processing? - Batch Processing Systems Explained - AWS. Retrieved 2023-04-02 from https:\/\/aws.amazon.com\/what-is\/batch-processing\/"},{"key":"e_1_2_1_9_1","unstructured":"AWS Batch Processing [n.d.]. Batch data processing - Data Analytics Lens. Retrieved 2024-01-07 from https:\/\/docs.aws.amazon.com\/wellarchitected\/latest\/analytics-lens\/batch-data-processing.html"},{"key":"e_1_2_1_10_1","unstructured":"Azure Synapse [n.d.]. Azure Synapse Analytics | Microsoft Azure. Retrieved 2023-11-21 from https:\/\/azure.microsoft.com\/en-us\/products\/synapse-analytics\/"},{"key":"e_1_2_1_11_1","volume-title":"14th Conference on Innovative Data Systems Research, CIDR 2024","author":"Bang Tiemo","year":"2024","unstructured":"Tiemo Bang, Conor Power, Siavash Ameli, Natacha Crooks, and Joseph M. Hellerstein. 2024. Optimizing the cloud? Don't train models. Build oracles!. In 14th Conference on Innovative Data Systems Research, CIDR 2024, Chaminade, HI, USA, January 14--17, 2024. www.cidrdb.org. https:\/\/www.cidrdb.org\/cidr2024\/papers\/p47-bang.pdf"},{"key":"e_1_2_1_12_1","unstructured":"BatchExecuteStatement [n.d.]. BatchExecuteStatement. Retrieved 2024-02-07 from https:\/\/docs.aws.amazon.com\/redshift-data\/latest\/APIReference\/API_BatchExecuteStatement.html"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/3183713.3190662"},{"key":"e_1_2_1_14_1","unstructured":"BigQuery [n.d.]. What is BigQuery? Retrieved 2023-11-21 from https:\/\/cloud.google.com\/bigquery\/docs\/introduction"},{"key":"e_1_2_1_15_1","unstructured":"BigQuery analytics [n.d.]. Overview of BigQuery analytics. Retrieved 2024-01-07 from https:\/\/cloud.google.com\/bigquery\/docs\/query-overview"},{"key":"e_1_2_1_16_1","unstructured":"BigQuery Optimizing [n.d.]. Introduction to optimizing query performance | BigQuery. Retrieved 2023-04-14 from https:\/\/cloud.google.com\/bigquery\/docs\/best-practices-performance-overview"},{"key":"e_1_2_1_17_1","unstructured":"BigQuery Pricing Change [n.d.]. Introducing new BigQuery pricing editions. Retrieved 2023-04-09 from https:\/\/cloud.google.com\/blog\/products\/data-analytics\/introducing-new-bigquery-pricing-editions"},{"key":"e_1_2_1_18_1","unstructured":"BigQuery Reliability [n.d.]. Understand reliability | BigQuery. Retrieved 2024-02-11 from https:\/\/cloud.google.com\/bigquery\/docs\/reliability-intro#real-time_analytics"},{"key":"e_1_2_1_19_1","unstructured":"Ranjan Burman Amit Nayak Bosco Albuquerque and Nita Shah. 2022. Best practices to optimize your Amazon Redshift and MicroStrategy deployment | AWS Big Data Blog. Retrieved 2023-04-14 from https:\/\/aws.amazon.com\/blogs\/big-data\/best-practices-to-optimize-your-amazon-redshift-and-microstrategy-deployment\/"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/2814864.2814886"},{"key":"e_1_2_1_21_1","volume-title":"Koushik Sen, Scott Shenker, Dawn Song, and Ion Stoica.","author":"Chasins Sarah","year":"2022","unstructured":"Sarah Chasins, Alvin Cheung, Natacha Crooks, Ali Ghodsi, Ken Goldberg, Joseph E. Gonzalez, Joseph M. Hellerstein, Michael I. Jordan, Anthony D. Joseph, Michael W. Mahoney, Aditya Parameswaran, David Patterson, Raluca Ada Popa, Koushik Sen, Scott Shenker, Dawn Song, and Ion Stoica. 2022. The Sky Above The Clouds. arXiv:2205.07147 [cs.DC] https:\/\/arxiv.org\/abs\/2205.07147"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/304182.304206"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-002-0070-0"},{"key":"e_1_2_1_24_1","volume-title":"Meet Our Customers | CloudZero. Retrieved 2023-11-20 from https:\/\/www.cloudzero.com\/customers","unstructured":"CloudZero. [n.d.]. Meet Our Customers | CloudZero. Retrieved 2023-11-20 from https:\/\/www.cloudzero.com\/customers"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/2882903.2903741"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.5555\/645922.673462"},{"key":"e_1_2_1_27_1","unstructured":"Dashboard [n.d.]. Real-World Examples of Business Intelligence (BI) Dashboards. Retrieved 2023-04-09 from https:\/\/www.tableau.com\/learn\/articles\/business-intelligence-dashboards-examples"},{"key":"e_1_2_1_28_1","unstructured":"Databricks Data Lakes [n.d.]. Introduction to Data Lakes. Retrieved 2023-04-14 from https:\/\/www.databricks.com\/discover\/data-lakes"},{"key":"e_1_2_1_29_1","unstructured":"Bappaditya Datta. 2022. Data warehouse and business intelligence technology consolidation using AWS. Retrieved 2024-01-07 from https:\/\/aws.amazon.com\/blogs\/architecture\/data-warehouse-and-business-intelligence-technology-consolidation-using-aws\/"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1007\/11685654_10"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.14778\/3476249.3476292"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/321694.321699"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1007\/11687238_50"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2009.130"},{"key":"e_1_2_1_35_1","unstructured":"Kevin Goff. [n.d.]. The Baker's Dozen: 13 Tips for Better Extract\/Transform\/Load (ETL) Practices in Data Warehousing (Part 1 of 2). Retrieved 2023-04-09 from https:\/\/www.codemag.com\/article\/1709051\/The-Baker%E2%80%99s-Dozen-13-Tips-for-Better-Extract-Transform-Load-ETL-Practices-in-Data-Warehousing-Part-1-of-2"},{"key":"e_1_2_1_36_1","unstructured":"Google BigQuery Storage Pricing [n.d.]. Pricing | BigQuery: Cloud Data Warehouse. Retrieved 2023-04-14 from https:\/\/cloud.google.com\/bigquery\/pricing"},{"key":"e_1_2_1_37_1","unstructured":"Google ETL [n.d.]. What is ETL? Retrieved 2023-04-09 from https:\/\/cloud.google.com\/learn\/what-is-etl"},{"key":"e_1_2_1_38_1","unstructured":"T. Heller S. O. Krumke and K. H. K\u00fcfer. 2021. The Reward-Penalty-Selection Problem. arXiv:2106.14601 [cs.CC] https:\/\/arxiv.org\/abs\/2106.14601"},{"key":"e_1_2_1_39_1","unstructured":"Randall Hunt. 2017. S3 Select and Glacier Select - Retrieving Subsets of Objects | AWS News Blog. Retrieved 2023-11-21 from https:\/\/aws.amazon.com\/blogs\/aws\/s3-glacier-select\/"},{"key":"e_1_2_1_40_1","unstructured":"IBM Serial Batch [n.d.]. What is a workload? Retrieved 2024-02-07 from https:\/\/www.ibm.com\/topics\/workload"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/564691.564751"},{"key":"e_1_2_1_42_1","volume-title":"Proceedings of the 2020 USENIX Conference on Usenix Annual Technical Conference (USENIX ATC'20). USENIX Association, Article 15","author":"Keahey Kate","year":"2020","unstructured":"Kate Keahey, Jason Anderson, Zhuo Zhen, Pierre Riteau, Paul Ruth, Dan Stanzione, Mert Cevik, Jacob Colleran, Haryadi S. Gunawi, Cody Hammock, Joe Mambretti, Alexander Barnes, Fran\u00e7ois Halbach, Alex Rocha, and Joe Stubbs. 2020. Lessons learned from the Chameleon testbed. In Proceedings of the 2020 USENIX Conference on Usenix Annual Technical Conference (USENIX ATC'20). USENIX Association, Article 15, 15 pages."},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/377674.377677"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/304181.304215"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.14778\/2850583.2850594"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.14778\/3461535.3461549"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10619-018-7244-2"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1145\/3448016.3457277"},{"key":"e_1_2_1_49_1","unstructured":"Guy Lohman. 2014. Is Query Optimization a \"Solved\" Problem? - ACM SIGMOD Blog. Retrieved 2022-12-19 from http:\/\/wp.sigmod.org\/?p=1075"},{"key":"e_1_2_1_50_1","unstructured":"John Martinez. 2021. 50 Years Of ETL: Can SQL For ETL Be Replaced? Retrieved 2023-04-09 from https:\/\/www.datanami.com\/2021\/05\/06\/50-years-of-etl-can-sql-for-etl-be-replaced\/"},{"key":"e_1_2_1_51_1","unstructured":"McKinsey [n.d.]. Cloud cost-optimization simulator | McKinsey. Retrieved 2023-11-20 from https:\/\/www.mckinsey.com\/capabilities\/mckinsey-digital\/our-insights\/cloud-cost-optimization-simulator"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/583890.583895"},{"key":"e_1_2_1_53_1","volume-title":"VLDB (Seoul, Korea) (VLDB '06)","author":"Nambiar Raghunath Othayoth","unstructured":"Raghunath Othayoth Nambiar and Meikel Poess. 2006. The Making of TPC-DS.. In VLDB (Seoul, Korea) (VLDB '06), Vol. 6. 1049--1058."},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2014.6816678"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2019.00191"},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1145\/3241039"},{"key":"e_1_2_1_57_1","unstructured":"Avijit Prasad. 2022. Data lakes - Azure Architecture Center. Retrieved 2023-04-14 from https:\/\/learn.microsoft.com\/en-us\/azure\/architecture\/data-guide\/scenarios\/data-lake"},{"key":"e_1_2_1_58_1","unstructured":"Presto [n.d.]. Presto: Free Open-Source SQL Query Engine for any Data. Retrieved 2023-11-21 from http:\/\/prestodb.github.io\/"},{"key":"e_1_2_1_59_1","unstructured":"Redshift Spectrum [n.d.]. Spectrum performance caching and performance | AWS re:Post. Retrieved 2023-04-02 from https:\/\/repost.aws\/questions\/QUaVNX2NJ0REm95-dhZY4O5A\/spectrum-performance-caching-and-performance"},{"key":"e_1_2_1_60_1","unstructured":"Matt Scaer Manish Vazirani and Tarun Chaudhary. 2020. Top 10 performance tuning techniques for Amazon Redshift | AWS Big Data Blog. Retrieved 2023-04-14 from https:\/\/aws.amazon.com\/blogs\/big-data\/top-10-performance-tuning-techniques-for-amazon-redshift\/"},{"key":"e_1_2_1_61_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2019.00196"},{"key":"e_1_2_1_62_1","unstructured":"Pathik Sharma and James Fu. [n.d.]. Cost optimization best practices for Big-Query. Retrieved 2023-04-14 from https:\/\/cloud.google.com\/blog\/products\/data-analytics\/cost-optimization-best-practices-for-bigquery"},{"key":"e_1_2_1_63_1","unstructured":"Snappy [n.d.]. snappy. Retrieved 2022-12-29 from http:\/\/google.github.io\/snappy\/"},{"key":"e_1_2_1_64_1","unstructured":"Snowflake ETL [n.d.]. The Pitfalls of ETL Processing. Retrieved 2023-04-09 from https:\/\/www.snowflake.com\/guides\/pitfalls-etl-processing"},{"key":"e_1_2_1_65_1","doi-asserted-by":"publisher","DOI":"10.14778\/3574245.3574270"},{"key":"e_1_2_1_66_1","doi-asserted-by":"publisher","DOI":"10.14778\/3352063.3352133"},{"key":"e_1_2_1_67_1","unstructured":"Zoiner Tejada. [n.d.]. Online analytical processing (OLAP) - Azure Architecture Center. Retrieved 2024-01-07 from https:\/\/learn.microsoft.com\/en-us\/azure\/architecture\/data-guide\/relational-data\/online-analytical-processing"},{"key":"e_1_2_1_68_1","unstructured":"The Duckbill Group [n.d.]. Duckbill. Retrieved 2023-11-20 from https:\/\/www.duckbillgroup.com\/"},{"key":"e_1_2_1_69_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2010.5447738"},{"key":"e_1_2_1_70_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2010.5447738"},{"key":"e_1_2_1_71_1","unstructured":"TPC-DS [n.d.]. TPC Benchmark DS. Retrieved 2024-02-13 from https:\/\/www.tpc.org\/TPC_Documents_Current_Versions\/pdf\/TPC-DS_v3.2.0.pdf"},{"key":"e_1_2_1_72_1","unstructured":"What is OLAP? [n.d.]. What is Online Analytical Processing? - Online Analytical Processing Explained - AWS. Retrieved 2024-01-07 from https:\/\/aws.amazon.com\/what-is\/olap\/"},{"key":"e_1_2_1_73_1","volume-title":"Cost-Aware Overlay Multicast in the Cloud. In 21st USENIX Symposium on Networked Systems Design and Implementation (NSDI 24)","author":"Wooders Sarah","year":"2024","unstructured":"Sarah Wooders, Shu Liu, Paras Jain, Xiangxi Mo, Joseph E. Gonzalez, Vincent Liu, and Ion Stoica. 2024. Cloudcast: High-Throughput, Cost-Aware Overlay Multicast in the Cloud. In 21st USENIX Symposium on Networked Systems Design and Implementation (NSDI 24). USENIX Association, Santa Clara, CA, 281--296. https:\/\/www.usenix.org\/conference\/nsdi24\/presentation\/wooders"},{"key":"e_1_2_1_74_1","doi-asserted-by":"publisher","DOI":"10.1007\/s11227-015-1438-4"},{"key":"e_1_2_1_75_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2013.6544899"},{"key":"e_1_2_1_76_1","volume-title":"21st USENIX Symposium on Networked Systems Design and Implementation (NSDI 24)","author":"Wu Zhanghao","year":"2024","unstructured":"Zhanghao Wu, Wei-Lin Chiang, Ziming Mao, Zongheng Yang, Eric Friedman, Scott Shenker, and Ion Stoica. 2024. Can't Be Late: Optimizing Spot Instance Savings under Deadlines. In 21st USENIX Symposium on Networked Systems Design and Implementation (NSDI 24). USENIX Association, Santa Clara, CA, 185--203. https:\/\/www.usenix.org\/conference\/nsdi24\/presentation\/wu-zhanghao"},{"key":"e_1_2_1_77_1","doi-asserted-by":"publisher","DOI":"10.14778\/3368289.3368294"},{"key":"e_1_2_1_78_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE48307.2020.00174"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3681954.3682018","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,9,4]],"date-time":"2024-09-04T18:30:20Z","timestamp":1725474620000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3681954.3682018"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,7]]},"references-count":78,"journal-issue":{"issue":"11","published-print":{"date-parts":[[2024,7]]}},"alternative-id":["10.14778\/3681954.3682018"],"URL":"https:\/\/doi.org\/10.14778\/3681954.3682018","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2024,7]]},"assertion":[{"value":"2024-08-30","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}