Maintenance of link level consistency between database and file system
First Claim
1. A method of maintaining transactional link-level consistency between a database and a file system, comprising:
- logging a file system change in a record of a database log;
creating a file corresponding to the file system change in a file system log folder; and
, in a restart recovery, performing an analysis operation and a conditional redo operation based on the database log;
performing a conditional redo operation and an undo operation based on the file system log; and
performing an undo operation based on the database log.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods and computer-readable media for maintaining transactional link-level consistency between a database and a file system. A file system change is logged in a record of a database log and a file corresponding to the file system change is created in a file system folder. During a restart recovery process, an analysis operation and a conditional redo operation are performed based on the database log, and a conditional redo operation and an undo operation are performed based on the files in the file system folder. An undo operation is then performed based on the database log.
235 Citations
20 Claims
-
1. A method of maintaining transactional link-level consistency between a database and a file system, comprising:
-
logging a file system change in a record of a database log;
creating a file corresponding to the file system change in a file system log folder; and
, in a restart recovery,performing an analysis operation and a conditional redo operation based on the database log;
performing a conditional redo operation and an undo operation based on the file system log; and
performing an undo operation based on the database log. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A method of maintaining transactional link-level consistency between a database and a file system, comprising:
-
logging a file system change in a record of a database log having a plurality of records;
assigning a first Log Sequence Number to the record;
creating a file having a filename and corresponding to the file system change in a file system log folder having a plurality of Log Sequence Numbers;
encoding the first Log Sequence Number in the filename; and
, in a restart recovery,performing an analysis operation and a conditional redo operation on the database log;
selecting one of the plurality of records;
comparing a Log Sequence Number associated with the selected record to a maximum Log Sequence Number associated with the file system change;
redoing a log record if the Log Sequence Number associated with the selected record is greater than or equal to the maximum Log Sequence Number associated with the file system change;
performing an undo operation based on the file system log folder; and
performing an undo operation based on the database log. - View Dependent Claims (15, 16, 17, 18, 19)
-
-
20. A computer-readable medium having computer-executable instructions for performing a method of maintaining transactional link-level consistency between a database and a file system, the method comprising:
-
logging a file system change in a record of a database log;
creating a file corresponding to the file system change in a file system folder; and
, in a restart recovery,performing an analysis operation and a conditional redo operation based on the database log;
performing a conditional redo operation and an undo operation based on the file system log folder; and
performing an undo operation on the database log.
-
Specification