Query modification analysis
First Claim
1. A method of processing queries, comprising:
- receiving a query;
performing a comparative analysis between the query and one or more previously executed queries to determine a difference in scope with respect to results; and
executing the query against one of a first data source and a second data source depending upon the difference in scope determined by the comparative analysis, where the second data source is a subset of the first data source.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods, systems and articles of manufacture are provided for a query analysis approach used to identify “nondestructive” and “destructive” queries. In one aspect, a “non-destructive” query is one which does not return any additional results relative to results returned by a previously executed query or queries. Conversely, a “destructive” query is one which does return additional results relative to results returned by a previously executed query. If the query is determined to be destructive, the query is executed against the complete data repository (e.g., database or data warehouse). If the query is nondestructive, the query (or some restructured form thereof) is executed against a data subset of the complete data repository.
-
Citations
31 Claims
-
1. A method of processing queries, comprising:
-
receiving a query;
performing a comparative analysis between the query and one or more previously executed queries to determine a difference in scope with respect to results; and
executing the query against one of a first data source and a second data source depending upon the difference in scope determined by the comparative analysis, where the second data source is a subset of the first data source. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method of processing queries, comprising:
-
receiving a query;
performing a comparative analysis between the query and one or more previously executed queries to determine a difference in scope with respect to results; and
depending upon the difference in scope determined by the comparative analysis, performing one of;
executing the query against a first data source; and
restructuring the query and executing the restructured query against a second data source, where the second data source is a subset of the first data source. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. A method of processing queries, comprising:
-
receiving a query;
performing comparative analysis between a structure of the query and a structure of a plurality of previously executed queries to determine a difference in scope with respect to results; and
upon determining that a results scope of the query is less than at least one of the plurality of previously executed queries;
restructuring the query; and
executing the restructured query against a first data source, where the first data source contains results returned from execution of the at least one of the plurality of previously executed queries. - View Dependent Claims (15)
-
-
16. A computer readable medium containing a program which, when executed, performs an operation, comprising:
-
performing a comparative analysis between a query received for execution and one or more previously executed queries to determine a difference in scope with respect to results; and
submitting the query for execution against one of a first data source and a second data source depending upon the difference in scope determined by the comparative analysis, where the second data source is a subset of the first data source. - View Dependent Claims (17, 18, 19, 20, 21)
-
-
22. A computer readable medium containing a program which, when executed, performs an operation, comprising:
-
performing a comparative analysis between a query received for execution and one or more previously executed queries to determine a difference in scope with respect to results; and
depending upon the difference in scope determined by the comparative analysis, performing one of;
submitting the query for execution against a first data source; and
restructuring the query and submitting the restructured query for execution against a second data source, where the second data source is a subset of the first data source. - View Dependent Claims (23, 24, 25, 26, 27, 28)
-
-
29. A computer readable medium containing a program which, when executed, performs an operation, comprising:
-
performing a comparative analysis between a structure of a query received for execution and a structure of a plurality of previously executed queries to determine a difference in scope with respect to results; and
upon determining that a results scope of the query is less than at least one of the plurality of previously executed queries;
restructuring the query; and
executing the restructured query against a first data source, where the first data source contains results returned from execution of the at least one of the plurality of previously executed queries. - View Dependent Claims (30)
-
-
31. A computer system, comprising:
-
a data repository, comprising a first data source and a second data source, wherein the second data source is a data subset of the first data source populated with results of previously executing queries;
a runtime component; and
a processor which, when configured with the runtime component, performs an operation comprising;
performing a comparative analysis between a structure of a query received for execution and a structure of a previously executed query to determine a difference in scope with respect to results;
upon determining that a results scope of the query is greater than the previously executed query, executing the restructured query against the first data source; and
upon determining that the results scope of the query is less than the previously executed query;
(i) restructuring the query; and
(ii) executing the restructured query against the second data source.
-
Specification