×

System for aggregation subquery join elimination

  • US 7,966,314 B2
  • Filed: 08/18/2008
  • Issued: 06/21/2011
  • Est. Priority Date: 04/30/2003
  • Status: Expired due to Fees
First Claim
Patent Images

1. An information retrieval system for transforming a database statement containing a first subquery and a second subquery joined to the first subquery, the first subquery including a group by operation over a child subquery, the information retrieval system comprising means for removing the first subquery from the database statement thereby eliminating the join between the first subquery and the second subquery,wherein the means for removing of the first subquery and elimination of the join between the first subquery and the second subquery creates a transformed database statement that includes the second subquery and excludes the first subquery, andwherein the child subquery subsumes the second subquery, the child subquery is equivalent to the second subquery when a group by compensation operation is applied to the child subquery,a plurality of columns in the group by compensation operation is a super set of one or more columns in the group by operation,the join between the first subquery and the second subquery involves an equality predicate between at least one column in the group by operation and at least one column in the group by compensation operation,one or more aggregation functions in the first subquery are not referenced elsewhere in the database statement, andthe first subquery does not include a local predicate on the group by operation.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×