WO1996041262A1 - Reduction of logging in distributed systems - Google Patents

Reduction of logging in distributed systems Download PDF

Info

Publication number
WO1996041262A1
WO1996041262A1 PCT/GB1995/002053 GB9502053W WO9641262A1 WO 1996041262 A1 WO1996041262 A1 WO 1996041262A1 GB 9502053 W GB9502053 W GB 9502053W WO 9641262 A1 WO9641262 A1 WO 9641262A1
Authority
WO
WIPO (PCT)
Prior art keywords
agent
chain
agents
commit
sending
Prior art date
Application number
PCT/GB1995/002053
Other languages
French (fr)
Inventor
Andrew David James Banks
Original Assignee
International Business Machines Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corporation filed Critical International Business Machines Corporation
Priority to DE69508288T priority Critical patent/DE69508288T2/en
Priority to JP50019997A priority patent/JP3491282B2/en
Priority to EP95930599A priority patent/EP0834127B1/en
Publication of WO1996041262A1 publication Critical patent/WO1996041262A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2358Change logging, detection, and notification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1471Saving, restoring, recovering or retrying involving logging of persistent data for recovery
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99951File or database maintenance
    • Y10S707/99952Coherency, e.g. same view to multiple users
    • Y10S707/99953Recoverability

Definitions

  • the present invention relates to the field of data processing, more specifically to distributed transaction processing systems, and in particular to reducing the total number of log records written by the distributed data processing systems.
  • An online data processing system requires mechanisms that, together with suitable operating procedures, provide automatic recovery from failures and allow the system to restart with as little disruption as possible.
  • the two main recovery requirements of an online system are to maintain the integrity of data and to minimize the effect of failures.
  • One way of doing this is to keep a record, or log, of all the changes made to a resource while the system is executing normally. If a failure occurs, the logged information can help recover the data.
  • the logged information can be used to back out incomplete or invalid changes to one or more resources. This is called backward recovery, or "backout”. For backout, it is necessary to record the contents of a data element before it is changed. These records are called “before images”. In general, backout is applicable to processing failures that prevent one or more transactions (or a batch program) from completing.
  • the logged information can be used to reconstruct changes to a resource, starting with a backup copy of the resource taken earlier. This is called forward recovery.
  • forward recovery it is necessary to record the contents of a data element after it is changed. These records are called "after images”.
  • forward recovery is applicable to data set failures, or failures in similar data resources, that cause data to become unusable because it has been corrupted or because the physical storage medium has been damaged.
  • more than one transaction may read or cause changes to a single data file. It is important that transactions read valid data and that their updates are correctly recorded in order to preserve data integrity.
  • each transaction must have four key characteristics, Atomicity, Consistency, Isolation and Durability, known collectively by their initial letters as ACID.
  • Atomicity means that a transaction must be accomplished as a whole or not at all. If a transaction cannot be completed in its entirety, all its effects must be undone. This requires a backout or backward recovery facility in the transaction processing system.
  • Consistency means ensuring that the results of a transaction are reproducible and predictable. The transaction must always give the same results in the same conditions. This is achieved by program and code design, using such techniques as reusability and reentrancy to ensure that the same code is executed at each invocation of a transaction.
  • An example of where particular care must be taken to ensure consistency is where two records are to be updated. Updating of a first record, followed by updating of a second record should have the same effect as updating of the second record, followed by updating of the first record, that is the order of the updates should not affect the end results achieved by the updates.
  • Isolation means that no transaction must interfere with any concurrently executing transaction. This is achieved by concurrency control. Several concurrently running transactions can update different records in the same data set. An efficient means of sharing the dataset needs to be provided in order to allow this concurrent updating to occur. The same record must not be updated by two transactions at the same time, that is a transaction must complete an update on a record before any other transaction is allowed to start an update on that record.
  • the use of locking as a method of sharing achieves concurrency control.
  • a lock is a mechanism by which use of a resource is restricted to the holder of the lock.
  • a transaction requests the lock for a data set or for a record of that data set from the manager of that data set. The mechanism by which the lock is implemented may be a flag associated with data set or a flag associated with each record in the data set. Once a transaction receives that lock then no other transaction may update the data set or the record for which the lock was received.
  • Durability means that the results of a transaction must be permanent. Durability is achieved by the forward recovery process mentioned above. When a transaction has been committed (that is, it is to be made permanent or irreversible) , then an image of the records changed by the transaction (an after image) is taken. If a data set failure occurs at a time after the transaction has been committed, such that a backup copy of the data set, taken at a time prior to the transaction being comitted, has to be used to replace the lost data set, then the after image of the records which were updated can be used to reinstate the updates made by the transaction.
  • Committing a change means making it permanent or irreversible.
  • a single transaction can update more than one data set managed by one or more resource managers. These updates are usually logically related and data integrity is lost if one update succeeds whilst another fails. If data integrity is to be maintained, then the resource managers must be capable of either performing (committing) all the updates together when the transaction signals successful completion or of backing out all of the updates if the transaction fails. This requires commitment control, which includes a means of backing out all of the updates made by a transaction, such as a backward recovery facility, described above.
  • Commitment procedures may be single phase commit or two phase commit (2PC) . If only a single resource manager is involved in the commit process, only a single operation is necessary to commit all of the changes associated with a transaction.
  • a commit process having two phases is used (two phase commit or 2PC) .
  • each resource manager is asked to prepare to commit; in the second phase, if all the resource managers have signalled that they are prepared to commit, then each resource manager is asked to commit, otherwise each resource manager is asked to backout.
  • a participant in a two phase commit protocol is referred to as an "agent".
  • the invention provides a method, for use in a two phase commit protocol between a plurality of agents, each agent having an associated recovery log, of reducing the number of forced writes to recovery logs, the method comprising the steps of: a first agent sending a commit request to a next agent in a chain of agents; each subsequent agent in said chain sending said commit request received from a previous agent in the chain to a next agent in the chain, until a last agent in the chain has been reached; writing by said last agent to its associated recovery log of a commit record indicating that the changes are to be committed; said last agent sending a committed message to a previous agent in a chain of agents; and repeating said step of sending a committed message until the first agent in the chain has been reached; characterised in that: data representing commit records to be logged for said first and said subsequent agents is added by each of said first and said subsequent agents to said commit request prior to sending said commit request received from a previous agent in the chain to a next agent in the chain; and said logging of said commit records is completed by the last
  • the first and subsequent agents in the chain add data representing their commit records to the commit request which is then passed on the next agent in the chain.
  • this data has to be saved to non-volatile storage before the commit request can be passed on to the next agent in the chain. Saving data to non-volatile storage is slow compared to the speed of processing in modern data processing systems. In a typical system processing numerous transactions, the saving of time in not having to wait for non-volatile storage to be written to results in a significant improvement in performance. It is an advantage to have a method in which forced writing of data is required to only a single log. A further advantage of a single log is that management of the system is simpler.
  • the chain of agents may be continuous or may split into a plurality of chains at an intermediate agent, the plurality of chains recombining at the last agent. If the chain splits, then the sending of a committed message to a previous agent in the chain of agents preferably only occur via one of the plurality of chains.
  • the invention also provides a data processing apparatus, for use in a two phase commit protocol, wherein the number of separate messages sent between agents is reduced, and wherein the number of forced writes to recovery logs associated with said agents is reduced, the apparatus comprising: two or more agents arranged in a chain, each agent having an associated recovery log; means in a first agent in the chain for sending a commit request to a next agent in the chain of agents; means in each agent in the chain for forwarding said commit request until a last agent in the chain has been reached; means in said last agent for logging a commit record indicating that the changes are to be committed; means in said last agent for sending a committed message to a previous agent in a chain of agents; and means in each agent in the chain for forwarding said committed request until said first agent in the chain has been reached; characterised in that: data representing said commit records to be logged is sent with said commit requests; and commit records are logged only onto a log associated with the last agent in the chain of agents.
  • clusters of processors may be used. Each processor may have a single agent located on it, or it may have multiple agents located on it. These may be a parallel processing computer or a set of workstations connected to a local area network. The computer or the networked workstations or any similar combination must be part of a network in which there exists an "Any to Any" connection. Such a connection has to allow the transfer of data, which may represent requests associated with a two phase commit protocol or data to be transferred between the agents.
  • the connection is implemented using a communications buffer, in which the agent sending the information places the information into a communications buffer.
  • Hardware or software associated with each agent removes the information from the communications buffer and sends it to corresponding hardware or software associated with the agent to which the information is to be sent.
  • the corresponding hardware and/or software in the receiving agent places the information in a communications buffer associated with the receiving agent, with such connections in a network it is relatively expensive to send a message, but there is little penalty for sending a long message compared to a short one.
  • a certain level of reliability is required for the system as a whole, because only a single log in the system contains the data required for recovery of a given transaction.
  • a wide area network would not generally meet such a reliability criteria. Should such systems having the necessary level of reliability become available, then they may be used with the present invention.
  • each agent has its own log and writes log records for recovery, if necessary, to its log during the commit process. More significantly only that agent reads its log during recovery after a failure in order to recover the state of and complete or backout a transaction. This achieves a great deal of independence between the agents taking part in the transaction.
  • the number of forced writes to recovery logs by agents, arranged in a chain, each of which have an associated recovery log, is reduced by the first agent in the chain adding data representing commit records to be logged for the first agent to the commit request prior to sending the commit request to a next agent in the chain.
  • the commit request is then sent to the next agent in the chain.
  • Each subsequent agent in the chain adds data representing commit records to be logged for the subsequent agent to the commit request prior to sending the commit request, with the added data, to a next agent in the chain. This continues with each subsequent until a last agent in the chain is reached.
  • the commit request and added data reaches the last agent in the chain of agents, it writes to its associated recovery log, a commit record indicating that the changes are to be committed.
  • the commit record is only logged by the last agent.
  • the last agent then sends a committed message to a previous agent in the chain of agents.
  • the previous agent on receiving the committed message sends it to a previous agent in the chain of agents. This step is repeated until the first agent in the chain is reached.
  • each agent in the chain of agents having resources affected by the transaction requires access to the log which contains log records relevant to a specific transaction. That log is associated with the last agent in the chain of agents and is a single log for all the transactions for which log data is written by that agent. In another embodiment, that log may be implemented as more than one log associated with the last agent for improved availability and throughput. There may be a separate log for each transaction, or there may be separate logs for the records associated with each resource managed by the last agent.
  • Both the data supplied by each agent in the chain.of agents to be written to the log associated with the last agent and the commit request sent by each agent in the chain to the next agent in the chain are sent in a single communications buffer from one agent in the chain to the next agent in the chain.
  • it is relatively expensive to send a message, but there is little penalty for sending a long message compared to a short one.
  • a two phase commit protocol the decision to commit or to backout updates is taken when a transaction completes successfully or when it fails, in a preferred embodiment, updates are arranged so that there is consistency of data at other logical points during the execution of the transaction. All such points of data consistency (including transaction termination) are called commit points or sync points.
  • commit points or sync points All such points of data consistency (including transaction termination) are called commit points or sync points.
  • a sync point is taken at the end of every transaction. Whenever a sync point is taken, the system goes through a two phase commit protocol to ensure consistency of data.
  • An application can explicitly request a sync point to be taken at any point in a transaction.
  • An interrupted transaction can be restarted from its last sync point.
  • All of the agents involved in this type of processing have access to the same log and can read it, should they need to do so for recovery processing. They have access to the log, because their data is stored on the log associated with the last agent in the chain of agents, to which they have access. This will be the case for Local Area Network based systems, or parallel processing systems, since in such systems all agents have a connection to all other agents in the network, and hence have access to the log.
  • Agent A Agent B Agent B
  • Agent A A log record containing information that the transaction is to be committed and containing any "after images" necessary to allow the transaction to be redone in the event of recovery from a failure being required is forced to be written to the log stored on non- olatile storage.
  • Agent B A log record containing information that the transaction is to be committed and containing any "after images" necessary to allow the transaction to be redone in the event of recovery from a failure being required is forced to be written to the log stored on non- olatile storage.
  • a request is placed in a communications buffer for transmission to Agent B, requesting that Agent B commit the transaction.
  • a log record containing information that the transaction is to be committed and containing any "after images" necessary to allow the transaction to be redone in the event of recovery from a failure being required is forced to be written to the log stored on non-volatile storage.
  • a message is placed in a communications buffer for transmission to Agent A, informing Agent A that the Commit record and associated "after image" data has been written to the log and that the transaction has been committed.
  • Agent A Agent B Agent B
  • Agent A Agent B Agent B
  • Agent A —Request-Commit-redo data- commit record > A log record containing information that the transaction is to be committed and containing any "after images" necessary to allow the transaction to be redone in the event of recovery from a failure being required is constructed by Agent A for writing onto the log associated with the last agent in the chain of agents. Agent A Agent B
  • This record is placed in a communications buffer for transmission to Agent B together with a request that Agent B commit the transaction.
  • a log record containing information that the transaction is to be committed and containing any "after images" necessary to allow the transaction to be redone in the event of recovery from a failure being required is forced to be written to the log associated with Agent B which is stored on non-volatile storage.
  • a corresponding log record and "after images" from Agent A, which was sent at step 2 is also forced to be written to the log associated with Agent B on behalf of Agent A.
  • a message is placed in a communications buffer for transmission to Agent A, informing Agent A that the Commit record and associated "after image" data has been written to the log and that the transaction has been committed.
  • a single pair of messages is exchanged between Agent A and Agent B, a message from A to B at step 2 and a message from B to A at step 5. Only one forced write to the log is done, at step 4 by Agent B of data for Agent B and of data for Agent A.
  • a single pair of messages and a single log force can be used to commit data for any number of agents in a chain. For example:
  • Agent A commit record and any after images are constructed by Agent A. This information is placed in a communications buffer for transmission to Agent B.
  • Agent B constructs its commit record and any after images. This is added to the information received from Agent A and is placed in a communications buffer for transmission to Agent C.
  • Log Commit and redo data for A,B,C A commit record and any after images for Agent C are written to the log associated with Agent C.
  • the commit records and after images received from Agent B and containing information from Agent A and Agent B are written on the log associated with Agent C on behalf of
  • Agent B A message is placed in a communications buffer for transmission to Agent B, informing Agent B that the Commit records and associated "after image" data for Agents A, B & C have been written to the log and that the transaction has been committed.
  • Agent B passes on to Agent A the message it received from Agent C by placing the message in a communications buffer.
  • three agents are committed using two pairs of messages and a single log force. Two pairs of messages are exchanged, one pair between Agent A and Agent B and one pair between Agent B and Agent C. Only one forced write to the log is done by Agent C for itself and for the data from Agent A and Agent B.
  • the commit tree splits at B and recombines at E.
  • the flows need to contain the information that E will do the eventual logging and that no logging may occur until both parts of the flow have arrived at E.
  • the Committed flow between C and B contains redundant information and could be omitted.
  • Agent F which receives the commit requests and after images for Agents A to E, and logs this together with its own data on its associated log.
  • Agent E does not forward the commit request and the associated data, together with its own log data until it receives the commit requests and associated data from both parts of the chain.
  • both parts of the flow contain information that the flow has split, and that when each part arrives at Agent E, then Agent E should not forward the request, adding its own data until both parts of the flow are received.
  • the invention When there are two agents involved in the two phase commit protocol, the invention provides a saving in the number of agents interacting with the single log associated with the last agent and the number of points at " ⁇ 'hich the log must guarantee the durability of the data. The consequent fewer data flows and fewer occasions when data must be saved to non ⁇ volatile storage provides improved throughput, when there are more than two agents involved in the two phase commit protocol, the saving provided by the invention is increased. In a typical transaction processing system, there are more than two agents involved.
  • the invention is industrially applicable in the field of data processing, when applied to distributed transaction processing systems, in order to reduce the total number of log records written by such distributed data processing system.

