一种基于两阶段封锁的分布式实时提交协议  被引量:1

A distributed real time commit protocol based on two-phase locking

在线阅读下载全文

作  者:孙红[1] 姚新苗[1] 

机构地区:[1]上海理工大学光电信息与计算机工程学院,上海200093

出  处:《上海理工大学学报》2009年第3期237-241,共5页Journal of University of Shanghai For Science and Technology

摘  要:分析了当提交状态参与者允许执行状态的参与者访问其数据时,由数据冲突访问而引起的各种依赖关系,提出了一种基于两阶段封锁的乐观提交协议(OCP).让参与者先发送一个WORK-STARTED消息来代替WORKDONE消息,考虑依赖关系,允许只包含提交依赖的访问者发送WORKSTARTED消息来解除阻塞,从而减少了事务提交的处理时间,也消除了级联撤销.All kinds of dependencies that may arise due to data access conflicts in executing-committing transaction were analyzed, when a committing cohort is allowed to lend its data to an executing cohort. An optimistic commit protocol based on two phase locking (OCP) was then proposed, in which WORKSTARTED message is sent in place of WORKDONE message just before the start of processing phase of the cohort. Furthermore, in case of dependency, borrower with only commit dependency is allowed to send WORKSTARTED message instead of being blocked. This reduces the time needed for commit orocessing and is free from cascaded aborts.

关 键 词:提交 撤销 WORKSTARTED消息 WORKDONE消息 

分 类 号:TP311.133[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象