Page recovery using volume snapshots and logs
First Claim
1. A system that facilitates page-level data restore in a database, comprising:
- a monitoring component that detects one or more corrupt data values in a data page; and
a backup component that generates backup copies of a data page upon a modification to the data page and generates update logs that store information related to page updates between backup copies, and restores a corrupt data page in the data base with a most-recent backup copy of the data page.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods are disclosed that facilitate providing page-level database restore functionality upon detection of a corruption event. Updates to a data page in a database can trigger generation of a snapshot of the data page, and an update log can be maintained that stores information related to page updates. Subsequent snapshots can be generated at predetermined intervals and can trigger truncation of a log segment and initiation of a new log segment. Upon detection of page corruption, a most-recent uncorrupt snapshot of the corrupt page can be identified, copied to the location of the corrupt page in the database, and modified according to the log segment associated with the uncorrupt snapshot to make the page current as of the corrupting event, all of which can be performed to restore the database without having to take the database offline.
-
Citations
20 Claims
-
1. A system that facilitates page-level data restore in a database, comprising:
-
a monitoring component that detects one or more corrupt data values in a data page; and
a backup component that generates backup copies of a data page upon a modification to the data page and generates update logs that store information related to page updates between backup copies, and restores a corrupt data page in the data base with a most-recent backup copy of the data page. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of backing up data in a database at a page level, comprising:
-
detecting a modification to a data page in the database;
generating a pre-modification backup copy of the data page;
generating an update log that records update events to the data page subsequent to generation of the pre-modification copy;
generating subsequent backup copies of the data page at predetermined intervals, each subsequent backup copy triggers a current log segment to be truncated and a new log segment to be generated. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A system that facilitates page-level restore in a database, comprising:
-
means for detecting an imminent modification to a page in a database;
means for generating a pre-modification snapshot copy of the page immediately prior to the detected modification;
means for generating a log that records modifications to the page after the pre-modification snapshot;
means for generating at least one subsequent snapshot copy of the page at a predetermined scheduled time; and
means for truncating the log and initiating a subsequent log segment associated with the at least one subsequent snapshot copy. - View Dependent Claims (20)
-
Specification