Facilitating identification of star schemas in database environments
First Claim
1. A non-transitory computer readable storage medium storing one or more sequences of instructions for causing a system to facilitate identification of a star schema defining a structure for storing a desired data in a data warehouse, said desired data being already stored in a database organized as a normalized schema, wherein said normalized schema of said database defines a plurality of tables in said database, wherein execution of said one or more sequences of instructions by one or more processors contained in said system causes said system to perform the actions of:
- receiving a first query and a second query directed to said database organized as said normalized schema;
examining said first query to determine a first join of a first table and a second table, wherein said first table and said second table are contained in said plurality of tables, and wherein said first join is according to said normalized schema,wherein said examining also examines said second query to determine a third join of a seventh table and an eighth table, wherein said seventh table and said eighth table are contained in said plurality of tables, wherein said third join is according to said normalized schema; and
forming said star schema for said data warehouse by including a first relationship associating said first table and said second table in said star schema based on said examining of said first query in response to said receiving said first query, said forming also including a sixth relationship associating said seventh table and said eighth table in said star schema based on said examining of said second query in response to said receiving of said second query,whereby said star schema includes both of said first relationship and said sixth relationship.
1 Assignment
0 Petitions
Accused Products
Abstract
Facilitating identification of star schemas in database environments. In an embodiment, queries directed to relational database tables (organized according to normalized schema) are examined to determine the relationships specified in the queries. A star schema is then generated by including the specified relationships. A data warehouse may be organized according to the generated star schema and the data previously stored in the database tables may be copied to the data warehouse.
20 Citations
16 Claims
-
1. A non-transitory computer readable storage medium storing one or more sequences of instructions for causing a system to facilitate identification of a star schema defining a structure for storing a desired data in a data warehouse, said desired data being already stored in a database organized as a normalized schema, wherein said normalized schema of said database defines a plurality of tables in said database, wherein execution of said one or more sequences of instructions by one or more processors contained in said system causes said system to perform the actions of:
-
receiving a first query and a second query directed to said database organized as said normalized schema; examining said first query to determine a first join of a first table and a second table, wherein said first table and said second table are contained in said plurality of tables, and wherein said first join is according to said normalized schema, wherein said examining also examines said second query to determine a third join of a seventh table and an eighth table, wherein said seventh table and said eighth table are contained in said plurality of tables, wherein said third join is according to said normalized schema; and forming said star schema for said data warehouse by including a first relationship associating said first table and said second table in said star schema based on said examining of said first query in response to said receiving said first query, said forming also including a sixth relationship associating said seventh table and said eighth table in said star schema based on said examining of said second query in response to said receiving of said second query, whereby said star schema includes both of said first relationship and said sixth relationship. - View Dependent Claims (2, 3, 4)
-
-
5. A method of managing data, said method comprising:
-
storing data of interest in a database organized as a plurality of tables specified according to a normalized schema, wherein said normalized schema of said database also indicates a structure of each of said plurality of tables and a plurality of relationships existing among said plurality of tables in said database; receiving a plurality of queries directed to said database organized as said normalized schema, wherein each of said plurality of queries specifies a corresponding one of a plurality of subset of relationships, said subset of relationships being contained in said plurality of relationships; identifying a star schema by including said plurality of subset of relationships in response to said receiving and by examining said plurality of queries; organizing a data warehouse according to a second structure defined by said star schema; and after said organizing, copying data of interest previously stored in said database to said data warehouse organized as said star schema, wherein said copying is performed after said receiving and said identifying also. - View Dependent Claims (6, 7, 8, 9)
-
-
10. A digital processing system for managing data, said digital processing system comprising:
-
a memory to store a plurality of instructions; and one or processors to execute said plurality of instructions, which causes said digital processing system to perform the actions of; storing data of interest in a database organized as a plurality of tables specified according to a normalized schema, wherein said normalized schema of said database also indicates a structure of each of said plurality of tables and a plurality of relationships existing among said plurality of tables in said database; examining a plurality of queries directed to said database organized as said normalized schema, wherein each of said plurality of queries specifies a corresponding one of a plurality of subset of relationships, said subset of relationships being contained in said plurality of relationships; identifying a star schema by including said plurality of subset of relationships based on said examining said plurality of queries;
organizing a data warehouse according to a second structure defined by said star schema; andafter said organizing, copying data of interest previously stored in said database to said data warehouse organized as said star schema, wherein said copying is performed after said examining and said identifying also. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
Specification