Abstract

A method for use in a two phase commit protocol, of reducing the number of agents writing to a log and the number of points in a transaction at which the log must guarantee the durability of the data is disclosed. If all of the agents involved in a transaction have access to the same log and if in a network it is relatively expensive to send a message, but little penalty for sending a long message compared to a short one, then improved performance can be obtained by sending both the data to be written to the log and the request commit flows in the same communications buffer. Data representing commit records to be logged for a first and subsequent agent is added respectively by each of said first and said subsequent agents to the commit request prior to sending said commit request received from a previous agent in a chain to a net agent in the chain and logging of said commit records is completed by the last agent only.

Description

REDUCTION OF LOGGING IN DISTRIBUTED SYSTEMS
Field of the invention
The present invention relates to the field of data processing, more specifically to distributed transaction processing systems, and in particular to reducing the total number of log records written by the distributed data processing systems.
Background Art
An online data processing system requires mechanisms that, together with suitable operating procedures, provide automatic recovery from failures and allow the system to restart with as little disruption as possible. The two main recovery requirements of an online system are to maintain the integrity of data and to minimize the effect of failures.
To maintain the integrity of the data means that the data is in the form expected and has not been corrupted. The whole object of recovery operations on files, databases, and similar data resources is to maintain, and restore, the integrity of the information. Ideally, it should be possible to restore the data to a consistent, known, state following any type of failure, with a minimum loss of previous valid updating activity.
One way of doing this is to keep a record, or log, of all the changes made to a resource while the system is executing normally. If a failure occurs, the logged information can help recover the data.
The logged information can be used to back out incomplete or invalid changes to one or more resources. This is called backward recovery, or "backout". For backout, it is necessary to record the contents of a data element before it is changed. These records are called "before images". In general, backout is applicable to processing failures that prevent one or more transactions (or a batch program) from completing.
The logged information can be used to reconstruct changes to a resource, starting with a backup copy of the resource taken earlier. This is called forward recovery. For forward recovery, it is necessary to record the contents of a data element after it is changed. These records are called "after images". In general, forward recovery is applicable to data set failures, or failures in similar data resources, that cause data to become unusable because it has been corrupted or because the physical storage medium has been damaged. In a transaction processing system, more than one transaction may read or cause changes to a single data file. It is important that transactions read valid data and that their updates are correctly recorded in order to preserve data integrity. To preserve data integrity, each transaction must have four key characteristics, Atomicity, Consistency, Isolation and Durability, known collectively by their initial letters as ACID.
Atomicity means that a transaction must be accomplished as a whole or not at all. If a transaction cannot be completed in its entirety, all its effects must be undone. This requires a backout or backward recovery facility in the transaction processing system.
Consistency means ensuring that the results of a transaction are reproducible and predictable. The transaction must always give the same results in the same conditions. This is achieved by program and code design, using such techniques as reusability and reentrancy to ensure that the same code is executed at each invocation of a transaction. An example of where particular care must be taken to ensure consistency is where two records are to be updated. Updating of a first record, followed by updating of a second record should have the same effect as updating of the second record, followed by updating of the first record, that is the order of the updates should not affect the end results achieved by the updates.
Isolation means that no transaction must interfere with any concurrently executing transaction. This is achieved by concurrency control. Several concurrently running transactions can update different records in the same data set. An efficient means of sharing the dataset needs to be provided in order to allow this concurrent updating to occur. The same record must not be updated by two transactions at the same time, that is a transaction must complete an update on a record before any other transaction is allowed to start an update on that record. The use of locking as a method of sharing achieves concurrency control. A lock is a mechanism by which use of a resource is restricted to the holder of the lock. A transaction requests the lock for a data set or for a record of that data set from the manager of that data set. The mechanism by which the lock is implemented may be a flag associated with data set or a flag associated with each record in the data set. Once a transaction receives that lock then no other transaction may update the data set or the record for which the lock was received.
Durability means that the results of a transaction must be permanent. Durability is achieved by the forward recovery process mentioned above. When a transaction has been committed (that is, it is to be made permanent or irreversible) , then an image of the records changed by the transaction (an after image) is taken. If a data set failure occurs at a time after the transaction has been committed, such that a backup copy of the data set, taken at a time prior to the transaction being comitted, has to be used to replace the lost data set, then the after image of the records which were updated can be used to reinstate the updates made by the transaction.
Committing a change means making it permanent or irreversible. A single transaction can update more than one data set managed by one or more resource managers. These updates are usually logically related and data integrity is lost if one update succeeds whilst another fails. If data integrity is to be maintained, then the resource managers must be capable of either performing (committing) all the updates together when the transaction signals successful completion or of backing out all of the updates if the transaction fails. This requires commitment control, which includes a means of backing out all of the updates made by a transaction, such as a backward recovery facility, described above. Commitment procedures may be single phase commit or two phase commit (2PC) . If only a single resource manager is involved in the commit process, only a single operation is necessary to commit all of the changes associated with a transaction.
If two or more resource managers are involved in a single transaction, then a commit process having two phases is used (two phase commit or 2PC) . In the first phase, each resource manager is asked to prepare to commit; in the second phase, if all the resource managers have signalled that they are prepared to commit, then each resource manager is asked to commit, otherwise each resource manager is asked to backout. A participant in a two phase commit protocol is referred to as an "agent".
Existing implementations of the two phase commit protocol for distributed data processing systems, such as that in the C CS family of products from IBM Corporation, rec ire that the participating resource managers force the writing of their log records to non-volatile storage, rather than allow the records to remain in a volatile buffer (IBM is a registered trademark and CICS is a trademark of IBM Corporation) . This is required because the updates which the records are logging have to be durable in order to maintain data integrity. Durability cannot be achieved if the log records are kept in volatile storage because in the event of a failure the log records may be lost. Existing implementations require this because the log records so written are read during a recovery process after a failure in order to restore the data to a consistent state. This is generally a performance bottleneck in an implementation of two phase commit because the forced writing of log records to non-volatile storage must be completed before continuing with the commit process. Such forced writing requires interactions with non-volatile storage such as disk drives, and such interactions are slow. As a result of this, two phase commit processing imposes a significant performance overhead on all transaction processing.
CICS/ESA V4.1 Intercommunications Guide - SC33-1181-00, published by IBM Corporation, on pages 259-260 discloses a prior art technique known as "last agent" optimisation in which the last agent in a chain does not have a prepare phase. The last agent commits when it receives a request to prepare to commit. This technique is described in more detail later as Example 1.
Disclosure of the Invention
Accordingly the invention provides a method, for use in a two phase commit protocol between a plurality of agents, each agent having an associated recovery log, of reducing the number of forced writes to recovery logs, the method comprising the steps of: a first agent sending a commit request to a next agent in a chain of agents; each subsequent agent in said chain sending said commit request received from a previous agent in the chain to a next agent in the chain, until a last agent in the chain has been reached; writing by said last agent to its associated recovery log of a commit record indicating that the changes are to be committed; said last agent sending a committed message to a previous agent in a chain of agents; and repeating said step of sending a committed message until the first agent in the chain has been reached; characterised in that: data representing commit records to be logged for said first and said subsequent agents is added by each of said first and said subsequent agents to said commit request prior to sending said commit request received from a previous agent in the chain to a next agent in the chain; and said logging of said commit records is completed by the last agent only.
Using the method of the present invention, the first and subsequent agents in the chain add data representing their commit records to the commit request which is then passed on the next agent in the chain. In the prior art, this data has to be saved to non-volatile storage before the commit request can be passed on to the next agent in the chain. Saving data to non-volatile storage is slow compared to the speed of processing in modern data processing systems. In a typical system processing numerous transactions, the saving of time in not having to wait for non-volatile storage to be written to results in a significant improvement in performance. It is an advantage to have a method in which forced writing of data is required to only a single log. A further advantage of a single log is that management of the system is simpler.
The chain of agents may be continuous or may split into a plurality of chains at an intermediate agent, the plurality of chains recombining at the last agent. If the chain splits, then the sending of a committed message to a previous agent in the chain of agents preferably only occur via one of the plurality of chains.
The invention also provides a data processing apparatus, for use in a two phase commit protocol, wherein the number of separate messages sent between agents is reduced, and wherein the number of forced writes to recovery logs associated with said agents is reduced, the apparatus comprising: two or more agents arranged in a chain, each agent having an associated recovery log; means in a first agent in the chain for sending a commit request to a next agent in the chain of agents; means in each agent in the chain for forwarding said commit request until a last agent in the chain has been reached; means in said last agent for logging a commit record indicating that the changes are to be committed; means in said last agent for sending a committed message to a previous agent in a chain of agents; and means in each agent in the chain for forwarding said committed request until said first agent in the chain has been reached; characterised in that: data representing said commit records to be logged is sent with said commit requests; and commit records are logged only onto a log associated with the last agent in the chain of agents.
Best Modes for carrying out the Invention
In prior art wide area networks, interconnected machines ensure the consistency of data updated at multiple sites by using a two phase commit protocol such as that described as prior art above. These protocols require all the agents located at the multiple sites to abide by (prepare for) the outcome of a transaction and then to each enact the outcome. This involves the writing of log records during the commit processing and the flowing of messages during the commit processing.
In order to exploit parallel processing of transactions, clusters of processors may be used. Each processor may have a single agent located on it, or it may have multiple agents located on it. These may be a parallel processing computer or a set of workstations connected to a local area network. The computer or the networked workstations or any similar combination must be part of a network in which there exists an "Any to Any" connection. Such a connection has to allow the transfer of data, which may represent requests associated with a two phase commit protocol or data to be transferred between the agents. The connection is implemented using a communications buffer, in which the agent sending the information places the information into a communications buffer. Hardware or software associated with each agent removes the information from the communications buffer and sends it to corresponding hardware or software associated with the agent to which the information is to be sent. The corresponding hardware and/or software in the receiving agent places the information in a communications buffer associated with the receiving agent, with such connections in a network it is relatively expensive to send a message, but there is little penalty for sending a long message compared to a short one.
A certain level of reliability is required for the system as a whole, because only a single log in the system contains the data required for recovery of a given transaction. With systems presently available, a wide area network would not generally meet such a reliability criteria. Should such systems having the necessary level of reliability become available, then they may be used with the present invention.
in a prior art wide area network each agent has its own log and writes log records for recovery, if necessary, to its log during the commit process. More significantly only that agent reads its log during recovery after a failure in order to recover the state of and complete or backout a transaction. This achieves a great deal of independence between the agents taking part in the transaction.
In the present invention, the number of forced writes to recovery logs by agents, arranged in a chain, each of which have an associated recovery log, is reduced by the first agent in the chain adding data representing commit records to be logged for the first agent to the commit request prior to sending the commit request to a next agent in the chain. The commit request is then sent to the next agent in the chain. Each subsequent agent in the chain adds data representing commit records to be logged for the subsequent agent to the commit request prior to sending the commit request, with the added data, to a next agent in the chain. This continues with each subsequent until a last agent in the chain is reached. When the commit request and added data reaches the last agent in the chain of agents, it writes to its associated recovery log, a commit record indicating that the changes are to be committed. The commit record is only logged by the last agent. The last agent then sends a committed message to a previous agent in the chain of agents. The previous agent, on receiving the committed message sends it to a previous agent in the chain of agents. This step is repeated until the first agent in the chain is reached. In the protocol of the present invention, each agent in the chain of agents having resources affected by the transaction requires access to the log which contains log records relevant to a specific transaction. That log is associated with the last agent in the chain of agents and is a single log for all the transactions for which log data is written by that agent. In another embodiment, that log may be implemented as more than one log associated with the last agent for improved availability and throughput. There may be a separate log for each transaction, or there may be separate logs for the records associated with each resource managed by the last agent.
Both the data supplied by each agent in the chain.of agents to be written to the log associated with the last agent and the commit request sent by each agent in the chain to the next agent in the chain are sent in a single communications buffer from one agent in the chain to the next agent in the chain. As mentioned above, it is relatively expensive to send a message, but there is little penalty for sending a long message compared to a short one.
Thus the number of agents interacting with the single log associated with the last agent and the number of points at which the log must guarantee the durability of the data are reduced. As a consequence of this, fewer flows are required, both between the agents and their associated logs and between the agents themselves. Each flow between the agents and their associated logs requires a saving of data to non-volatile storage, such as a direct access storage device (DASD) . Such saving of data is very slow compared to the speed of the processor processing the transaction. Each flow between the agents themselves requires data to be inserted into a communications buffer, suitable header information added and processing completed to allow the data to be transmitted by the sending agent to the receiving agent. This adds considerable overhead, which is largely the same, whether a single byte of data is sent or whether the communications buffer is filled. With numerous transactions being processed by each agent, the considerable savings in time by the reduction in the number of flows between agents and their associated logs and between the agents themselves for each transaction are multiplied by the number of transactions being processed.
In a simplest implementation of a two phase commit protocol, the decision to commit or to backout updates is taken when a transaction completes successfully or when it fails, in a preferred embodiment, updates are arranged so that there is consistency of data at other logical points during the execution of the transaction. All such points of data consistency (including transaction termination) are called commit points or sync points. A sync point is taken at the end of every transaction. Whenever a sync point is taken, the system goes through a two phase commit protocol to ensure consistency of data. An application can explicitly request a sync point to be taken at any point in a transaction. An interrupted transaction can be restarted from its last sync point.
In the following explanation of a preferred embodiment, the following rules apply to the log used.
1. All of the agents involved in this type of processing have access to the same log and can read it, should they need to do so for recovery processing. They have access to the log, because their data is stored on the log associated with the last agent in the chain of agents, to which they have access. This will be the case for Local Area Network based systems, or parallel processing systems, since in such systems all agents have a connection to all other agents in the network, and hence have access to the log.
2. Either none of the data for a particular transaction (for any agent) or all of the data for a transaction (for all of the agents) must be written to the log. This assumption is required for any log in a transaction processing system, since if only part of the data associated with a transaction is present on the log, then in the event of recovery being required, it will not be possible to determine whether part of the data is present and part missing because of a failure or because not all of the log data fro a transaction was intended to be written.
3. If the log is being read by a particular agent, for the purposes of recovery, then no further writes to it may take place on behalf of that or any other agent. This eliminates the possibility that a second agent involved in the transaction may write to the log after a first agent has started reading it for recovery processing.
EXAMPLE 1
Consider the prior art example of a presume nothing two phase commit between two agents A and B using last agent optimization, which results in a commit. The sequence of events without flowing log data is:
Agent A Agent B
Take sync point - this may be at the end of a transaction or at some intermediate point at which it is desired that the data be in a consistent state.
1) Prepare local resources which are already locked. Any resources local to Agent A involved in the transaction will have been locked by Agent A against updates being made to them by another transaction. In a given transaction there may be local resources involved in the transaction or there may be none involved in the transaction.
2) Log (Force) Committed record and redo data.
A log record containing information that the transaction is to be committed and containing any "after images" necessary to allow the transaction to be redone in the event of recovery from a failure being required is forced to be written to the log stored on non- olatile storage. Agent A Agent B
3) —Request-Commit
A request is placed in a communications buffer for transmission to Agent B, requesting that Agent B commit the transaction.
4) Prepare local resources which are already locked. Any resources local to Agent B involved in the transaction will have been locked by Agent B against updates being made to them by another transaction.
5) A log record containing information that the transaction is to be committed and containing any "after images" necessary to allow the transaction to be redone in the event of recovery from a failure being required is forced to be written to the log stored on non-volatile storage.
6) < Committed
A message is placed in a communications buffer for transmission to Agent A, informing Agent A that the Commit record and associated "after image" data has been written to the log and that the transaction has been committed.
Agent A Agent B
7) Unlock local resources. Any local resources involved in the transaction are now unlocked by Agent B since updates may now be made by other transactions to the resources without affecting the integrity of the data.
8) Unlock local resources. Any local resources involved in the transaction are now unlocked by Agent A since updates may now be made by other transactions to the resources without affecting the integrity of the data.
9) Next normal flow to B implies that log data can be purged.
In this prior art, a single pair of messages is exchanged between Agent A and Agent B, a message from A to B at step 3 and a message from B to A at step 6. Two forced writes to the log are done, the first at step 2 by Agent A, the second at step 5 by Agent B.
In an embodiment of the present invention, if A and B have access to the same log then the data flows between A and B can become:
Agent A Agent B
Take syncpoint - this may be at the end of a transaction or at some intermediate point at which it is desired that the data be in a consistent state.
1) Prepare local resources which are already locked. Any local resources involved in the transaction will have been locked by Agent A against updates being made to them by another transaction. In a given transaction there may be local resources involved in the transaction or there may be none involved in the transaction.
2) —Request-Commit-redo data- commit record > A log record containing information that the transaction is to be committed and containing any "after images" necessary to allow the transaction to be redone in the event of recovery from a failure being required is constructed by Agent A for writing onto the log associated with the last agent in the chain of agents. Agent A Agent B
This record is placed in a communications buffer for transmission to Agent B together with a request that Agent B commit the transaction.
3) Prepare local resources which are already locked. Any local resources involved in the transaction will have been locked by Agent B against updates being made to them by another transaction.
4) Log (Force) Committed record and redo data, and committed record and redo data on behalf of A.
A log record containing information that the transaction is to be committed and containing any "after images" necessary to allow the transaction to be redone in the event of recovery from a failure being required is forced to be written to the log associated with Agent B which is stored on non-volatile storage. A corresponding log record and "after images" from Agent A, which was sent at step 2 is also forced to be written to the log associated with Agent B on behalf of Agent A. Agent A Agent B
5) < Committed
A message is placed in a communications buffer for transmission to Agent A, informing Agent A that the Commit record and associated "after image" data has been written to the log and that the transaction has been committed.
6) Unlock local resources. Any local resources involved in the transaction are now unlocked by Agent B since updates may now be made by other transactions to the resources without affecting the integrity of the data.
7) Unlock local resources. Any local resources involved in the transaction are now unlocked by Agent A since updates may now be made by other transactions to the resources without affecting the integrity of the data.
8) The next normal flow between A and B implies that log records can be purged.
In this embodiment, a single pair of messages is exchanged between Agent A and Agent B, a message from A to B at step 2 and a message from B to A at step 5. Only one forced write to the log is done, at step 4 by Agent B of data for Agent B and of data for Agent A.
In another embodiment of the invention, a single pair of messages and a single log force can be used to commit data for any number of agents in a chain. For example:
Agent A Agent B Agent C
Take syncpoint
-RC-redo-data-> A commit record and any after images are constructed by Agent A. This information is placed in a communications buffer for transmission to Agent B.
-RC-redo-data-> for A,B.
Agent B constructs its commit record and any after images. This is added to the information received from Agent A and is placed in a communications buffer for transmission to Agent C.
Agent A Agent B Agent C
Log Commit and redo data for A,B,C. A commit record and any after images for Agent C are written to the log associated with Agent C. The commit records and after images received from Agent B and containing information from Agent A and Agent B are written on the log associated with Agent C on behalf of
<-Committed Agents A & B.
A message is placed in a communications buffer for transmission to Agent B, informing Agent B that the Commit records and associated "after image" data for Agents A, B & C have been written to the log and that the transaction has been committed. Agent A Agent B Agent C
<-Committed
Agent B passes on to Agent A the message it received from Agent C by placing the message in a communications buffer.
The next normal flow between A and C implies that log records can be purged.
In this embodiment three agents are committed using two pairs of messages and a single log force. Two pairs of messages are exchanged, one pair between Agent A and Agent B and one pair between Agent B and Agent C. Only one forced write to the log is done by Agent C for itself and for the data from Agent A and Agent B.
Where the commit tree is not a chain, only a single pair of messages need be sent between agents so long as the same log is used for all of the agents. For example:
Agent A Agent B Agent C Agent D Agent E
Take Syncpoint
-RC-redo-dat -> for A
RC-redo-data-> for A,B
- C-redo-data->
.for A,B,C
RC- •>
-RC-redo-data->
•for D
Log Commit and redo data for A,B,C,D,E
<-Committed- —Committed-
-Committe -
<-Committed-
<-Committed--
The next normal flow between A and E implies that log records can be purged.
The commit tree splits at B and recombines at E. As in the prior art type of two phase commit protocol the flows need to contain the information that E will do the eventual logging and that no logging may occur until both parts of the flow have arrived at E. The Committed flow between C and B contains redundant information and could be omitted.
The recombination does not have to occur at the last agent, that is the agent which is to actually log the requests and after image data on its log. In the example above, there could be a further agent, Agent F, which receives the commit requests and after images for Agents A to E, and logs this together with its own data on its associated log. In this case, Agent E does not forward the commit request and the associated data, together with its own log data until it receives the commit requests and associated data from both parts of the chain. As in the prior art, both parts of the flow contain information that the flow has split, and that when each part arrives at Agent E, then Agent E should not forward the request, adding its own data until both parts of the flow are received.
When there are two agents involved in the two phase commit protocol, the invention provides a saving in the number of agents interacting with the single log associated with the last agent and the number of points at "'hich the log must guarantee the durability of the data. The consequent fewer data flows and fewer occasions when data must be saved to non¬ volatile storage provides improved throughput, when there are more than two agents involved in the two phase commit protocol, the saving provided by the invention is increased. In a typical transaction processing system, there are more than two agents involved.
Industrial Applicability
The invention is industrially applicable in the field of data processing, when applied to distributed transaction processing systems, in order to reduce the total number of log records written by such distributed data processing system.

