arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.07172cs.DB
收藏

Lauca:生成面向应用程序的合成工作负载

Lauca: Generating Application-Oriented Synthetic Workloads

Yuming Li, Rong Zhang, Yuchen Li, Ke Shu, Shuyan Zhang, Aoying Zhou

摘要:

综合负载是数据库系统性能评估的基础和关键。在对特定应用的数据库性能进行评估时,综合负载与实际应用负载的相似性决定了评估结果的可信度。但目前用于性能评估的工作负载很难与目标应用具有相同的工作负载特征,导致评估结果不准确。为了解决这个问题,我们提出了一个工作负载复制器(Lauca),可以生成具有高度相似的性能指标的特定应用程序的合成工作负载。据我们所知,Lauca是第一个面向应用程序的事务性工作负载生成器。通过对面向应用的合成负载生成问题的深入研究,提出了在线事务处理(OLTP)应用的关键负载特征(事务逻辑和数据访问分布),并提出了新的负载特征描述和生成算法,保证了合成负载的高保真度.我们在MySQL和PostgreSQL数据库上使用TPC-C,SmallBank和微基准测试的工作负载进行了广泛的实验,实验结果表明Lauca始终生成高质量的合成工作负载。

英文摘要:

The synthetic workload is essential and critical to the performance evaluation of database systems. When evaluating the database performance for a specific application, the similarity between synthetic workload and real application workload determines the credibility of evaluation results. However, the workload currently used for performance evaluation is difficult to have the same workload characteristics as the target application, which leads to inaccurate evaluation results. To address this problem, we propose a workload duplicator (Lauca) that can generate synthetic workloads with highly similar performance metrics for specific applications. To the best of our knowledge, Lauca is the first application-oriented transactional workload generator. By carefully studying the application-oriented synthetic workload generation problem, we present the key workload characteristics (transaction logic and data access distribution) of online transaction processing (OLTP) applications, and propose novel workload characterization and generation algorithms, which guarantee the high fidelity of synthetic workloads. We conduct extensive experiments using workloads from TPC-C, SmallBank and micro benchmarks on both MySQL and PostgreSQL databases, and experimental results show that Lauca consistently generates high-quality synthetic workloads.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