高并发OLTP工作负载中的性能和资源建模

Barzan Mozafari, C. Curino, Alekh Jindal, S. Madden
{"title":"高并发OLTP工作负载中的性能和资源建模","authors":"Barzan Mozafari, C. Curino, Alekh Jindal, S. Madden","doi":"10.1145/2463676.2467800","DOIUrl":null,"url":null,"abstract":"Database administrators of Online Transaction Processing (OLTP) systems constantly face difficult questions. For example, \"What is the maximum throughput I can sustain with my current hardware?\", \"How much disk I/O will my system perform if the requests per second double?\", or \"What will happen if the ratio of transactions in my system changes?\". Resource prediction and performance analysis are both vital and difficult in this setting. Here the challenge is due to high degrees of concurrency, competition for resources, and complex interactions between transactions, all of which non-linearly impact performance.\n Although difficult, such analysis is a key component in enabling database administrators to understand which queries are eating up the resources, and how their system would scale under load. In this paper, we introduce our framework, called DBSeer, that addresses this problem by employing statistical models that provide resource and performance analysis and prediction for highly concurrent OLTP workloads. Our models are built on a small amount of training data from standard log information collected during normal system operation. These models are capable of accurately measuring several performance metrics, including resource consumption on a per-transaction-type basis, resource bottlenecks, and throughput at different load levels. We have validated these models on MySQL/Linux with numerous experiments on standard benchmarks (TPC-C) and real workloads (Wikipedia), observing high accuracy (within a few percent error) when predicting all of the above metrics.","PeriodicalId":87344,"journal":{"name":"Proceedings. ACM-SIGMOD International Conference on Management of Data","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2013-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"105","resultStr":"{\"title\":\"Performance and resource modeling in highly-concurrent OLTP workloads\",\"authors\":\"Barzan Mozafari, C. Curino, Alekh Jindal, S. Madden\",\"doi\":\"10.1145/2463676.2467800\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Database administrators of Online Transaction Processing (OLTP) systems constantly face difficult questions. For example, \\\"What is the maximum throughput I can sustain with my current hardware?\\\", \\\"How much disk I/O will my system perform if the requests per second double?\\\", or \\\"What will happen if the ratio of transactions in my system changes?\\\". Resource prediction and performance analysis are both vital and difficult in this setting. Here the challenge is due to high degrees of concurrency, competition for resources, and complex interactions between transactions, all of which non-linearly impact performance.\\n Although difficult, such analysis is a key component in enabling database administrators to understand which queries are eating up the resources, and how their system would scale under load. In this paper, we introduce our framework, called DBSeer, that addresses this problem by employing statistical models that provide resource and performance analysis and prediction for highly concurrent OLTP workloads. Our models are built on a small amount of training data from standard log information collected during normal system operation. These models are capable of accurately measuring several performance metrics, including resource consumption on a per-transaction-type basis, resource bottlenecks, and throughput at different load levels. We have validated these models on MySQL/Linux with numerous experiments on standard benchmarks (TPC-C) and real workloads (Wikipedia), observing high accuracy (within a few percent error) when predicting all of the above metrics.\",\"PeriodicalId\":87344,\"journal\":{\"name\":\"Proceedings. ACM-SIGMOD International Conference on Management of Data\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2013-06-22\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"105\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings. ACM-SIGMOD International Conference on Management of Data\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/2463676.2467800\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings. ACM-SIGMOD International Conference on Management of Data","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2463676.2467800","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 105

摘要

联机事务处理(OLTP)系统的数据库管理员经常面临一些难题。例如,“我当前的硬件能够承受的最大吞吐量是多少?”、“如果每秒请求数翻倍,系统将执行多少磁盘I/O ?”或者“如果系统中的事务比率发生变化,将会发生什么?”在这种情况下,资源预测和性能分析既重要又困难。这里的挑战是由于高度的并发性、资源竞争和事务之间复杂的交互,所有这些都会非线性地影响性能。尽管很困难,但这种分析是使数据库管理员能够了解哪些查询正在消耗资源以及系统在负载下如何扩展的关键组件。在本文中,我们介绍了一个名为DBSeer的框架,该框架通过使用统计模型来解决这个问题,该模型为高度并发的OLTP工作负载提供资源和性能分析和预测。我们的模型是建立在少量的训练数据上的,这些数据来自于正常系统运行期间收集的标准日志信息。这些模型能够准确地度量几个性能指标,包括基于每个事务类型的资源消耗、资源瓶颈和不同负载级别下的吞吐量。我们在MySQL/Linux上对这些模型进行了验证,并在标准基准测试(TPC-C)和实际工作负载(Wikipedia)上进行了大量实验,在预测所有上述指标时观察到很高的准确性(误差在几个百分点以内)。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Performance and resource modeling in highly-concurrent OLTP workloads
Database administrators of Online Transaction Processing (OLTP) systems constantly face difficult questions. For example, "What is the maximum throughput I can sustain with my current hardware?", "How much disk I/O will my system perform if the requests per second double?", or "What will happen if the ratio of transactions in my system changes?". Resource prediction and performance analysis are both vital and difficult in this setting. Here the challenge is due to high degrees of concurrency, competition for resources, and complex interactions between transactions, all of which non-linearly impact performance. Although difficult, such analysis is a key component in enabling database administrators to understand which queries are eating up the resources, and how their system would scale under load. In this paper, we introduce our framework, called DBSeer, that addresses this problem by employing statistical models that provide resource and performance analysis and prediction for highly concurrent OLTP workloads. Our models are built on a small amount of training data from standard log information collected during normal system operation. These models are capable of accurately measuring several performance metrics, including resource consumption on a per-transaction-type basis, resource bottlenecks, and throughput at different load levels. We have validated these models on MySQL/Linux with numerous experiments on standard benchmarks (TPC-C) and real workloads (Wikipedia), observing high accuracy (within a few percent error) when predicting all of the above metrics.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信