使用读提升和混合隔离级别实现事务程序的高性能且可串行化执行
Using Read Promotion and Mixed Isolation Levels for Performant Yet Serializable Execution of Transaction Programs
AI总结:
提出一种理论确定混合隔离级别下事务程序的最低隔离级别以保证可串行化,并基于语义保持的代码修改提出优化方法实现高吞吐量,在SmallBank基准上验证。
摘要:
我们提出一种理论,能在混合隔离级别设置下确定分配给应用程序中每个事务程序的最低隔离级别,以保证所有执行均可串行化,从而保留所有完整性约束,包括未显式声明的约束。这扩展了先前应用于完全已知事务的工作,以处理事务由运行参数预先未知的程序生成这一现实情况。基于该理论,我们提出一种优化方法,在确保所有执行可串行化的同时实现高吞吐量。该方法基于搜索语义保持且能改善隔离级别分配的应用代码修改。我们在 SmallBank 基准上说明了该方法。
英文摘要:
We propose a theory that can determine the lowest isolation level that can be allocated to each transaction program in an application in a mixed-isolation-level setting, to guarantee that all executions will be serializable and thus preserve all integrity constraints, even those that are not explicitly declared. This extends prior work applied to completely known transactions, to deal with the realistic situation where transactions are generated by running programs with parameters that are not known in advance. Using our theory, we propose an optimization method that allows for high throughput while ensuring that all executions are serializable. Our method is based on searching for application code modifications that are semantics-preserving while improving the isolation level allocation. We illustrate our approach to the SmallBank benchmark.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。