一种高效的分布式并行数据库日志机制
A Low-Cost Distributed Database Log Mechanism
-
摘要: 减少协议中的强制写次数一直是研究分布式原子提交协议的目标 利用超高速网络与磁盘的数据存取速度差距 ,可以提出一种高效的协同内存缓存日志机制 (cooperatingmemorycachedlogmechanism ,CMCL) 它通过在事务参与者的内存中相互备份日志而获得日志的可靠性 ,从而免除强制写 在给出CMCL的原理 ,并用它改进两阶段提交协议后 ,对其性能进行了分析和比较 ,结果表明CMCL机制在适当的环境下是高效的Abstract: Reducing the cost of atomic commit protocol always is an important research topic. Presented in this paper is a new log mechanism, named cooperating memory cached log mechanism (CMCL). Now, transmitting data through high-speed network is faster than writing data to hard disk. So when needing forcibly flush log to disk, the log is transmitted to other computer and saved in memory for reducing data lost risk, and the log needn’t write to disk immediately. The principle of CMCL is given and used to improve two-phase commit protocol. Finally, the performance is analyzed and compared.
下载: