检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]中国航天工程咨询中心,北京100048 [2]北京神舟航天软件技术有限公司,北京100094
出 处:《计算机应用》2016年第4期1002-1007,1038,共7页journal of Computer Applications
基 金:天津市软件产业发展专项资金资助项目(201406101)~~
摘 要:针对数据库实例恢复串行化执行效率低的问题,以神通数据库为基础提出一种基于多线程的并行实例恢复方法。首先,在数据库原有实例恢复模型基础上,增加"构建脏页表"和"脏页预取"两个步骤,得到改进后的实例恢复模型;其次,结合多线程并发处理思想,提出并行实例恢复方法,对改进的实例恢复模型进行并发处理;最后,由于采用回滚段进行undo日志管理,可以实现undo日志的正常数据化管理,提前结束实例恢复。通过进行TPC-C基准测试,并行实例恢复方法的读取、解析redo日志效率与原有方法相比提高了2~7倍,重做redo日志效率提高了4~9倍,整体所用时间减少为原有方法的20%~40%。实验结果表明,并行实例恢复方法实现了各阶段的并行化,减少了实例恢复所需时间,保证了数据库在实际应用中的高效性。Concerning the low efficiency of serialized execution in database instance recovery and relying on Shen Tong database,a parallel instance recovery method based on multi-thread was proposed. First,two steps including " building dirty page table" and " prefetching dirty pages" were added to the original database instance recovery model to get an improved model. Second,the improved model was processed by the multi-threaded parallel processing way and a parallel instance recovery model was generated. Finally,by using rollback segment management strategy,undo log was managed as normal data and the parallel instance recovery could be finished earlier. In the comparison experiments with the original method,Transaction Processing performance Council-C( TPC-C) benchmark test result of the parallel recovery method showed that the efficiency of reading and parsing redo log increased by 2- 7 times,the efficiency of redoing increased by 4- 9 times,and the total time for recovery reduced to 20%- 40%. The results prove that the parallel instance recovery method can accomplish parallel processing of each stage,reduce the time needed for recovery and ensure the high efficiency of database in practical applications.
关 键 词:实例恢复 并行恢复 多线程 redo日志 undo日志 日志序列号
分 类 号:TP311.13[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.220.97.0