首页> 外国专利> Database backup system ensuring consistency between primary and mirrored backup database copies despite backup interruption

Database backup system ensuring consistency between primary and mirrored backup database copies despite backup interruption

机译:数据库备份系统,即使备份中断,仍可确保主备份和镜像备份数据库副本之间的一致性

摘要

A database management system ensures consistency between primary and mirrored backup copies of a database, despite occurrence of a suspending condition interrupting the normal process of mirroring the primary database. One or more primary controllers are provided, each having a data storage unit with multiple primary data storage devices. Multiple secondary controllers each have multiple associated secondary data storage devices, each secondary controller being coupled to one primary controller. One or more primary databases reside on the primary devices, with a corresponding number of secondary databases residing on the secondary devices. Each secondary database mirrors a corresponding primary database. Either a host, attached to a primary controller, or one of the primary controllers itself, maintains a map cross-referencing each primary and secondary database with the primary and secondary devices containing portions thereof. If a predefined “suspending condition” affecting data mirroring occurs, the host or primary controller consults its map to identify all primary and secondary devices affected by the condition. Then, each primary controller stops all ongoing and future read/writes with each of its affected primary devices. Each primary controller also directs each secondary controller having an affected secondary device to stop mirroring the primary databases stored on that device. Then, the primary controller starts intermediate change recording and resumes read/writes with its primary devices. When the suspending condition ends, each primary controller applies the appropriate logged changes to its secondary database(s) and then reactivates each secondary database.
机译:数据库管理系统可确保数据库的主备份副本与镜像备份副本之间的一致性,尽管发生了挂起状况中断了对主数据库进行镜像的正常过程。提供了一个或多个主控制器,每个主控制器具有带有多个主数据存储设备的数据存储单元。多个次级控制器各自具有多个关联的次级数据存储设备,每个次级控制器耦合到一个初级控制器。一个或多个主数据库位于主设备上,相应数量的辅助数据库位于辅助设备上。每个辅助数据库都镜像对应的主数据库。连接到主控制器的主机,或者主控制器本身之一,都维护一个映射,该映射交叉引用每个主数据库和辅助数据库以及包含其一部分的主设备和辅助设备。如果预定义的“暂停条件”如果发生影响数据镜像的事件,主机或主控制器将查询其映射以识别受该状况影响的所有主设备和辅助设备。然后,每个主控制器停止对其每个受影响的主设备进行的所有正在进行的操作和将来的读/写操作。每个主控制器还指示具有受影响的辅助设备的每个辅助控制器停止镜像存储在该设备上的主数据库。然后,主控制器开始中间更改记录,并恢复对其主设备的读/写。挂起条件结束时,每个主控制器将适当的记录更改应用于其辅助数据库,然后重新激活每个辅助数据库。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号