Method, System, and Program for Merging Log Entries From Multiple Recovery Log Files
    2.
    发明申请
    Method, System, and Program for Merging Log Entries From Multiple Recovery Log Files 审中-公开
    从多个恢复日志文件合并日志条目的方法,系统和程序

    公开(公告)号:US20060218206A1

    公开(公告)日:2006-09-28

    申请号:US11423653

    申请日:2006-06-12

    IPC分类号: G06F17/30

    摘要: A globally unique transaction identifier for each transaction is recorded in log entries pursuant to a two-phase commit protocol, wherein multiple log entries in multiple database recovery logs that correspond to one transaction have a same globally unique transaction identifier. A causally ordered, ascending timestamp value is maintained in the log entries pursuant to the two-phase commit protocol. For each of the multiple database recovery logs, all the log entries related to a single transaction are marked identically with a mark unique to the single transaction in a given one of the database recovery logs. Global changes are identified for the single transaction from the log entries in the multiple database recovery logs based on the marking and the globally unique transaction identifier for each transaction by reading log entries based on the causally ordered, ascending timestamp value.

    摘要翻译: 每个事务的全局唯一事务标识符根据两阶段提交协议记录在日志条目中,其中对应于一个事务的多个数据库恢复日志中的多个日志条目具有相同的全局唯一事务标识符。 根据两阶段提交协议,在日志条目中维护因果秩序的升序时间戳值。 对于每个多个数据库恢复日志,与单个事务相关的所有日志条目在给定的一个数据库恢复日志中与单个事务唯一的标记相同地标记。 基于标记和每个事务的全局唯一事务标识符,通过基于因果排序的升序时间戳值读取日志条目,从多个数据库恢复日志中的日志条目中识别出单个事务的全局更改。