Log storage management in a data processing system using key-pointing
Abstract
A data processing apparatus ( 10 , FIG. 1 ) has a direct access non-volatile storage device ( 103 ) on which log records are stored in one or more log files. The processor ( 101 ) allocates storage for the log based on possible future requirements. The processor sets the maximum amount of new data that can be written to the log before a key-point operation is performed. When the maximum is reached a key-point is performed. As a result the maximum possible size of the active data written as part of the next key-point can be calculated and storage is allocated accordingly. Should storage become restricted such that the required storage cannot be allocated the data processing apparatus runs in a restricted mode during which the records that are written to the log are concerned with reducing the size of the active data and therefore the next key-point. In transaction processing this is achieved by: not starting new transactions; not allowing transactions to involve new participants; and only allowing transactions to complete.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 18.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A data processing method for use on a data processing system, the data processing system having a direct access non-volatile memory storage device for storing log records thereon in one or more log files, the method comprising the steps of: writing log records to said log files when requested; performing a key-pointing operation on the written log records when a predetermined maximum cumulative size of log records, up to the first key-pointing operation or since the last key-pointing operation, is reached; calculating the amount of storage required to continue writing log records to the comple
- Claim 2Depends on #1
A method as claimed in claim 1 wherein said allocating step reuses some or all of the storage that becomes avail
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