Method and system for defining transactions from a database log
AssigneeLakeview Technology, Inc.
InventorsKenneth A. Zaiken, Guy Dehond, Dan Boggs
Life of this patent
Estimating the term…
Loading patent…
AssigneeLakeview Technology, Inc.
InventorsKenneth A. Zaiken, Guy Dehond, Dan Boggs
Estimating the term…
A method and system of providing external transaction protection for a database using the database log or journal. The method involves creating a set of transaction templates which define transactions, using the templates to determine whether each record or entry in the journal represent part of a transaction, and maintaining a set of index file indicating transactions in progress. Each transaction template contains a number of filenames identifying files in the database affected during the transaction defined by the template. Each template also contains a key value representing one or more data fields in the database included in every action performed during the transaction. For each entry in the journal, a determination is made whether the entry belongs to a transaction based on the data fields represented in the entry and the key values associated with the templates. The index files are maintained by creating a new index file for each new transaction, adding data to a given index file from a journal entry which belongs to the transaction associated with the given index file, and deleting index files when transactions with which they are associated are complete. In the event the database is damaged, existing index files are used to determine which transactions did not complete before the database was damaged. The actions which were completed may be rolled back.
A method of defining transactions from a log of a database, the log comprising data relating to changes to the database, the log data being stored in a plurality of records each having a plurality of fields, the method comprising:
A method of defining transactions from a log of a database based upon a plurality of transaction templates, the log comprising data relating to changes to the database stored in a plurality of records each including a filename field representing a database file affected by a change, job identifier data, and data values from data fields in the database, each template being associated with a key value comprising one or more data fields in the database, each template comprising a plurality of filenames representing files changed during one or more given transactions, the method comprising:
A method of providing transaction protection for a database, wherein actions performed on data within the database are recorded in a log having a plurality of entries each storing at least job identifier data representing a source of a job being performed, a filename representing a file in the database affected by an action, an action performed on data in the database file, and one or more data fields from the database file which comprise a key value, and wherein transactions comprise a plurality of actions performed on a plurality of files, the method comprising:
A method of creating a transaction template from a log of a database, the log comprising a plurality of records of changes made to the database, the records containing data values associated with data fields in the database, the method comprising:
A method of providing transaction protection for a database comprising:
For use with a database manager program in which a log of database operations is maintained having a plurality of records each representing an action performed on the database, a system for providing externally defined transaction protection to a database, the system comprising:
A computer usable medium having computer readable program code embodied in said medium for causing the computer to perform method steps for creating a transaction template from a log of a database, the log comprising a plurality of records of changes made to the database, the records containing data values associated with data fields in the database, the method steps comprising:
A computer usable medium having computer readable program code embodied in said medium for causing the computer to perform method steps for defining transactions from a log of a database, the log comprising data relating to changes to the database, the log data being stored in a plurality of records each having a plurality of fields, the method steps comprising:
Dependencies are inferred from the claim text.