Flexible per-request data durability in databases and other data stores
AssigneeSap SE
InventorIvan Schreter
Life of this patent
Estimating the term…
Abstract
An approach for providing flexible durability operations for a data storage application can include requests to perform logging operations of data storage application having an indication of a durability mode to use for the logging operation. The logging operation can be initiated according to the indication of the durability mode and a callback indicating log write completion can be called according to the indication of the durability mode.
Claims19
A computer-implemented method comprising:
- receiving a request to perform a logging operation of a data storage application, the logging operation comprising writing of data to a secondary storage, the request comprising an indication of a durability mode to use for the logging operation;
- initiating the logging operation according to the indication of the durability mode;
- and
- calling a callback indicating log write completion according to the indication of the durability mode, the log write completion indicating that a current log buffer containing data to was completely written to the secondary storage.
A system comprising:
- computer hardware configured to perform operations comprising:
- receiving a request to perform a logging operation of a data storage application, the logging operation comprising writing of data to a secondary storage, the request comprising an indication of a durability mode to use for the logging operation;
- initiating the logging operation according to the indication of the durability mode;
- and
- calling a callback indicating log write completion according to the indication of the durability mode, the log write completion indicating that a current log buffer containing data to was completely written to the secondary storage.
A computer program product comprising a non-transitory machine-readable medium storing instructions that, when executed by at least one programmable processor, cause the at least one programmable processor to perform operations comprising:
- receiving a request to perform a logging operation of a data storage application, the logging operation comprising writing of data to a secondary storage, the request comprising an indication of a durability mode to use for the logging operation;
- initiating the logging operation according to the indication of the durability mode;
- and
- calling a callback indicating log write completion according to the indication of the durability mode, the log write completion indicating that a current log buffer containing data to was completely written to the secondary storage.
Dependencies are inferred from the claim text.