Claims
- 1. A method for performing an operation based on multidimensional data in a relational database, wherein the multidimensional data that is stored in the relational database includes a plurality of dimensions and at least one dimension of the plurality of dimensions includes a hierarchy having two or more levels of granularity, the method comprising the computer-implemented steps of:
submitting a first query to a relational database engine to cause a cube to be generated, wherein:
the first query includes instructions to select a portion of said multidimensional data for inclusion in the cube, the first query includes instructions to cause said cube to contain multidimensional data aggregated at each of said two or more levels of granularity of said at least one dimension, and the first query includes instructions to generate a materialized view; receiving a request for the operation; and based on the request, submitting a second query to the relational database engine for execution against the cube, thereby causing the operation to be performed.
- 2. The method of claim 1, wherein the materialized view is a fully materialized view.
- 3. The method of claim 1, wherein the materialized view is a partially materialized view.
- 4. The method of claim 3, wherein the partially materialized view includes lineage for at least one level of said two or more levels.
- 5. The method of claim 3, wherein the partially materialized view does not include lineage for any of said two or more levels.
- 6. The method of claim 1, wherein all dimensions of the plurality of dimensions in the materialized view are included in a container.
- 7. The method of claim 1, wherein each dimension of the plurality of dimensions in the materialized view is included in a container.
- 8. The method of claim 1, wherein at least one dimension of the plurality of dimensions in the materialized view is included in a first container and at least two additional dimensions of the plurality of dimensions in the materialized view are included in a second container that is different than the first container.
- 9. The method of claim 1, wherein the cube is partitioned into a plurality of partitions to accelerate execution of said second query.
- 10. The method of claim 9, wherein the plurality of partitions are formed using RANGE partitioning.
- 11. The method of claim 9, wherein the plurality of partitions are formed using LIST partitioning.
- 12. The method of claim 1, further comprising building an index on the cube to accelerate execution of said second query.
- 13. The method of claim 12, wherein the index is a bitmap index.
- 14. The method of claim 12, wherein the index is a B-Tree index.
- 15. The method of claim 12, wherein the index is a functional index.
- 16. The method of claim 1, further comprising building an index organized table on the cube.
- 17. The method of claim 1, wherein the cube employs compression to reduce redundant lineage information stored therein.
- 18. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in any one of claims 1-17.
RELATED APPLICATIONS
[0001] This application claims the benefit of U.S. Provisional Application Ser. No. 60/375,726, filed Apr. 26, 2002, entitled “Integrating Online Analytical Processing (OLAP) Functionality into a Relational Database Management System (RDBMS),” naming as inventors Andrew Witkowski, Gregory Dorman, David Greenfield, Ekrem Soylemez, James Carey, and A. A. Hopeman, the entire disclosure of which is hereby incorporated by reference for all purposes as if fully set forth herein. This application also claims the benefit of U.S. Provisional Application Ser. No. 60/379,870, filed May 10, 2002, entitled “Online Analytical Processing (OLAP) Operations and Access Structures for Data Stored in a Relational Database,” naming as inventors Andrew Witkowski, Gregory Dorman, and David Greenfield, the entire disclosure of which is hereby incorporated by reference for all purposes as if fully set forth herein.
Provisional Applications (2)
|
Number |
Date |
Country |
|
60375726 |
Apr 2002 |
US |
|
60379870 |
May 2002 |
US |