Analyzing, optimizing and rewriting queries using matching and compensation between query and automatic summary tables

   
   

A method, apparatus, and article of manufacture for optimizing database queries using a derived summary table, wherein a definition of the summary table is based on a full select statement, including, but not limited to, a derived table involving nested GROUP BY operations and complex HAVING clauses with subqueries or joins, that is materialized in the table and describes how the summary table was derived. A query is analyzed using matching/compensation tests between the query and the definition of the summary table (that is, a query by itself) to determine whether expressions occurring anywhere in the query, but not in the summary table, can be derived using either the content in the summary table alone, or after combining (through some relational operator) the content of the summary table with other base tables, and hence the query is subsumed by or overlaps with the summary table definition.

Une méthode, un appareil, et un article de fabrication pour des questions de linéarisation de base de données en utilisant un tableau synoptique dérivé, où une définition du tableau synoptique est basée sur un plein rapport choisi, y compris, mais pas limitée à, une table dérivée faisant participer le GROUPE niché PAR des opérations et complexe AYANT des clauses avec des subqueries ou se joint, cela est matérialisée dans la table et décrit comment le tableau synoptique a été dérivé. Une question est analysée en utilisant des essais de matching/compensation entre la question et la définition du tableau synoptique (c'est-à-dire, une question par lui-même) pour déterminer si des expressions se produisant n'importe où dans la question, mais pas dans le tableau synoptique, peuvent être dérivées en utilisant le contenu dans seul le tableau synoptique, ou après la combinaison (par un certain opérateur apparenté) de la teneur du tableau synoptique avec d'autres tables de base, et par conséquent la question est englobée près ou recouvre avec la définition de tableau synoptique.

 
Web www.patentalert.com

< Method for efficient query execution using dynamic queries in database environments

< System, method and article of manufacture for a user programmable diary interface link

> System and method of linking items in audio, visual, and printed media to related information stored on an electronic network using a mobile device

> System and method for context-dependent probabilistic modeling of words and documents

~ 00160