DW vs OLTP Performance Optimization in the Cloud on PostgreSQL (A Case Study)

Dakota Joiner, Mathias Clement, Shek Tom Chan, Keegan Pereira, Albert Wong, Y. Khmelevsky, Joe Mahony, Michael Ferri
{"title":"DW vs OLTP Performance Optimization in the Cloud on PostgreSQL (A Case Study)","authors":"Dakota Joiner, Mathias Clement, Shek Tom Chan, Keegan Pereira, Albert Wong, Y. Khmelevsky, Joe Mahony, Michael Ferri","doi":"10.1109/RASSE54974.2022.9989603","DOIUrl":null,"url":null,"abstract":"This case study shows the performance issues and solutions for a data warehouse (DW) performing well to serve industrial partners in improving customer data retrieval performance. An online transaction processing (OLTP) relational database and a DW were deployed in PostgreSQL and tested against each other. Several test cases were carried out with the DW, including indexing and creating pre-aggregated tables, all guided by in-depth analysis of EXPLAIN plans. Queries and DW design were continually improved throughout testing to ensure that the OLTP and DW were compared equally. Seven queries (requested by the industrial client) were used to thoroughly test different performance aspects concerning client feedback and the complexity of requests for all areas the DW might cover. On average, the data warehouse showed a one to three magnitudes increase in query execution performance, with the highest calibre results coming in at 2,493 times faster than the OLTP. All test cases showed an increase in performance over the OLTP. Additionally, the data contained in the DWtook up 24% less storage space than the OLTP. The results here indicate a promising direction to take business analytics with data warehousing, as customers will experience significant cost savings and a reduction in time to receive desired results from their data storage platforms in the cloud. The work in this case study is a continuation of previous work in a much larger project concerning integrating database technologies with machine learning to improve natural language processing solutions as a cost-saving measure for utilities consumers.","PeriodicalId":382440,"journal":{"name":"2022 IEEE International Conference on Recent Advances in Systems Science and Engineering (RASSE)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE International Conference on Recent Advances in Systems Science and Engineering (RASSE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/RASSE54974.2022.9989603","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

This case study shows the performance issues and solutions for a data warehouse (DW) performing well to serve industrial partners in improving customer data retrieval performance. An online transaction processing (OLTP) relational database and a DW were deployed in PostgreSQL and tested against each other. Several test cases were carried out with the DW, including indexing and creating pre-aggregated tables, all guided by in-depth analysis of EXPLAIN plans. Queries and DW design were continually improved throughout testing to ensure that the OLTP and DW were compared equally. Seven queries (requested by the industrial client) were used to thoroughly test different performance aspects concerning client feedback and the complexity of requests for all areas the DW might cover. On average, the data warehouse showed a one to three magnitudes increase in query execution performance, with the highest calibre results coming in at 2,493 times faster than the OLTP. All test cases showed an increase in performance over the OLTP. Additionally, the data contained in the DWtook up 24% less storage space than the OLTP. The results here indicate a promising direction to take business analytics with data warehousing, as customers will experience significant cost savings and a reduction in time to receive desired results from their data storage platforms in the cloud. The work in this case study is a continuation of previous work in a much larger project concerning integrating database technologies with machine learning to improve natural language processing solutions as a cost-saving measure for utilities consumers.
基于PostgreSQL的DW与OLTP性能优化(一个案例研究)
本案例研究展示了性能良好的数据仓库(DW)的性能问题和解决方案,以便为工业合作伙伴提供改进客户数据检索性能的服务。在PostgreSQL中部署了一个联机事务处理(OLTP)关系数据库和一个DW,并对彼此进行了测试。使用DW执行了几个测试用例,包括索引和创建预聚合表,所有这些都由对EXPLAIN计划的深入分析指导。在整个测试过程中,查询和DW设计不断得到改进,以确保OLTP和DW得到平等的比较。七个查询(由工业客户端请求)用于彻底测试与客户反馈有关的不同性能方面,以及DW可能涵盖的所有领域的请求复杂性。平均而言,数据仓库显示查询执行性能提高了1到3个数量级,最高水平的结果比OLTP快2,493倍。所有的测试用例都表明,与OLTP相比,性能有所提高。此外,dwp中包含的数据占用的存储空间比OLTP少24%。这里的结果表明了将业务分析与数据仓库结合起来的一个有希望的方向,因为客户将体验到显著的成本节约和从云中的数据存储平台接收所需结果的时间减少。本案例研究中的工作是之前一个更大项目的延续,该项目涉及将数据库技术与机器学习集成,以改进自然语言处理解决方案,为公用事业用户节省成本。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信