RESTRICTING QUERIES BASED ON COST OF PERFORMANCE
First Claim
1. A method for improving performance of a server performing queries related to interacting with data in a database, the method executing on a processor of a computer, comprising:
- receiving a query at the server from a client;
wherein the query interacts with a list within the database;
determining a cost of the query;
wherein determining the cost of the query comprises determining a cost of executing the query and determining a cost of other operations that are performed in response to running the query; and
preventing the query from executing when the cost is determined to be expensive.
2 Assignments
0 Petitions
Accused Products
Abstract
Queries that are determined to be too expensive to perform are prevented from being executed. Queries are determined to be too expensive based on the resources that are required to perform the query. For example, the query may be determined to be too expensive to perform based a length of a list the query requires to access, a number of lookups that may be performed relating to the query, a number of unique permissions accessed by the query, and the like. Queries that are deemed to expensive during normal operation may be performed during other times such that the impact of performing the query on other users is limited.
25 Citations
20 Claims
-
1. A method for improving performance of a server performing queries related to interacting with data in a database, the method executing on a processor of a computer, comprising:
-
receiving a query at the server from a client;
wherein the query interacts with a list within the database;determining a cost of the query;
wherein determining the cost of the query comprises determining a cost of executing the query and determining a cost of other operations that are performed in response to running the query; andpreventing the query from executing when the cost is determined to be expensive. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-readable storage medium having computer-executable instructions for improving performance of a server performing queries related to interacting with data in a database, the instructions executing on a processor of a computer, comprising:
-
receiving a query to interact with the data within the database; determining when a query is expensive by determining a cost of executing the query that relates to a number of accesses to the database; and preventing the query from executing when the query is determined to be expensive. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A system for restricting execution of queries, comprising:
-
a processor and a computer-readable medium; an operating environment stored on the computer-readable medium and executing on the processor; a network connection; a relational database; a content management application and a query manager operating on the processor; and
configured to perform tasks, comprising;receiving a query to interact with data within the relational database; determining when a query is expensive by determining a cost of the query and determining when an impact of performing the query exceeds a predetermined threshold; and preventing the query from executing when the query is determined to be expensive. - View Dependent Claims (17, 18, 19, 20)
-
Specification