Optimizing database query performance by deriving query predicates
AssigneeInternational Business Machines Corporation
InventorsFred Koo, Timothy Ray Malkemus
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsFred Koo, Timothy Ray Malkemus
Estimating the term…
Database Management Systems (DBMS) manage data stored in tables and process database queries against that stored data. The database queries typically specify search conditions (that is, ‘predicates’) for qualifying database search results to be output by the DBMS. When a database table definition or query includes a given predicate having an expression that operates on a column of a table, it is useful to know whether the expression is monotonic. If the expression is determined to be monotonic, the present invention provides operations for deriving a new predicate from the given predicate for use in a new database query. Advantageously, the use of a new or derived predicate improves operational efficiency of the DBMS. Operation is provided for detecting a type of monotonicity related to the expression, and uses the detected type of monotonicity for generating the derived predicate.
A method for use in a database management system for generating a derived predicate from a selected database query, the query being made of a table containing at least one column generating expression, said method comprising:
A database management computer system comprising:
A method for use in a database management system for generating a derived predicate from a database query containing at least one column generating expression, said method comprising:
Dependencies are inferred from the claim text.