Actively managing resource bottlenecks in a database system
First Claim
1. A computer-implemented method for optimizing a database query in a computer system, comprising:
- monitoring, in the computer system, resource usage of one or more resources of the computer system;
storing, in the computer system, a condition code representative of the monitored resource usage;
modifying, in the computer system, a cost model using the stored condition code;
generating, in the computer system, a query execution plan for the database query using the modified cost model; and
executing, in the computer system, the query execution plan in order to retrieve data from a database stored on the computer system, wherein the retrieved data is presented to a user for subsequent use and analysis.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer-implemented method, apparatus and article of manufacture for optimizing a database query. Resource usage of one or more resources of the computer system are monitored. A condition code representative of the monitored resource usage is stored. A cost model is modified using the stored condition code. A query execution plan is generated for the database query using the modified cost model. The query execution plan is then executed in order to retrieve data from a database stored on the computer system, wherein the retrieved data is presented to a user for subsequent use and analysis.
153 Citations
33 Claims
-
1. A computer-implemented method for optimizing a database query in a computer system, comprising:
-
monitoring, in the computer system, resource usage of one or more resources of the computer system; storing, in the computer system, a condition code representative of the monitored resource usage; modifying, in the computer system, a cost model using the stored condition code; generating, in the computer system, a query execution plan for the database query using the modified cost model; and executing, in the computer system, the query execution plan in order to retrieve data from a database stored on the computer system, wherein the retrieved data is presented to a user for subsequent use and analysis. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer-implemented apparatus for optimizing a database query in a computer system, comprising:
-
a computer system; means, performed by the computer system, for monitoring resource usage of one or more resources of the computer system; means, performed by the computer system, for storing a condition code representative of the monitored resource usage; means, performed by the computer system, for modifying a cost model using the stored condition code; means, performed by the computer system, for generating a query execution plan for the database query using the modified cost model; and means, performed by the computer system, for executing the query execution plan in order to retrieve data from a database stored on the computer system, wherein the retrieved data is presented to a user for subsequent use and analysis. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. An article of manufacture comprising one or more storage devices tangibly embodying instructions that, when executed by a computer system, result in the computer system performing a method for optimizing a database query, the method comprising:
-
monitoring, in the computer system, resource usage of one or more resources of the computer system; storing, in the computer system, a condition code representative of the monitored resource usage; modifying, in the computer system, a cost model using the stored condition code; generating, in the computer system, a query execution plan for the database query using the modified cost model; and executing, in the computer system, the query execution plan in order to retrieve data from a database stored on the computer system, wherein the retrieved data is presented to a user for subsequent use and analysis. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31, 32, 33)
-
Specification