发明名称 Method for choosing optimal query execution plan for multiple defined equivalent query expressions
摘要 A query formulates choices of multiple equivalent forms. A choice is represented by a CHOOSE operator having multiple arguments representing the equivalent forms. A lookup table is generated to include a group for each node other than CHOOSE arguments. For CHOOSE arguments, the generated table includes a single equivalence group having all choose arguments as members. The enumeration algorithm of the optimizer is applied to generate additional members and/or groups, whereby for each group, every member thereof is an equivalent. A cost value is assigned to each member of each group and a member of each group is selected as a lowest cost value member. The lowest cost value members of the groups define an optimized tree and optimization of the query.
申请公布号 US6598044(B1) 申请公布日期 2003.07.22
申请号 US20020183190 申请日期 2002.06.25
申请人 MICROSOFT CORPORATION 发明人 WAAS FLORIAN;GALINDO-LEGARIA CESAR;GRAEFE GOETZ
分类号 G06F12/00;G06F17/30;(IPC1-7):G06F17/30 主分类号 G06F12/00
代理机构 代理人
主权项
地址
您可能感兴趣的专利