发明名称 Method and apparatus for implementing segmented arrays in a database
摘要 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 system that supports both segmented and contiguous arrays, whether the memory for a particular array is segmented or contiguous can depend on any number of factors.
申请公布号 US5845296(A) 申请公布日期 1998.12.01
申请号 US19960677771 申请日期 1996.07.10
申请人 ORACLE CORPORATION 发明人 JASUJA, AMIT;TARANTO, ROGER;LOAIZA, JUAN;PUTZOLU, GIANFRANCO
分类号 G06F12/02;(IPC1-7):G06F17/30 主分类号 G06F12/02
代理机构 代理人
主权项
地址