一种数据表实时备份系统的高速缓存方法  被引量:2

A high-speed buffer method for a real-time backup system of database tables

在线阅读下载全文

作  者:郭丹[1] 卢正添[1] 陈文[1] 林汉翮[1] 

机构地区:[1]四川大学计算机学院,成都610065

出  处:《四川大学学报(自然科学版)》2010年第5期998-1002,共5页Journal of Sichuan University(Natural Science Edition)

基  金:国家自然科学基金(60873246);教育部创新工程重大项目培育资金项目(707875);国家教育部博士点基金资助项目(20070610032);四川大学青年科学基金(校青2008030)

摘  要:通过分析Oracle数据表实时备份系统中本地数据的生成速度和网络速度的不匹配所引发的问题,提出了一种基于内存映射文件的高速缓存方法.该方法通过与指针访问动态内存相同的方式来访问磁盘上的文件,从而实现快速高效地读写数据.并引入了一种基于二分法的探测报文速率的带宽测量技术,使系统能动态地适应网络状态.实验表明,该方法不但能使系统具有良好的实时性,而且保证了系统在不同网络状态下具有良好的稳定性和动态适应能力.By analyzing a real-time backup system for Oracle database tables, in which the local data's generating speed was exceeding the network speed, this paper proposed a high-speed buffer method, based on memory-mapped file. This method can access files on disk with high speed, using the same way of accessing the dynamic memory by pointers. Meanwhile, this paper introduced a bandwidth measurement based on binary search algorithm, making the system adapt to the Internet dynamically. By experiments, it has showed that the system has good real-time ability, as well as stability and dynamic adaptability.

关 键 词:实时备份 内存映射文件 高速缓存 二分法 

分 类 号:TP393.08[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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