Database point-in-time restore and as-of query
AssigneeMicrosoft Corporation
InventorsTomas Talius, Robin Dhananjay Dhamankar, Hanumantha R. Kodavalla
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorsTomas Talius, Robin Dhananjay Dhamankar, Hanumantha R. Kodavalla
Estimating the term…
A database is queried as of any wall-clock time within a retention period, via undo that uses database snapshots and a list of page level modifications. The snapshot is user-identified, automatically generated, or extracted from a backup. The list is maintained in a transaction log by persisting page content before a page is re-used, persisting deleted rows before they are moved, persisting compensation log record undo information, and/or logging a full page. To rewind an entire database, the undo scans the transaction log in reverse LSN order and undoes all page modifications. Undo reverses reallocated pages, table truncation, and/or table deletion, as well as page-level modifications of a schema, metadata values, and/or system tables. An as-of query is handled using as-of page(s) from a sparse page file. If the sparse page file does not already contain the responsive page(s), they are created and added to it.
A computer-readable storage medium configured with data and with instructions that when executed by at least one processor causes the processor(s) to perform a process for accessing a version of database content as it existed at a previous point in time (the “as-of time”), the process comprising the steps of:
A computer system comprising:
Dependencies are inferred from the claim text.