Global hints
First Claim
Patent Images
1. A computer implemented method, comprising:
- associating a query language statement with a query profile;
determining a query block for the query language statement, whereinthe query block is a part of a rewritten query language statement for optimization and is generated or transformed from one or more other query blocks during compilation of the query language statement to become a part of the query language statement, andthe act of determining the query block is performed by a processor;
associating one or more tuning hints with the query block;
resolving an unresolved hint in conflict with another tuning hint, wherein the unresolved hint is stored in a hint data structure on a tangible computer readable storage medium or a computer storage device; and
storing the one or more tuning hints for the query block, whereinat least one of the one or more tuning hints associated with the query block is retrieved for and applied to the query block during the compilation of the query language statement, andthe part of the rewritten query language statement is not the entire rewritten query language statement.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for determining a name for a query block of a database query language statement, and associating one or more tuning hints with the query block using the name.
-
Citations
25 Claims
-
1. A computer implemented method, comprising:
-
associating a query language statement with a query profile; determining a query block for the query language statement, wherein the query block is a part of a rewritten query language statement for optimization and is generated or transformed from one or more other query blocks during compilation of the query language statement to become a part of the query language statement, and the act of determining the query block is performed by a processor; associating one or more tuning hints with the query block; resolving an unresolved hint in conflict with another tuning hint, wherein the unresolved hint is stored in a hint data structure on a tangible computer readable storage medium or a computer storage device; and storing the one or more tuning hints for the query block, wherein at least one of the one or more tuning hints associated with the query block is retrieved for and applied to the query block during the compilation of the query language statement, and the part of the rewritten query language statement is not the entire rewritten query language statement. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus, comprising:
-
at least a processor configured for performing; associating a query language statement with a query profile; determining a query block for a query language statement, wherein the query block is a part of a rewritten query language statement for optimization and is generated or transformed from one or more other query blocks during compilation of the query language statement to become a part of the query language statement; associating one or more tuning hints with the query block; storing the one or more tuning hints for the query block, wherein at least one of the one or more tuning hints associated with the query block is retrieved for and applied to the query block during the compilation of the query language statement; resolving an unresolved hint in conflict with another tuning hint, wherein; the part of the rewritten query language statement is not the entire rewritten query language statement; and a computer readable storage medium or a computer readable storage device configured for storing the unresolved hint in a hint data structure. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A volatile or non-volatile computer readable medium storing a computer program of instructions which, when executed by a processing system, cause the system to perform a method comprising:
-
associating a query language statement with a query profile; determining a query block for the query language statement, wherein the query block is a part of a rewritten query language statement for optimization and is generated or transformed from one or more other query blocks during compilation of the query language statement to become a part of the query language statement; associating one or more tuning hints with the query block; resolving an unresolved hint in conflict with another tuning hint, wherein the unresolved hint is stored in a hint data structure; and storing the one or more tuning hints for the query block, wherein at least one of the one or more tuning hints associated with the query block is retrieved for and applied to the query block during the compilation of the query language statement, and the part of the rewritten query language statement is not the entire rewritten query language statement. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
-
22. A computer system comprising:
-
at least a processor configured for performing; associating a query language statement with a query profile; determining a query block for the query language statement, wherein the query block is a part of a rewritten query language statement for optimization and is generated or transformed from one or more other query blocks during compilation of the query language statement to become a part of the query language statement; associating one or more tuning hints with the query block; resolving an unresolved hint in conflict with another tuning hint, wherein the unresolved hint is stored in a hint data structure on a tangible computer readable storage medium or a computer storage device; and a tangible computer readable storage medium or a computer readable storage device configured for; storing the one or more tuning hints for the query block, wherein at least one of the one or more tuning hints associated with the query block is retrieved for and applied to the query block during the compilation of the query language statement. - View Dependent Claims (23, 24, 25)
-
Specification