首页> 外国专利> System for generating a gapless series of identity values

System for generating a gapless series of identity values

机译:生成一系列无缝标识值的系统

摘要

A system for generating a gapless series of identity values in a history log maintained in a database by a database management system without adversely impacting database performance. The system comprises the steps of determining a last used identity value independent of an intervening disruptive event that is disruptive to the database management system, generating a next identity value based on the last used identity value, and inserting a record of an event into the history log wherein a change record event contains the next identity value. Determining the last used identity value in the history log depending on whether or not a disruptive event has occurred during normal transaction processing. Absent a disruptive event, the last used identity value is the identity value used in the most recent change record insertion. In the event of a disruptive event, the last used identity value is retrieved from the last change record of the last committed transaction in the history log as the database recovery phase traverses the history log to identify committed transactions for reapplication and incomplete transactions for rollback to bring the database to a consistent state.
机译:一种用于在由数据库管理系统维护在数据库中的历史日志中无间隙地生成一系列身份值的系统,而不会不利地影响数据库性能。该系统包括以下步骤:确定独立于对数据库管理系统具有破坏性的干预性破坏事件的最后使用的标识值;基于最后使用的标识值生成下一个标识值;以及将事件的记录插入历史记录中日志,其中更改记录事件包含下一个标识值。根据正常事务处理期间是否发生了破坏性事件,确定历史日志中最后使用的标识值。在没有破坏性事件的情况下,最后使用的标识值是在最近的更改记录插入中使用的标识值。在发生破坏性事件的情况下,随着数据库恢复阶段遍历历史记录日志以标识已提交的事务以供重新应用,以及将不完整的事务回滚至历史记录,则从历史日志中最后提交的事务的最新更改记录中检索最后使用的标识值使数据库处于一致状态。

著录项

  • 公开/公告号US5862318A

    专利类型

  • 公开/公告日1999-01-19

    原文格式PDF

  • 申请/专利权人 MICROSOFT CORPORATION;

    申请/专利号US19950548677

  • 发明设计人 MICHAEL E. HABBEN;

    申请日1995-10-26

  • 分类号G06F17/30;G06F11/34;

  • 国家 US

  • 入库时间 2022-08-22 02:08:54

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号