Method and system for compressing varying-length columns during index high key generation
Abstract
A computer-based method for compressing varying-length columns of a non-leaf page high key generated during splitting of an index tree leaf page from a key pair including a last key of a splitting leaf page and a first key of a corresponding new leaf page. The method performs a logical comparison of the key pair by comparing each key pair corresponding columns' data with padding considered as insignificant. In a logically equal key pair with equal-length columns, the high key field will have the entire column data, and for unequal-length columns it will have column data of the shorter column length +1 byte and will have all remaining varying-length columns without trailing padding data. In a logically unequal key pair, the high key will have all columns up to and including a first differing byte, wherein the stored varying-length columns are stored without trailing padding data.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 4.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer-based method, in a database management system, for removing unnecessary trailing padding from an index high key created from a key pair with varying-length columns, the method comprising the steps of: (a) performing a logical comparison of the key pair by comparing each key pair corresponding columns' data with trailing padding considered as insignificant; and (b) in a logically equal key pair: (i) comparing corresponding columns' lengths; (ii) for equal-length columns, storing in the high key entire column data; and (iii) for unequal-length columns, storing column data for
- Claim 2Depends on #1
The method according to claim 1 , wherein the high key being a non-leaf page high key generated, during splitting of an
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (23)
Non-Patent Literature (5)
- Douglas Comer, "The Ubiquitous B-Tree", ACM, Computing Surveys, vol. 11, No. 2, Jun. 1997, p. 121-137.
- Frank rubin, "Experiments in text File Compression", the ACM, vol. 19, Nov. 1976, pp. 617-623.
- Malkemus, T.R.: "Index Locking and Splitting", 1982, TDB 12-82 p. 3725-3729.
- R.E.Wagner, "Indexing Design Considerations". Indexing, No. 4, 1973, pp. 351-367.
- Rudolf Bayer and Karl Unterauer, "Prefix B-trees", ACM Transactions on Database Systems, vol. No. 1, Mar. 1977, pp. 11-26.