使用重演功能检查事务并跟踪其出处
Debugging Transactions and Tracking their Provenance with Reenactment
摘要:
分析事务并理解它们的执行对于开发OLAP应用程序、跟踪生产系统中的错误原因以及审计数据库的操作都是非常重要的。然而,由于以下几个原因,调试事务是困难的:1)在事务执行之后,其输入不再可用于调试,2)事务的内部状态通常不可访问,以及3)事务的执行可能受到并发运行的事务的影响。我们提出了一个调试器的事务,使非侵入性的,事后调试的事务与出处跟踪,并支持假设的情况下(更改事务代码或数据)。使用我们开发的声明性重放技术reenactation,事务在其原始执行所看到的DB状态上重放,包括其与历史中并发执行的事务的所有交互。重要的是,我们的方法使用的时态数据库和审计日志功能,在许多DBMS中,不需要任何修改底层数据库系统,也不需要事务工作负载。
英文摘要:
Debugging transactions and understanding their execution are of immense importance for developing OLAP applications, to trace causes of errors in production systems, and to audit the operations of a database. However, debugging transactions is hard for several reasons: 1) after the execution of a transaction, its input is no longer available for debugging, 2) internal states of a transaction are typically not accessible, and 3) the execution of a transaction may be affected by concurrently running transactions. We present a debugger for transactions that enables non-invasive, post-mortem debugging of transactions with provenance tracking and supports what-if scenarios (changes to transaction code or data). Using reenactment, a declarative replay technique we have developed, a transaction is replayed over the state of the DB seen by its original execution including all its interactions with concurrently executed transactions from the history. Importantly, our approach uses the temporal database and audit logging capabilities available in many DBMS and does not require any modifications to the underlying database system nor transactional workload.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。