Tail of logs in persistent main memory
Abstract
A system that uses a persistent main memory to preserve events that await logging in a persistent store. Each event is written into the persistent main memory so as to be loggable in case of recovery. For instance, the event may be written into a log cache structure, along with other state which identifies that the event is in the particular log cache structure, the location of the event within the particular log cache structure, and the order of the event. To recover, the log in the persistent store is evaluated to identify the end of the stored log. The tail of the log is identified in the persistent main memory by identifying any log cache structures that are after the end of the stored log and which are validly recoverable. The log cache structure contents are then serialized one log cache at a time, earliest first.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system comprising: persistent main memory; one or more event writing components that request logging of events; persistent storage that has therein a log of events; a recovery component that is triggered during recovery to use the log in persistent storage as well as events written to the persistent main memory in order to perform recovery; and a log management component that causes events, that the writing component(s) request be logged, to be written to the persistent main memory in a manner that the recovery component would log the event in case of recovery, the event being written into t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (22)
Non-Patent Literature (4)
- Debrabant, et al., "A Prolegomenon on OLTP Database Systems for Non-Volatile Memory", In Proceedings of the VLDB Endowment, vol. 7, No. 14, Sep. 2014, 7 pages.
- Huang, et al., "NVRAMaware Logging in Transaction Systems", In Proceedings of the VLDB Endowment, vol. 8, No. 4, Aug. 31, 2015, pp. 389-400.
- International Search Report and the Written Opinion issued in PCT Application No. PCT/US2016/064510 mailed Feb. 23, 2017.
- Wang, et al., "Scalable Logging through Emerging Non-Volatile Memory", In Proceedings of the VLDB Endowment, vol. 7, No. 10, Sep. 1, 2014, pp. 865-876.