发明名称 System and methodology for join enumeration in a memory-constrained environment
摘要 A small-footprint relational database system providing a deterministic join enumeration methodology for left-deep processing trees is described. By providing a deterministic branch-and-bound join enumeration method for left-deep processing trees, the invention is able to efficiently optimize complex queries with high join degree by employing a novel approach to cost-based pruning of the search space. For each subquery, plan generation involves the following four distinct steps. First, the system adjusts predicate selectivities to account for disjuncts, Between predicates, and user estimates of selectivities. Next, the system constructs a join graph for the query that models inner and outer equijoin predicates, sargable single-variable predicates on single quantifiers, and Cartesian products. The system then enumerates join strategies and prune the search space using a branch-and-bound heuristic. Finally, the system recalls the cheapest strategy and constructs the detailed access plan for that strategy. Empirical performance results on several production queries show that this approach requires significantly less memory than other deterministic join enumeration approaches, which have been described in the literature.
申请公布号 US6516310(B2) 申请公布日期 2003.02.04
申请号 US20000732499 申请日期 2000.12.06
申请人 SYBASE, INC. 发明人 PAULLEY GLENN NORMAN
分类号 G06F7/00;G06F17/30;(IPC1-7):G06F17/30 主分类号 G06F7/00
代理机构 代理人
主权项
地址