Method and a system for processing a log record
First Claim
Patent Images
1. A data processing method for storing a plurality of log records of transaction processing in a computer system, comprising the steps of:
- classifying said log records into at least a first type of log record and a second type of log record based on uses for said log records, said first type of log record being used for recovery of said computer system, and said second type of log record being used for archival purposes;
storing said first type of log record into a first log buffer upon generation of said first type of log record in a transaction;
storing said second type of log record into a second log buffer upon generation of said second type of log record in said transaction;
storing said first type of log record in said first log buffer to a first storage medium, at least when said transaction ends; and
storing said second type of log record in said second log buffer to a second storage medium when said second log buffer is full, wherein size of said second log buffer is a predetermined times as large as an average amount of data for said second type of log record produced in one transaction.
0 Assignments
0 Petitions
Accused Products
Abstract
A data processing system for processing transactions, wherein a log record to be used for recovery of the system is written into a log file for system recovery in synchronism with the end of a transaction, and log records other than resident information are is written for a plurality of transactions into a log file for archives.
199 Citations
9 Claims
-
1. A data processing method for storing a plurality of log records of transaction processing in a computer system, comprising the steps of:
-
classifying said log records into at least a first type of log record and a second type of log record based on uses for said log records, said first type of log record being used for recovery of said computer system, and said second type of log record being used for archival purposes; storing said first type of log record into a first log buffer upon generation of said first type of log record in a transaction; storing said second type of log record into a second log buffer upon generation of said second type of log record in said transaction; storing said first type of log record in said first log buffer to a first storage medium, at least when said transaction ends; and storing said second type of log record in said second log buffer to a second storage medium when said second log buffer is full, wherein size of said second log buffer is a predetermined times as large as an average amount of data for said second type of log record produced in one transaction. - View Dependent Claims (2, 3, 6, 7, 8)
-
-
4. A data processing system for storing a plurality of log records of transaction processing in a computer system, comprising:
-
means for classifying said log records into at least a first type of log record and a second type of log record based on uses for said log records, said first type of log record being used for recovery of said computer system, and said second type of log record being used for archival purposes; means for storing said first type of log record into a first log buffer upon generation of said first type of log record in a transaction; means for storing said second type of log record into a second log buffer upon generation of said second type of log record in said transaction; means for storing said first type of log record in said first log buffer to a first storage medium, at least when said transaction ends; and means for storing said second type of log record in said second log buffer to a second storage medium when said second log buffer is full, wherein size of said second log buffer is a predetermined times as large as an average amount of data for said second type of log record produced in one transaction. - View Dependent Claims (5, 9)
-
Specification