Claims

1. A method, for use in a two phase commit protocol between a plurality of agents, each agent having an associated recovery log, of reducing the number of forced writes to recovery logs, the method comprising the steps of:
a first agent sending a commit request to a next agent in a chain of agents; each subsequent agent in said chain sending said commit request received from a previous agent in the chain to a next agent in the chain, until a last agent in the chain has been reached; writing by said last agent to its associated recovery log of a commit record indicating that the changes are to be committed; said last agent sending a committed message to a previous agent in a chain of agents; and repeating said step of sending a committed message until the first agent in the chain has been reached;
characterised in that:
data representing commit records to be logged for said first and said subsequent agents is added respectively by each of said first and said subsequent agents to said commit request prior to sending said commit request received from a previous agent in the chain to a next agent in the chain; and said logging of said commit records is completed by the last agent only.
2. A method as claimed in claim 1 wherein, prior to the step of sending a commit request, said first agent and each of said subsequent agents prepares any resources, local to the respective agents, which have already been locked.
3. A method as claimed in claim 1 wherein, after the committed message is received, said first agent and each of said subsequent agents unlocks any resources, local to the respective agents, which were locked.
4. A method as claimed in claim 1 wherein, prior to logging by said last agent of a commit record, said last agent prepares any local resources which have already been locked.
5. A method as claimed in claim 1 wherein, after logging by said last agent of a commit record, said last agent unlocks any local resources which were locked.
6. A method as claimed in any preceding claim wherein, said chain of agents splits into a plurality of chains at an intermediate agent, and said plurality of chains recombines at an intermediate agent or at said last agent.
7. A method as claimed in claim 6 wherein sending of a committed message to a previous agent in the chain of agents only occurs via one of said plurality of chains.
8. Data processing apparatus, for use in a two phase commit protocol, wherein the number of forced writes to recovery logs associated with agents participating in said two phase commit protocol is reduced, the apparatus comprising:
two or more agents arranged in a chain, each agent having an associated recovery log; means in a first agent in the chain for sending a commit request to a next agent in the chain of agents; means in each agent in the chain for sending said commit request received from a previous agent in the chain to a next agent in the chain, until a last agent in the chain has been reached; means in said last agent for writing to its associated recovery log, a commit record indicating that the changes are to be committed; means in said last agent for sending a committed message to a previous agent in a chain of agents; and means in each agent in the chain for sending said committed request to a previous agent in the chain until said first agent in the chain has been reached;
characterised in that:
data representing said commit records to be logged for said first and said subsequent agents is added respectively by each of said first and said subsequent agents to said commit request prior to sending said commit request received from a previous agent in the chain of agents to a next agent in the chain of agents; and commit records are logged only onto a log associated with the last agent in the chain of agents.
9. A data processing apparatus as claimed in claim 8 wherein, said chain of agents splits into a plurality of chains at an intermediate agent, and said plurality of chains recombines at an intermediate or at said last agent.
10. A data processing apparatus as claimed in claim 9 wherein sending of a committed message to a previous agent in the chain of agents only occurs via one of said plurality of chains.
PCT/GB1995/002053 1995-06-07 1995-08-31 Reduction of logging in distributed systems WO1996041262A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
DE69508288T DE69508288T2 (en) 1995-06-07 1995-08-31 REDUCTION OF LOGGING PROCESSES IN DISTRIBUTED SYSTEMS
JP50019997A JP3491282B2 (en) 1995-06-07 1995-08-31 Method and data processor for reducing the number of recovery log forced writes
EP95930599A EP0834127B1 (en) 1995-06-07 1995-08-31 Reduction of logging in distributed systems

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
GB9511483.1 1995-06-07
GB9511483A GB2301909A (en) 1995-06-07 1995-06-07 Reduction of logging in distributed transaction processing systems

