Analytical server including metrics engine
First Claim
Patent Images
1. A method of operating an analytical server which is positioned between a client and a Relational Database Management System (RDBMS), the method operable to provide an interface between the client and a relational database located on the RDBMS, the relational database having fact tables, dimension tables, and metadata describing the relationships between the fact and dimension tables, the method comprising:
- receiving in the analytical server at least a portion of the metadata information about the relational database and its organization, the metadata information including information about a logical hierarchy of a first dimension table and a logical hierarchy of a second dimension table and information about an aggregate table in the database,wherein the aggregate table comprises values from a fact table summarized up to a first specified hierarchical level of a first dimension corresponding to the first dimension table and up to a second specified hierarchical level of a second dimension corresponding to the second dimension table, andwherein the metadata information about the aggregate table includes information on the first and the second specified hierarchical levels of the first and the second dimensions respectively;
receiving in the analytical server, a metric query having a first required hierarchical level and a second required hierarchical level for each of the first dimension and the second dimension respectively;
determining whether the aggregate table supports the metric query by determining that the first specified hierarchical level of the first dimension of the aggregate table is at the same level or higher level than the first required hierarchical level of the first dimension in the metric query, and that the second specified hierarchical level of the second dimension of the aggregate table is at the same level or higher level than the second required hierarchical level of the second dimension in the metric query;
determining at least one database query according to the aggregate table if the aggregate table supports the metric query; and
sending the determined at least one database query to the RDBMS.
5 Assignments
0 Petitions
Accused Products
Abstract
Disclosed is a method for determining database queries to be sent by an analytical server to a Relational Dababase Monitoring System (RDBMS) by using hierarchical level metadata to describe the various structures within the database.
66 Citations
21 Claims
-
1. A method of operating an analytical server which is positioned between a client and a Relational Database Management System (RDBMS), the method operable to provide an interface between the client and a relational database located on the RDBMS, the relational database having fact tables, dimension tables, and metadata describing the relationships between the fact and dimension tables, the method comprising:
-
receiving in the analytical server at least a portion of the metadata information about the relational database and its organization, the metadata information including information about a logical hierarchy of a first dimension table and a logical hierarchy of a second dimension table and information about an aggregate table in the database, wherein the aggregate table comprises values from a fact table summarized up to a first specified hierarchical level of a first dimension corresponding to the first dimension table and up to a second specified hierarchical level of a second dimension corresponding to the second dimension table, and wherein the metadata information about the aggregate table includes information on the first and the second specified hierarchical levels of the first and the second dimensions respectively; receiving in the analytical server, a metric query having a first required hierarchical level and a second required hierarchical level for each of the first dimension and the second dimension respectively; determining whether the aggregate table supports the metric query by determining that the first specified hierarchical level of the first dimension of the aggregate table is at the same level or higher level than the first required hierarchical level of the first dimension in the metric query, and that the second specified hierarchical level of the second dimension of the aggregate table is at the same level or higher level than the second required hierarchical level of the second dimension in the metric query; determining at least one database query according to the aggregate table if the aggregate table supports the metric query; and sending the determined at least one database query to the RDBMS. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A method of operating an analytical server which is positioned between a client and a Relational Database Management System (RDBMS), the method operable to provide an interface between the client and a relational database located on the RDBMS, the relational database having fact tables, dimension tables, and metadata describing the relationships between the fact and dimension tables, the method comprising:
-
receiving in the analytical server at least a portion of the metadata information about the relational database and its organization, the metadata information including information about a logical hierarchy of a first dimension table and a logical hierarchy of a second dimension table and information about a first aggregate table in the database, wherein the first aggregate table comprises values from a fact table summarized up to a first specified hierarchical level of a first dimension corresponding to the first dimension table and up to a second specified hierarchical level of a second dimension corresponding to the second dimension table, and wherein the metadata information about the first aggregate table includes information on the first and the second specified hierarchical levels of the first and the second dimensions respectively; receiving in the analytical server, a first metric query having a first required hierarchical level and a second required hierarchical level for each of the first dimension and the second dimension respectively; determining whether the first aggregate table supports the first metric query by determining that the first specified hierarchical level of the first dimension of the first aggregate table is at the same level or higher level than the first required hierarchical level of the first dimension in the first metric query, and that the second specified hierarchical level of the second dimension of the first aggregate table is at the same level or higher level than the second required hierarchical level of the second dimension in the first metric query; determining a first database query according to the first aggregate table if the first aggregate table supports the first metric query; receiving in the analytical server, a second metric query; determining a second aggregate table that supports the second metric query up to required hierarchical levels of dimensions in the second metric query; determining a second database query according to the second aggregate table; and sending a combined database query to the RDBMS where the combined query combines the first database query and the second database query when the first database query and the second database query have a common fact table and at least one common dimension. - View Dependent Claims (15, 16, 17, 18)
-
-
19. A computer readable storage medium storing a plurality of instructions wherein execution of the plurality of instructions by a processor causes said processor to provide access to tables stored in a relational database located on a relational database management system (RDBMS) in order to compute a metric query, the relational database comprising fact tables, dimension tables, and metadata describing the relationships between the fact and dimension tables, the plurality of instructions comprising instructions for:
-
receiving at least a portion of the metadata information about the relational database and its organization, the metadata information including information about a logical hierarchy of a first dimension table and a logical hierarchy of a second dimension table and information about an aggregate table in the database, wherein the aggregate table comprises values from a fact table summarized up to a first specified hierarchical level of a first dimension corresponding to the first dimension table and up to a second specified hierarchical level of a second dimension corresponding to the second dimension table, wherein the metadata information about the aggregate table includes information on the first and the second specified hierarchical levels of the first and the second dimensions respectively; receiving the metric query having a first required hierarchical level and a second required hierarchical level for each of the first dimension and the second dimension respectively; determining whether the aggregate table supports the metric query by determining that the first specified hierarchical level of the first dimension of the aggregate table is at the same level or higher level than the first required hierarchical level of the first dimension in the metric query, and that the second specified hierarchical level of the second dimension of the aggregate table is at the same level or higher level than the second required hierarchical level of the second dimension in the metric query; determining at least one database query according to the aggregate table if the aggregate table supports the metric query; and sending the determined at least one database query to the RDBMS. - View Dependent Claims (20, 21)
-
Specification