Rewrite constraints for database queries
AssigneeParAccel LLC
InventorsWilliam J. McKenna, Richard L. Cole, Yijou Chen, Sergei Perfilov, Aman Sinha, Eugene Szedenits, Jr.
Life of this patent
Estimating the term…
Loading patent…
AssigneeParAccel LLC
InventorsWilliam J. McKenna, Richard L. Cole, Yijou Chen, Sergei Perfilov, Aman Sinha, Eugene Szedenits, Jr.
Estimating the term…
A database system rewrites database queries based on rewrite constraints specification. The rewrite constraints specification provides directives to the database system to generate temporary tables for storing intermediate results of database queries and rewrite the corresponding database queries in terms of the temporary tables. The subqueries for matching the rewrite constraints specification may be specified in various ways. For example, the rewrite constraints specification may identify the subqueries by using one or more aliases. The rewrite constraints specification may specify a list of tables such that all database queries that join the database tables specified in the rewrite constraints specification are determined to match. The optimizer is able to optimize the rewritten database queries better by getting a better estimate for the statistics describing the temporary tables.
A computer-implemented method for rewriting database queries based on rewrite constraints specification, the method comprising:
A computer readable non-transitory storage medium storing instructions for:
A computer-implemented system for rewriting database queries based on rewrite constraints specification, the system comprising:
Dependencies are inferred from the claim text.