The present invention relates to the technical field of database, discloses a method for realizing the Oracle database with the room zero data loss, which comprises the following steps: (1) online log file in the master database through the network to the database, the database will prepare online log storage and recovery; (2) the main database and prepared the database through Infiniband high the low bandwidth delay network interconnection, network delay control in 200ns; divided part of storage space in the preparation of the database, the storage space sharing to the main database through the Infiniband network, the main data to create a log of additional members in the storage space; (3) the fault appears in the main database, preparation use the main database in the database log roll forward operation member online. The invention can complete fault in the main database, database using the main database on the standby database in the environment of online log members roll forward operation, make up the main database, realize zero data loss.
【技术实现步骤摘要】
一种实现Oracle数据库同机房零数据丢失的方法
本专利技术涉及数据库
,尤其涉及了一种实现Oracle数据库同机房零数据丢失的方法。
技术介绍
Oracle数据库系统是美国Oracle公司(甲骨文)提供的以分布式数据库为核心的一组软件产品,是目前最流行的客户/服务器(CLIENT/SERVER)或B/S体系结构的数据库之一。比如SilverStream就是基于数据库的一种中间件。Oracle数据库是目前世界上使用最为广泛的数据库管理系统,作为一个通用的数据库系统,它具有完整的数据管理功能;作为一个关系数据库,它是一个完备关系的产品;作为分布式数据库它实现了分布式处理功能。但它的所有知识,只要在一种机型上学习了Oracle知识,就可以在各种类型的机器上使用它。DataGuard是Oracle数据库实现远程容灾的技术,它有三种模式:最大保护模式、最大可用模式、最大性能模式。对于一个事务的提交,最大保护模式与最大可用模式要确保redo已传输至备库才返回。所以这两种方式对网络延迟的要求比较高,在网络条件比较差或者网络不稳定的情况下对主数据库性能有比较大的影响。所以 ...
【技术保护点】
一种实现Oracle数据库同机房零数据丢失的方法,其特征在于,包括如下步骤:(1)主数据库内存储有在线日志,在线日志用于记录数据库中的事务操作,事务操作包括数据的增加、删除、修改和查询;主数据库中在线日志文件通过网络传送到备数据库,备数据库将在线日志进行存储与恢复;(2)主数据库与备数据库通过infiniband高带宽低延迟网络进行互联,将网络延迟控制在200ns;在备数据库中划分一部分存储空间,通过infiniband网络将该存储空间共享到主数据库,主数据在该存储空间上创建额外的一个日志成员,成员为在线日志的镜像副本;(3)在主数据库出现故障的情况下,备数据库使用主数据库 ...
【技术特征摘要】
1.一种实现Oracle数据库同机房零数据丢失的方法,其特征在于,包括如下步骤:(1)主数据库内存储有在线日志,在线日志用于记录数据库中的事务操作,事务操作包括数据的增加、删除、修改和查询;主数据库中在线日志文件通过网络传送到备数据库,备数据库将在线日志进行存储与恢复;(2)主数据库与备数据库通过infiniband高带宽低延迟网络进行互联,将网络延迟控制在200ns;在备数据库中划分一部分存储空间,通过infiniband网络将该存储空间共享到主数据库,主...
【专利技术属性】
技术研发人员:郭旭瑞,
申请(专利权)人:杭州沃趣科技股份有限公司,
类型:发明
国别省市:浙江,33
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。