Implicit group commit when writing database log entries
Abstract
First k log buffers, in a data storage application including a plurality of log buffers are each loaded with exactly one transaction. Each log buffer is written to one of a plurality of log partitions. Thereafter, each of the log buffers is sent to an input/output (I/O) subsystem when they are respectively loaded with a single transaction. Transactions are subsequently accumulated in respective new current log buffers after sending the k log buffers to the I/O subsystem. The accumulated transactions are sent to the I/O subsystem when the earlier occurs of (i) the respective current log buffer being full or (ii) a number of incomplete input/output requests handled by the I/O subsystem falls below k. Related apparatus, systems, techniques and articles are also described.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A non-transitory computer program product storing instructions that, when executed by at least one programmable processor, cause the at least one programmable processor to perform operations comprising: receiving, in a data storage application including a plurality of log buffers, an indication of the number of input/output (I/O) requests that an I/O subsystem is capable of concurrently processing; determining, based on the indication of the number of I/O requests that the I/O subsystem is capable of concurrently processing, a number k of active parallel I/Os for a plurality of log partitions;
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