Fast archiving for database systems
First Claim
1. A method for generating an archive file for data generated by a software application configured to access an application file, comprising:
- mapping, by a storage system comprising one or more storage devices, a first set of storage blocks on one or more storage devices to an application file;
receiving, by the storage system at a first time from a software application, a request to store first data to the application file;
storing, to the first set of storage blocks mapped to the application file, the first data received from the software application;
receiving, by the storage system at a second time subsequent to the first time, an indication that a specified archiving condition has been met;
in response to receiving the indication that the specified archiving condition has been met;
remapping the first set of storage blocks to an archive file, thereby removing the mapping of the first set of storage blocks to the application file, andmapping a second set of storage blocks on the one or more storage devices to the application file, wherein the first and the second sets of storage blocks are mutually exclusive;
receiving, from the software application at a third time subsequent to the second time, a request to store second data to the application file; and
storing, to the second set of storage blocks mapped to the application file, the second data received from the software application.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods, storage facilities and computer software products implement embodiments of the present invention that include mapping, by a storage system including one or more storage devices, a set of storage blocks on a given storage device to a redo log file configured to store transactions performed by a transaction processing system. An archiving condition is specified, and upon the transaction processing system completing a given transaction a copy of the given transaction is stored to the redo log file. Upon the archiving condition being met, the storage system can remap the set of storage blocks to an archive log file.
-
Citations
23 Claims
-
1. A method for generating an archive file for data generated by a software application configured to access an application file, comprising:
-
mapping, by a storage system comprising one or more storage devices, a first set of storage blocks on one or more storage devices to an application file; receiving, by the storage system at a first time from a software application, a request to store first data to the application file; storing, to the first set of storage blocks mapped to the application file, the first data received from the software application; receiving, by the storage system at a second time subsequent to the first time, an indication that a specified archiving condition has been met; in response to receiving the indication that the specified archiving condition has been met; remapping the first set of storage blocks to an archive file, thereby removing the mapping of the first set of storage blocks to the application file, and mapping a second set of storage blocks on the one or more storage devices to the application file, wherein the first and the second sets of storage blocks are mutually exclusive; receiving, from the software application at a third time subsequent to the second time, a request to store second data to the application file; and storing, to the second set of storage blocks mapped to the application file, the second data received from the software application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A storage system, comprising:
-
one or more storage devices, each of the storage devices comprising a plurality of storage blocks; and a storage processor configured; to map a first set of the storage blocks on one or more of the storage devices to an application file, to receive, at a first time from a software application, a request to store first data to the application file, to store, to the first set of storage blocks mapped to the application file, the first data received from the software application, to receive, at a second time subsequent to the first time, an indication that a specified archiving condition has been met, in response to receiving the indication that the specified archiving condition has been met; to remap the first set of storage blocks to an archive file, thereby removing the mapping of the first set of storage blocks to the application file, and to map a second set of storage blocks on the one or more storage devices to the application file, wherein the first and the second sets of storage blocks are mutually exclusive, to receive, from the software application at a third time subsequent to the second time, a request to store second data to the application file, and to store, to the second set of storage blocks mapped to the application file, the second data received from the software application. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A computer software product, the product comprising a non-transitory computer-readable medium, in which program instructions are stored, which instructions, when read by a computer, cause the computer:
-
to map, by a storage system comprising one or more storage devices, a first set of storage blocks on one or more storage devices to an application file, receiving, by the storage system at a first time from a software application, a request to store first data to the application file, storing, to the first set of storage blocks mapped to the application file, the first data received from the software application, receiving, by the storage system at a second time subsequent to the first time, an indication that a specified archiving condition has been met, in response to receiving the indication that the specified archiving condition has been met; to remap, the first set of storage blocks to an archive file, thereby removing the mapping of the first set of storage blocks to the application file, and to map a second set of storage blocks on the one or more storage devices to the application file, wherein the first and the second sets of storage blocks are mutually exclusive, to receive, from the software application at a third time subsequent to the second time, a request to store second data to the application file, and to store, to the second set of storage blocks mapped to the application file, the second data received from the software application.
-
Specification