Patent ReferencesDatabase system with multi-dimensional summary search tree nodes for reducing the necessity to access records Method and apparatus for storing and retrieving multi-dimensional data in computer memory Method for accessing a database with multi-dimensional search tree nodes Method for building a database with multi-dimensional search tree nodes Method for proximity searching with range testing and range adjustment System and methods for reformatting multi-dimensional spreadsheet information Neural network for classification of patterns with improved method and apparatus for ordering vectors Patent #: 5729662 InventorsAssigneeApplicationNo. 764564 filed on 12/12/1996US Classes:707/5Query augmenting and refining (e.g., inexact access)ExaminersPrimary: Amsbury, WayneAssistant: Ho, Ruay Lian Attorney, Agent or FirmInternational ClassG06F 017/30AbstractA method for performing a range-sum query in a database, in which the data is represented as a multi-dimensional data cube, is disclosed. The method comprises the steps of: selecting a subset of the dimensions of the data cube; computing a set of prefix-sums along the selected dimensions, based on the aggregate values in the cube corresponding the queried ranges; and generating a range-sum result based on the computed prefix-sums. Two d-dimensional arrays A and P are used for representing the data cube and the prefix-sums of the data cube, respectively. By maintaining the prefix-sum array P of the same size as the data cube, all range queries for a given cube can be answered in constant time, irrespective of the size of the sub-cube circumscribed by a query, using the inverse binary operator of the SUM operator. Alternatively, only auxiliary information for any user-specified fraction of the size of the d-dimensional data cube is maintained, to minimize the required system storage. The answer to a range query may now require access to some cells of the data cube in addition to the auxiliary information, but the average time complexity is still reduced significantly.Other References
| |