Index key normalization
Abstract
A b-tree may contain multiple keys. Each key may contain multiple column values of different types. In order to allow quick byte by byte comparison of the keys, a normalized form of the keys may be determined by transforming each column value, through a type specific transformative function, into a normalized form. This normalized form allows keys to be quickly compared and may be used in compressing the underlying b-tree. Each normalized key is compressed relative to the previous key by replacing the common prefix bytes with a common prefix length byte containing the number of bytes in common between the key and the previous key. The compressed keys are stored sequentially in memory with no gaps in between.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system for index key normalization in a database comprising a processor adapted for: (a) selecting an index key for normalization, wherein the index key contains more than one column, and wherein each column of the index key has a type, and wherein the index key contains more than one type of column type; (b) tracking column normalization, wherein tracking column normalization comprises: creating a tracking variable, wherein the tracking variable has a maximum value determined by a number of columns in the index key; incrementing the tracking variable value each time one of the columns of th
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 (6)
Non-Patent Literature (4)
- Bayer, R. et al., "Prefix B-Trees", ACM Transactions on Database Systems, Mar. 1977, 2(1), 11-26.
- Bumbulis, P. et al., "A Compact B-tree", ACM SIGMOD, Jun. 2002, 533-541.
- Lomet, D., "The Evolution of Effective B-tree: Page Organization and Techniques: A Personal Account", SIGMOD Record, Sep. 2001, 30(3), 64-67.
- Lomet, D.B., "Multi-Table Search for B-Tree Files", ACM, 1979, 35-42.