Saving Money for Analytical Workloads in the Cloud

Tapan Srivastava, Raul Castro Fernandez
{"title":"Saving Money for Analytical Workloads in the Cloud","authors":"Tapan Srivastava, Raul Castro Fernandez","doi":"arxiv-2408.00253","DOIUrl":null,"url":null,"abstract":"As users migrate their analytical workloads to cloud databases, it is\nbecoming just as important to reduce monetary costs as it is to optimize query\nruntime. In the cloud, a query is billed based on either its compute time or\nthe amount of data it processes. We observe that analytical queries are either\ncompute- or IO-bound and each query type executes cheaper in a different\npricing model. We exploit this opportunity and propose methods to build cheaper\nexecution plans across pricing models that complete within user-defined runtime\nconstraints. We implement these methods and produce execution plans spanning\nmultiple pricing models that reduce the monetary cost for workloads by as much\nas 56%. We reduce individual query costs by as much as 90%. The prices chosen\nby cloud vendors for cloud services also impact savings opportunities. To study\nthis effect, we simulate our proposed methods with different cloud prices and\nobserve that multi-cloud savings are robust to changes in cloud vendor prices.\nThese results indicate the massive opportunity to save money by executing\nworkloads across multiple pricing models.","PeriodicalId":501123,"journal":{"name":"arXiv - CS - Databases","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Databases","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2408.00253","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

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.
为云分析工作负载节省资金
随着用户将分析工作负载迁移到云数据库,降低货币成本与优化查询时间变得同等重要。在云中,查询根据其计算时间或处理的数据量计费。我们观察到,分析查询要么受计算约束,要么受 IO 约束,而且每种查询类型在不同的定价模式下执行成本更低。我们利用这一机会,提出了在用户定义的运行时间限制内跨定价模型构建廉价执行计划的方法。我们实施了这些方法,并生成了跨越多个定价模型的执行计划,这些计划将工作负载的货币成本降低了 56%。我们将单个查询成本降低了 90%。云供应商为云服务选择的价格也会影响节省成本的机会。为了研究这种影响,我们用不同的云价格模拟了我们提出的方法,结果发现多云节省的成本对云供应商价格的变化是稳健的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信