摘要
现有的检查点技术不支持socket连接的恢复,也没有将进程恢复和数据恢复结合起来,因此不能支持含有数据库访问的应用程序。本文提出一种支持含有数据库访问的进程检查点技术。对于含有数据库访问的应用程序,在设置进程检查点之前,先设置数据库检查点,获取当前数据库的系统改变号SCN,然后生成进程检查点。当程序从进程检查点处恢复运行时,将未关闭的数据库重新建立连接,并利用数据库的回退技术,将用户所操作的数据库表回退到数据库检查点,保证数据和应用的一致性。实验表明该方案是可行的,且性能开销率较低。
The existing checkpoint technology does not support the socket connection recovery.It does not combine the process restoration and data recovery either.Therefore,it does not support the program with database applications.This paper addresses the process checkpoint technology that can solve these problems.Before setting the process checkpoints,the database checkpoints are set first,and the system changed number of the database(SCN) is obtained.When programs restart from the checkpoints,the unclosed database handlers are reconnected,and all the tables changed are returned to the database checkpoint.Then the coherence of the data and programs can be ensured.Experimental results indicate that this scheme can be implemented with low expense of the performance.
出处
《计算机工程与科学》
CSCD
北大核心
2011年第8期84-88,共5页
Computer Engineering & Science
关键词
进程检查点
数据恢复
容错
容灾
process checkpoint
data recovery
fault-tolerance
disaster-tolerance