On-line transaction processing (OLTP) compression and re-compression of database data
Abstract
A computer is programmed to compress data of a database in response to database modification language (DML) statements generated by on-line transaction processing (OLTP) systems. In several embodiments, data that is initially added to a database block is left uncompressed until a predetermined condition is satisfied, which happens infrequently (relative to OLTP transactions on the block). When satisfied, the computer automatically compresses all uncompressed data in the block, which increases the amount of unused space in the block. New data is thereafter added uncompressed to the partially compressed block, until satisfaction of a predetermined condition whereby the partially compressed block is again compressed, i.e. re-compressed. Adding of new data to a partially compressed block and its compression are repeated unless another predetermined condition is met, in response to which the block is not further re-compressed, thereby to recognize a limit on the benefit from compression.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 7.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method implemented in a computer for compression of data in a database, the method comprising: determining whether at least one predetermined condition is satisfied; in response to the determining that the at least one predetermined condition is satisfied: decompressing first compressed data from a block comprising the first compressed data and first uncompressed data, to obtain second uncompressed data from the first compressed data, the block being comprised among multiple blocks in the database; and compressing at least the first uncompressed data and the second uncompressed data together
- Claim 2Depends on #1
The method of claim 1 wherein: unused space in the block after compressing is greater than unused space in the block prior to decompressing
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (5)
- Amendment after Notice of Allowance dated Dec. 20, 2012 in U.S. Appl. No. 11/875,642, USPTO-PAIR, (9 pages).
- Amendment dated Jul. 12, 2010 in U.S. Appl. No. 11/875,642, USPTO-PAIR, (15 pages).
- Amendment dated Jul. 27, 2012 in U.S. Appl. No. 11/875,642, USPTO-PAIR, (14 pages).
- Amendment filed with RCE dated Feb. 16, 2011 in U.S. Appl. No. 11/875,642, USPTO-PAIR, (11 pages).
- Applicant Initiated Interview Summary dated Jul. 6, 2012 in U.S. Appl. No. 11/875,642, USPTO-PAIR, (3 pages).