用于模式重构的数据库程序综合
Synthesizing Database Programs for Schema Refactoring
摘要:
许多与数据库交互的程序在其生存周期中需要经历多次模式重构。由于这个过程通常需要对程序的实现进行重大更改,因此模式重构通常是不平凡的,并且容易出错。出于这个问题,我们提出了一种新的技术,自动合成一个新版本的数据库程序给定其原始版本和源和目标模式。我们的方法不需要人工用户的指导,并确保合成的程序是相当于原来的。此外,我们的方法是相当有效的,可以合成新版本的数据库程序(包含多达263个功能),从现实世界的Web应用程序中提取的平均合成时间为69.4秒。
英文摘要:
Many programs that interact with a database need to undergo schema refactoring several times during their life cycle. Since this process typically requires making significant changes to the program's implementation, schema refactoring is often non-trivial and error-prone. Motivated by this problem, we propose a new technique for automatically synthesizing a new version of a database program given its original version and the source and target schemas. Our method does not require manual user guidance and ensures that the synthesized program is equivalent to the original one. Furthermore, our method is quite efficient and can synthesize new versions of database programs (containing up to 263 functions) that are extracted from real-world web applications with an average synthesis time of 69.4 seconds.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。