Debugging Transactions and Tracking their Provenance with Reenactment. Niu, X., Arab, B., S., Lee, S., Feng, S., Zou, X., Gawlick, D., Krishnaswamy, V., Liu, Z., H., & Glavic, B. 10(12):1857-1860, 2017.
Debugging Transactions and Tracking their Provenance with Reenactment [pdf]Paper  Debugging Transactions and Tracking their Provenance with Reenactment [link]Website  abstract   bibtex   
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.
@article{
 title = {Debugging Transactions and Tracking their Provenance with Reenactment},
 type = {article},
 year = {2017},
 identifiers = {[object Object]},
 pages = {1857-1860},
 volume = {10},
 websites = {http://arxiv.org/abs/1707.09930},
 id = {4a25b064-786f-3f81-ac1a-f6456316f72c},
 created = {2017-08-29T16:55:17.047Z},
 file_attached = {true},
 profile_id = {9d42c173-db8a-3566-8a55-b1a79270b5ed},
 group_id = {325c0157-5788-3a71-bd59-340f23437b88},
 last_modified = {2018-01-10T17:12:34.584Z},
 read = {false},
 starred = {false},
 authored = {false},
 confirmed = {true},
 hidden = {false},
 citation_key = {Niu2017},
 private_publication = {false},
 abstract = {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.},
 bibtype = {article},
 author = {Niu, Xing and Arab, Bahareh Sadat and Lee, Seokki and Feng, Su and Zou, Xun and Gawlick, Dieter and Krishnaswamy, Vasudha and Liu, Zhen Hua and Glavic, Boris},
 number = {12}
}
Downloads: 0