Method and apparatus for implementing segmented arrays in a database
Abstract
A method and apparatus for implementing segmented arrays in a database system. According to one embodiment of the invention, rather than allocating a contiguous block of memory for each array, the memory for storing at least selected arrays is broken into smaller pieces of memory referred to herein as memory segments. When the memory for an array is broken into memory segments, the array is referred to herein as a "segmented array." Each memory segment associated with a segmented array is divided into one or more memory areas, each of which represent an element of that array. The memory segments associated with a segmented array need not be contiguous. According to another aspect of the invention, the number of segments allocated for a segmented array can be increased or decreased during execution. According to yet another aspect of the invention, only some of the memory segments required to store a segmented array are initially allocated. The remainder of the memory segments required to store the array are allocated on an as needed basis. According to another aspect of the invention, database systems may implement all or only some arrays as segmented arrays. In a database
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 20.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for allocating memory in a database system, said method comprising the computer-implemented steps of: detecting that an array for storing information related to said database system is required, wherein said array includes a plurality of elements; determining that a first amount of memory is required to store said array; determining that a set of one or more memory segments is to be allocated for said array, wherein each memory segment in said set of one or more memory segments is smaller than said first amount of memory; allocating said set of one or more memory segments, where
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 20 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (3)
- Efficient Algotithms for Resource Allocation in Distributed and Parallel Query Processing Environments Peng Liu, 1989 IEEE.
- Efficient Algotithms for Resource Allocation in Distributed and Parallel Query Processing Environments--Peng Liu, 1989 IEEE.
- The ins and outs of memory management. (Power Paradox 4.0) (Tutorial) Brian J. Smith, *Data Based Advisor*, v10, n12, p. 83(3) Dec. 1992.