发明名称 System and method for segmented evaluation of database queries
摘要 A method of satisfying a database query includes evaluating certain joins on a per-segment basis. An expression tree is produced for the query, and the expression tree is evaluated to identify joins whose operands are two instances of the same relation and whose join predicate conjunctively includes an equality comparison between two instances of the same column. When such a join is identified, it may be evaluated by segmenting the operand relation according to the columns that are compared for equality in the predicate. The join is then evaluated by performing the join operation separately on each segment. Segments may be spooled separately, thereby exploiting the efficiencies obtained by spooling even where the entire relation is too large to fit in the spool. Execution iterators are provided for spooling successive segments and for applying the join to the spooled segment.
申请公布号 US7599953(B2) 申请公布日期 2009.10.06
申请号 US20040998761 申请日期 2004.11.29
申请人 MICROSOFT CORPORATION 发明人 GALINDO-LEGARIA CESAR A.;GRAEFE GOETZ;JOSHI MILIND M.;BUNKER ROSS T.
分类号 G06F17/30;G06F7/00 主分类号 G06F17/30
代理机构 代理人
主权项
地址
您可能感兴趣的专利