FULLY AUTOMATED SQL TUNING
First Claim
Patent Images
1. A computer-implemented method comprising:
- from a workload set, identifying a set of database query language statements for automatic tuning;
wherein the workload set comprises database query language statements and performance data for the database query language statements;
automatically tuning a particular database query language statement from the set of database query language statements;
wherein automatically tuning the particular database query language statement comprises generating a set of one or more tuning recommendations for the particular database query language statement;
executing the particular database query language statement in a test;
wherein executing the particular database query language statement in the test comprises;
enabling a first tuning recommendation from the set of one or more tuning recommendations in an environment; and
gathering performance data about the execution of the particular database query language statement in the test;
comparing the performance data about execution of the particular database query language statement in the test with performance data about the particular database query language statement in the workload set; and
based on at least one result of the comparison, determining whether to implement a second tuning recommendation from the set of one or more tuning recommendations in a non-test environment.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques are provided for a fully-automated process for tuning database query language statements that selects database query language statements for tuning, tunes the database query language statements and generates tuning recommendations, tests the tuning recommendations, and determines whether to implement the tuning recommendations based on the test results. The fully-automated tuning process may also automatically implement certain tuning recommendations and monitor the performance of the database query language statements for which tuning recommendations have been implemented.
166 Citations
34 Claims
-
1. A computer-implemented method comprising:
-
from a workload set, identifying a set of database query language statements for automatic tuning; wherein the workload set comprises database query language statements and performance data for the database query language statements; automatically tuning a particular database query language statement from the set of database query language statements; wherein automatically tuning the particular database query language statement comprises generating a set of one or more tuning recommendations for the particular database query language statement; executing the particular database query language statement in a test; wherein executing the particular database query language statement in the test comprises; enabling a first tuning recommendation from the set of one or more tuning recommendations in an environment; and gathering performance data about the execution of the particular database query language statement in the test; comparing the performance data about execution of the particular database query language statement in the test with performance data about the particular database query language statement in the workload set; and based on at least one result of the comparison, determining whether to implement a second tuning recommendation from the set of one or more tuning recommendations in a non-test environment. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer-readable storage medium storing instructions, wherein the instructions include instructions which, when executed by one or more processors, cause the one or more processors to perform steps of:
-
from a workload set, identifying a set of database query language statements for automatic tuning; wherein the workload set comprises database query language statements and performance data for the database query language statements; automatically tuning a particular database query language statement from the set of database query language statements; wherein automatically tuning the particular database query language statement comprises generating a set of one or more tuning recommendations for the particular database query language statement; executing the particular database query language statement in a test; wherein executing the particular database query language statement in the test comprises; implementing a first tuning recommendation from the set of one or more tuning recommendations in an environment; and gathering performance data about the execution of the particular database query language statement in the test; comparing the performance data about execution of the particular database query language statement in the test with performance data about the particular database query language statement in the workload set; and based on at least one result of the comparison, determining whether to implement a second tuning recommendation from the set of one or more tuning recommendations in a non-test environment. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34)
-
Specification