跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2107.03660 (cs)
[提交于 2021年7月9日]

标题:Duplicate-sensitivity Guided Transformation Synthesis for DBMS Correctness Bug Detection

作者:Yushan Zhang, Peisen Yao, Rongxin Wu, Charles Zhang
查看论文《Duplicate-sensitivity Guided Transformation Synthesis for DBMS Correctness Bug Detection》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Database Management System (DBMS) plays a core role in modern software from mobile apps to online banking. It is critical that DBMS should provide correct data to all applications. When the DBMS returns incorrect data, a correctness bug is triggered. Current production-level DBMSs still suffer from insufficient testing due to the limited hand-written test cases. Recently several works proposed to automatically generate many test cases with query transformation, a process of generating an equivalent query pair and testing a DBMS by checking whether the system returns the same result set for both queries. However, all of them still heavily rely on manual work to provide a transformation which largely confines their exploration of the valid input query space. This paper introduces duplicate-sensitivity guided transformation synthesis which automatically finds new transformations by first synthesizing many candidates then filtering the nonequivalent ones. Our automated synthesis is achieved by mutating a query while keeping its duplicate sensitivity, which is a necessary condition for query equivalence. After candidate synthesis, we keep the mutant query which is equivalent to the given one by using a query equivalent checker. Furthermore, we have implemented our idea in a tool Eqsql and used it to test the production-level DBMSs. In two months, we detected in total 30 newly confirmed and unique bugs in MySQL, TiDB and CynosDB.
评论: 11 pages, 6 figures, 7 tables
主题: 软件工程 (cs.SE); 数据库 (cs.DB); 程序设计语言 (cs.PL)
引用方式: arXiv:2107.03660 [cs.SE]
  (或者 arXiv:2107.03660v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2107.03660

提交历史

来自:Yushan Zhang
[v1] 2021年7月9日 星期五 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2021-07
切换浏览方式为:
cs
cs.DB
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站