首页> 外国专利> System and method for the deletion of database - updating image files after completion of the associated transactions

System and method for the deletion of database - updating image files after completion of the associated transactions

机译:用于删除数据库的系统和方法-在关联交易完成后更新图像文件

摘要

A primary computer system has a database, application programs that modify the local database, and a transaction manager that stores audit records in a local image trail reflecting those application program modifications to the local database. In a remote backup system, a Receiver process receives audit records from the primary system. The audit records include audit update and audit backout records indicating database updates and database backouts generated by transactions executing on the primary system. The Receiver stores the audit update and audit backout records in one or more image trails. For each image trail there is an Updater process that applies to a backup database volume the database updates and backouts indicated by the audit update and audit backout records in the image trail. The remote backup system periodically executes a file purge procedure, which identifies the oldest transaction table from among the transaction tables in the last image trail file accessed for each of the image trails. Then, for each image trail, the file purge procedure accesses the image trial files in a predefined chronological order and for each accessed image trail file it compares a first set of newest transaction identifiers in the file's transaction table with a second set of oldest transaction identifiers in the identified oldest transaction table. The procedure purges the accessed image trail file only when all of the transaction identifiers in the first set are older than corresponding transaction identifiers in the second set.
机译:主计算机系统具有数据库,修改本地数据库的应用程序,以及将审计记录存储在本地映像记录中的事务管理器,这些记录反映了对本地数据库的那些应用程序修改。在远程备份系统中,Receiver进程从主系统接收审核记录。审核记录包括审核更新和审核回退记录,这些记录指示由在主系统上执行的事务生成的数据库更新和数据库回退。接收器将审核更新和审核回退记录存储在一个或多个映像跟踪中。对于每个映像跟踪,都有一个Updater进程适用于备份数据库卷,该更新由映像跟踪中的审核更新和审核回退记录指示的数据库更新和退出。远程备份系统定期执行文件清除过程,该过程从为每个图像跟踪访问的最后一个图像跟踪文件中的事务表中识别最旧的事务表。然后,对于每个图像跟踪,文件清除过程按预定义的时间顺序访问图像试用文件,对于每个访问的图像跟踪文件,它将文件事务表中的第一组最新事务标识符与第二组最旧事务标识符进行比较。在已识别的最旧交易表中。仅当第一组中的所有交易标识符都早于第二组中的相应交易标识符时,该过程才会清除访问的图像跟踪文件。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号