Query costing in a multidimensional database
Abstract
The cost of running a query (having a query range) on a multidimensional database may be estimated using a process factors criteria beyond merely the number of affected records. First, a materialized view of the database may be represented as a container of tuples, sorted by key. Then keys may be stepped through, each key representing a mapping of a combination of tuples from the container. At each step, the process may request the next smallest key in the query range greater than or equal to the key of the current step, which results in the tuple in the database whose key is the smallest, greater than or equal to the requested key, and determine if the resulting is in the query range. The cost of the query may then be estimated as the number of tuples upon which the range check was performed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 5.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for estimating processing cost for a query on a multidimensional cube, the method comprising: representing, by a computer system, the query as a series of fixed and variable bits, wherein the series includes a plurality of variable bits; for each bit of said series, associating, by the computer system, a weight with said each bit, wherein the weight represents an approximation of an expected number of ranges, out of a total number of ranges corresponding to said each bit, that are filled in the multidimensional cube; and generating, by the computer system, an estimated processing cost
- Claim 2Depends on #1
The method of claim 1 , wherein generating the estimated processing cost includes multiplying the weights associated with the plurality of variable bits.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (5)
- Final Office Action for U.S. Appl. No. 10/863,313, mailed on Oct. 19, 2007, 8 pages.
- Harinarayan, V. et al., "Implementing Data Cubes Efficiently", Sigmod Conference 1996: 205-216, pp. 1-25, http://www.informatik.uni-trier.de/-ley/db/conf/sigmod/HarinarayanRU96.html.
- Liang et al. "Optimizing multiple dimensional queries simultaneously in multidimensional databases", the VLDB Journal 2000, p. 319-338, hereafter Liang.
- Nadeau, T. et al., "Achieving Scalability in OLAP Materialized View Selection", Nov. 8, 2002, 7 pages, DOLAP, McLean, Virginia USA.
- Nadeau, T., "Achieving Scalability in OLAP Materialized View Selection", http://www.cis.drexel.edu/faculty/song/dolap02/presentation/DOLAP02-nadeau.ppt.