×

Database Log Capture that Publishes Transactions to Multiple Targets to Handle Unavailable Targets by Separating the Publishing of Subscriptions and Subsequently Recombining the Publishing

  • US 20090112947A1
  • Filed: 12/24/2008
  • Published: 04/30/2009
  • Est. Priority Date: 08/27/2003
  • Status: Active Grant
First Claim
Patent Images

1. A computer program product for log capture comprising:

  • a computer readable medium;

    first program instructions to publish, by a first log reader, first messages to a plurality of queues, the first messages comprising changes for transactions extracted from a log by the first log reader;

    second program instructions to, in response to one of the queues becoming unavailable, launch a second log reader to read and extract from the log, and to publish second messages comprising changes for transactions extracted from the log by the second log reader to the unavailable queue as a catch-up queue; and

    third program instructions to, in response to the catch-up queue becoming available and the second log reader reaches the end of the log, transfer the publishing of the second messages for the catch-up queue from the second log reader to the first log reader,wherein the third program instructions re-synchronize the second log reader and the first log reader,the third program instructions to;

    send synchronization messages between the first log reader and the second log reader;

    a first synchronization message of the synchronization messages being sent from the second log reader to the first log reader with second log reader restart information; and

    in response to the second log reader being behind the first log reader in reading the log based on the second log reader restart information, a second synchronization message of the synchronization messages being sent from the first log reader to the second log reader, the second synchronization message comprising first log reader restart information having a first-last-queue-commit point timestamp, and suspend the publishing by the first log reader until the second log reader reaches the first-last-queue-commit point timestamp or the end of the log;

    wherein the first, second and third program instructions are stored on the computer readable medium.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×