CHECKPOINTS FOR DOCUMENT STORE
First Claim
1. A computing system comprising:
- an in-memory storage; and
a processor configured todetect database transactions performed on a slice of the in-memory storage and store a record of the database transactions in a log file,receive a request to persist the slice of in-memory storage, the request comprising a timing indicator corresponding to a timing of database transactions,trim the log file based on the timing indicator to remove a record of one or more database transactions from the log file that occurred prior to the timing indicator and to preserve a record of one or more database transactions that occurred after the timing indicator, andpersist, to disk, data present in the slice based on a point in time of the timing indicator and the trimmed log file preserving the record of the one or more database transactions that occurred after the timing indicator.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided are systems and methods for storing checkpoints of an in-memory storage device. In one example, the method may include detecting database transactions performed on a slice of an in-memory storage and storing a record of the database transactions in a log file, receiving a request to persist the slice of in-memory storage, the request comprising a timing indicator corresponding to a timing of database transactions, trimming the log file based on the timing indicator to remove a record of one or more database transactions from the log file that occurred prior to the timing indicator and to preserve a record of one or more database transactions that occurred after the timing indicator, and persisting, to disk, data from the slice of in-memory storage and the trimmed log file preserving the record of the one or more database transactions that occurred after the timing indicator.
-
Citations
20 Claims
-
1. A computing system comprising:
-
an in-memory storage; and a processor configured to detect database transactions performed on a slice of the in-memory storage and store a record of the database transactions in a log file, receive a request to persist the slice of in-memory storage, the request comprising a timing indicator corresponding to a timing of database transactions, trim the log file based on the timing indicator to remove a record of one or more database transactions from the log file that occurred prior to the timing indicator and to preserve a record of one or more database transactions that occurred after the timing indicator, and persist, to disk, data present in the slice based on a point in time of the timing indicator and the trimmed log file preserving the record of the one or more database transactions that occurred after the timing indicator. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method comprising:
-
detecting database transactions performed on a slice of an in-memory storage and storing a record of the database transactions in a log file; receiving a request to persist the slice of in-memory storage, the request comprising a timing indicator corresponding to a timing of database transactions; trimming the log file based on the timing indicator to remove a record of one or more database transactions from the log file that occurred prior to the timing indicator and to preserve a record of one or more database transactions that occurred after the timing indicator; and persisting, to disk, data present in the slice based on a point in time of the timing indicator and the trimmed log file preserving the record of the one or more database transactions that occurred after the timing indicator. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A non-transitory computer-readable storage medium storing program instructions that when executed cause a processor to perform a method comprising:
-
detecting database transactions performed on a slice of an in-memory storage and storing a record of the database transactions in a log file; receiving a request to persist the slice of in-memory storage, the request comprising a timing indicator corresponding to a timing of database transactions; trimming the log file based on the timing indicator to remove a record of one or more database transactions from the log file that occurred prior to the timing indicator and to preserve a record of one or more database transactions that occurred after the timing indicator; and persisting, to disk, data present in the slice based on a point in time of the timing indicator and the trimmed log file preserving the record of the one or more database transactions that occurred after the timing indicator. - View Dependent Claims (18, 19, 20)
-
Specification