Database recovery using persistent address spaces
AssigneeInternational Business Machines Corporation
InventorsOliver Benke, Roland Seiffert
Life of this patent
Estimating the term…
Abstract
A processor(s) initiates a database transaction, in a computing environment that includes a database that includes one or more memory devices. The processor(s) forks a first address space that represents a current state of the database, to create a second address space. The processor(s) writes an entry indicating timing of the initiating to a log file and generates a file that is mapped to the one or more memory devices. The file includes differences in state between the current state of the database and a state subsequent to executing and committing the database transaction, and a timestamp indicating timing for committing the database transaction. The processor(s) write the database transaction to the second address space.
Claims8
A computer-implemented method, comprising:
- initiating, by one or more processors, a database transaction in a computing environment comprising a database comprising one or more memory devices, wherein the initiating comprises:
- forking, by the one or more processors, a first address space, wherein the first address space is an address space representing a current state of the database, to create a second address space;
- writing, by the one or more processors, an entry indicating timing of the initiating to a log file;
- and
- generating, by the one or more processors, a file, wherein the file is mapped to the one or more memory devices, the file mapping a state of the database comprising one or more temporary modifications implemented by the database transaction and a timestamp indicating timing for committing the database transaction;
- and
- writing, by the one or more processors, the database transaction to the second address space.
Dependencies are inferred from the claim text.