Publications (1)

Publication Number Publication Date
WO1996041262A1 true WO1996041262A1 (en) 1996-12-19

Family

ID=10775636

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/GB1995/002053 WO1996041262A1 (en) 1995-06-07 1995-08-31 Reduction of logging in distributed systems

Country Status (6)

Country Link
US (1) US5734897A (en)
EP (1) EP0834127B1 (en)
JP (1) JP3491282B2 (en)
DE (1) DE69508288T2 (en)
GB (1) GB2301909A (en)
WO (1) WO1996041262A1 (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19805518B4 (en) * 1998-02-11 2013-10-24 Siemens Aktiengesellschaft Method and device for analyzing protection signals for a number of safety-relevant plant parts of a technical installation
US6144989A (en) * 1998-06-15 2000-11-07 Dejima, Inc. Adaptive agent-oriented software architecture
GB2346985B (en) * 1999-02-19 2003-07-09 Ibm Client/server transaction data processing system with optimum selection of last agent
GB2346990B (en) 1999-02-20 2003-07-09 Ibm Client/server transaction data processing system with automatic distributed coordinator set up into a linear chain for use of linear commit optimization
GB2359386B (en) * 2000-02-16 2004-08-04 Data Connection Ltd Replicated control block handles for fault-tolerant computer systems
US6490595B1 (en) 2000-03-30 2002-12-03 International Business Machines Corporation Method, system and program products for providing efficient syncpoint processing of distributed transactions
US6671686B2 (en) 2000-11-02 2003-12-30 Guy Pardon Decentralized, distributed internet data management
US7353176B1 (en) 2001-12-20 2008-04-01 Ianywhere Solutions, Inc. Actuation system for an agent oriented architecture
US7231343B1 (en) * 2001-12-20 2007-06-12 Ianywhere Solutions, Inc. Synonyms mechanism for natural language systems
US8738568B2 (en) 2011-05-05 2014-05-27 Oracle International Corporation User-defined parallelization in transactional replication of in-memory database
US7406486B1 (en) * 2002-04-10 2008-07-29 Oracle International Corporation Transforming transactions to increase parallelism when replicating
US7103597B2 (en) * 2002-10-03 2006-09-05 Mcgoveran David O Adaptive transaction manager for complex transactions and business process
US7418462B2 (en) * 2003-11-24 2008-08-26 Microsoft Corporation Optimized recovery logging
US7292978B2 (en) * 2003-12-04 2007-11-06 Toyota Infotechnology Center Co., Ltd. Shortcut names for use in a speech recognition system
US7890457B2 (en) * 2006-10-20 2011-02-15 Oracle International Corporation Transactionally consistent database workload replay
US8442962B2 (en) 2010-12-28 2013-05-14 Sap Ag Distributed transaction management using two-phase commit optimization
JP2015176203A (en) * 2014-03-13 2015-10-05 沖電気工業株式会社 database system, database server, database server program, database client, and database client program
US10942823B2 (en) 2018-01-29 2021-03-09 Guy Pardon Transaction processing system, recovery subsystem and method for operating a recovery subsystem

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0477123A2 (en) * 1990-09-17 1992-03-25 International Business Machines Corporation A method of managing unit-of-work identifiers in a distributed transaction processing system
US5140689A (en) * 1989-05-25 1992-08-18 Kabushiki Kaisha Toshiba Data recovery system and method of distributed transaction processing system
US5396613A (en) * 1992-11-05 1995-03-07 University Of Utah Research Foundation Method and system for error recovery for cascaded servers

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9004116D0 (en) * 1990-02-23 1990-04-18 Digital Equipment Int Transaction control
US5319774A (en) * 1990-05-16 1994-06-07 International Business Machines Corporation Recovery facility for incomplete sync points for distributed application
US5327532A (en) * 1990-05-16 1994-07-05 International Business Machines Corporation Coordinated sync point management of protected resources
JP2691081B2 (en) * 1990-05-16 1997-12-17 インターナショナル・ビジネス・マシーンズ・コーポレイション Computer network
US5319773A (en) * 1990-05-16 1994-06-07 International Business Machines Corporation Asynchronous resynchronization of a commit procedure
US5261089A (en) * 1990-05-16 1993-11-09 International Business Machines Corporation Optimization of commit procedures by utilizing a two-phase commit procedure only when necessary
GB2256514B (en) * 1991-05-21 1994-11-16 Digital Equipment Corp Commitment ordering for guaranteeing serializability across distributed transactions
GB2256069B (en) * 1991-05-23 1994-09-07 Digital Equipment Int Transaction processing
GB2263988B (en) * 1992-02-04 1996-05-22 Digital Equipment Corp Work flow management system and method
JP2675968B2 (en) * 1992-08-20 1997-11-12 インターナショナル・ビジネス・マシーンズ・コーポレイション Extension of subscriber distributed two-phase commit protocol
US5499364A (en) * 1993-10-14 1996-03-12 Digital Equipment Corporation System and method for optimizing message flows between agents in distributed computations

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5140689A (en) * 1989-05-25 1992-08-18 Kabushiki Kaisha Toshiba Data recovery system and method of distributed transaction processing system
EP0477123A2 (en) * 1990-09-17 1992-03-25 International Business Machines Corporation A method of managing unit-of-work identifiers in a distributed transaction processing system
US5396613A (en) * 1992-11-05 1995-03-07 University Of Utah Research Foundation Method and system for error recovery for cascaded servers

Also Published As

Publication number Publication date
GB9511483D0 (en) 1995-08-02
US5734897A (en) 1998-03-31
DE69508288T2 (en) 1999-10-14
EP0834127B1 (en) 1999-03-10
JP3491282B2 (en) 2004-01-26
JPH10507558A (en) 1998-07-21
GB2301909A (en) 1996-12-18
DE69508288D1 (en) 1999-04-15
EP0834127A1 (en) 1998-04-08

Similar Documents

Publication Publication Date Title
US5734897A (en) Reduction of logging in distributed systems
US5065311A (en) Distributed data base system of composite subsystem type, and method fault recovery for the system
EP0772136B1 (en) Method of commitment in a distributed database transaction
US6873995B2 (en) Method, system, and program product for transaction management in a distributed content management application
JP2644188B2 (en) Fault tolerant transaction-oriented data processing system and method
US6173420B1 (en) Method and apparatus for fail safe configuration
US6993537B2 (en) Data recovery system
EP0814590A2 (en) Preventing conflicts in distributed systems
US7562100B2 (en) Maintaining coherency in a symbiotic computing system and method of operation thereof
US20030074600A1 (en) Data backup/recovery system
US20030050930A1 (en) Method and apparatus for lockstep data replication
CN101512527A (en) Data processing system and method of handling requests
EP0834122B1 (en) Synchronisation procedure in a routing node
WO1993018454A1 (en) Distributed transaction processing system
US5745674A (en) Management of units of work on a computer system log
EP0839350B1 (en) Optimized synchronisation procedure
US6842763B2 (en) Method and apparatus for improving message availability in a subsystem which supports shared message queues
JP3809858B2 (en) Method, system, and program product for realizing efficient synchronization point processing of distributed transaction
US6948093B2 (en) Data processing arrangement and method
US6848037B2 (en) Data processing arrangement and method
CN110196788B (en) Data reading method, device and system and storage medium
JP4280306B2 (en) Log-based data architecture for transaction message queuing systems
EP0817019B1 (en) Method of stratified transaction processing
US6539434B1 (en) UOWE&#39;s retry process in shared queues environment
CN113297134A (en) Data processing system, data processing method and device, and electronic device

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): JP US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE DK ES FR GB GR IE IT LU MC NL PT SE

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 1995930599

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1995930599

Country of ref document: EP

WWG Wipo information: grant in national office

Ref document number: 1995930599

Country of ref document: EP