EXPLOITING CONDITIONS TO OPTIMIZE EXPENSIVE DATABASE QUERIES
First Claim
1. A computer-implemented query system, comprising:
- a detection component for detecting when an original query fails due to conditions imposed on a data source against which the original query is run, the conditions related to performance of the data source; and
a query component for automatically creating a new query based on the original query that when executed, the new query returns a new result set that meets the conditions.
2 Assignments
0 Petitions
Accused Products
Abstract
A fallback query mechanism that serves as a way to recover from query conditions (or criteria) that break due to excessively large result sets relative to a preset threshold. The fallback query mechanism detects when a query has failed to execute because the query requested more items from the database (or list) than allowed by the threshold, rewrites the query to examine no more than the threshold number of most recently created items that match one of the indexed filter criteria specified in a view, and then applies one or more of the other filter criteria. The mechanism then reruns the query and displays the results to the user.
116 Citations
20 Claims
-
1. A computer-implemented query system, comprising:
-
a detection component for detecting when an original query fails due to conditions imposed on a data source against which the original query is run, the conditions related to performance of the data source; and a query component for automatically creating a new query based on the original query that when executed, the new query returns a new result set that meets the conditions. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-implemented query system, comprising:
-
a detection component of a web-based collaboration server for detecting a failure of an original query due an excessive number of items in an original result set that triggers a threshold condition; and a query component of the web-based collaboration server for automatically rewriting the original query into a new query in response to the detected failure, the new query returns a new result set that does not trigger the threshold condition. - View Dependent Claims (11, 12, 13)
-
-
14. A computer-implemented method of processing a query, comprising:
-
detecting a failure of an original query due to triggering of a condition imposed on a data source against which the original query is run, the condition related to performance of the data source; rewriting the original query into a new query in response to the failure, the new query based on one or more terms of the original query; and executing the new query against the original result set to return a new result set that meets the condition. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification