System and method for determining and generating candidate views for a database
First Claim
Patent Images
1. A method for determining and generating a candidate view for, use in answering subsequent queries on a database, comprising:
- analyzing a query on the database that may or may not reference any views; and
based upon the analyzed query, determining and generating the candidate view that can be used to create a precomputed view containing precomputed results of the generated candidate view, wherein the precomputed view can be used to answer a set of queries that are subsequently submitted to the database and wherein the set of queries that can be answered using the precomputed view includes the analyzed query and wherein the analyzed query and the candidate view can be different.
3 Assignments
0 Petitions
Accused Products
Abstract
The invention features methods and apparatus for processing precomputed views for answering user queries on a database. In accordance with one aspect, a user query on the database is analyzed, and a candidate view based upon the user query is generated.
150 Citations
42 Claims
-
1. A method for determining and generating a candidate view for, use in answering subsequent queries on a database, comprising:
-
analyzing a query on the database that may or may not reference any views; and
based upon the analyzed query, determining and generating the candidate view that can be used to create a precomputed view containing precomputed results of the generated candidate view, wherein the precomputed view can be used to answer a set of queries that are subsequently submitted to the database and wherein the set of queries that can be answered using the precomputed view includes the analyzed query and wherein the analyzed query and the candidate view can be different. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
generating the precomputed view based on the generated candidate view.
-
-
21. The method of claim 20, further comprising:
answering at least one of the subsequent queries on the database using the precomputed view.
-
22. An apparatus for determining and generating a candidate view for use in answering subsequent queries on a database, comprising:
-
a query processor; and
a precomputed view processor configured to analyze a query on the database, and based upon the analyzed query, to determine and generate the candidate view that can be used to create precomputed view containing precomputed results of the generated candidate view, wherein the precomputed view can be used to answer a set of queries that are subsequently submitted to the database and wherein the set of queries that can be answered using the precomputed view includes the analyzed query and wherein the analyzed query and the candidate view can be different. - View Dependent Claims (23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42)
generate the precomputed view based on the generated candidate view.
-
-
42. The apparatus of claim 41, wherein the precomputed view processor is further configured to:
answer at least one of the subsequent queries on the database using the precomputed view.
Specification