nested loop
[计] 嵌套循环
2026-03-21 21:59 浏览次数 13
[计] 嵌套循环
it contains a nested loop that calls exp(), cos(), and sin(), followed by a loop that calls sin() and sqrt().
它包含了一个嵌套的循环,该循环会调用exp()、cos()以及sin(),接下来是一个调用sin()和sqrt() 的循环。
because of how nested loop joins work, the second leg (there are four nodes) is executed per outer table record.
因为嵌套循环联接的工作方式,所以每隔一个外部表记录执行第二步(共4 个节点)。
nested loop join (nljoin) with sort composite
使用复合排序的嵌套循环联接 (nljoin)
here's what happens at execution time for the first leg of the nested loop join
以下是在执行嵌套循环联接的第一步时将发生的操作
figure 4 shows a plan using the nested loop join operations at the federated server to evaluate this query.
图4展示了一个在联邦服务器使用嵌套循环连接操作符来计算这个查询的计划。
this registry variable causes the optimizer to favor nested loop joins to join the list of values, using the table that contributes the in list as the inner table in the join.
这个注册表变量会导致优化器优先使用嵌套循环连接来连接值列表,使用为in列表提供值的表作为连接的内部表。
for each row, the nested loop join (nljoin) operator passes a pointer to the corresponding xml document to the xscan operator.
对于每一行,嵌套循环连接 (nljoin)操作符把指向相应的xml文档的指针传递给xscan 操作符。
however, the benefit of the merge scan join is that the inner table does not have to be scanned repeatedly as it does for nested loop joins.
然而,合并扫描联接的好处是不必反复地扫描内部表因为其为嵌套循环联接工作。
an npsi would take advantage of lookaside on the index, for example, with a nested loop join in which the outer rows drive sequential access to the inner.
一个npsi可能在索引上利用后备链表的优势,例如,使用一个嵌套循环联接,其中外部行驱动对内部行的顺序访问。
the nested loop join method is used to join the remote query result from each warehouse and the xml composite view result.
这里使用了嵌套的循环连接方法来连接来自每个仓库的远程查询结果和xml合成视图结果。
there is a nested loop join (nljoin, step 4) of the insert (step 5) to an index scan (ixscan, step 7).
其中有一个insert(步骤5)与索引扫描(步骤7)之间的嵌套循环连接(nljoin,步骤4 )。
update bills (5 seconds); sequential scan of bills with a nested loop read of bill_items
更新bills(5秒);利用对 bill_items的循环嵌套读取来顺序扫描
in general, a nested loop join with sort composite is favored by the optimizer if the inner index is well-clustered and the inner table is expected to be probed many times.
一般来说,如果内部索引是良好的集群且预测内部表被多次探测,则使用复合排序的嵌套循环联将受到优化器的青睐。
the 3 tables in qb1 are joined with nested loop join (nlj)
qb1中三个表用嵌套循环(nlj)连接。
also, the nested loop join method is used to join the source and target tables.
而且,嵌套循环联接方法用于联接源表与目标表。
join plan directives that force optimizer to use the designated join method to join tables in the query, either nested loop join, sort merge join, or dynamic hash join.
连接计划指示,强制优化器使用指定的连接方法来连接查询中的表,要么是嵌套循环连接、分类合并连接,要么是动态哈希连接。
example 5: inlist to nested loop join (query rewrite)
例子5:inlist改为嵌套循环连接(查询重写)
update bill_items (58 seconds); sequential scan of bill_items with a nested loop read of customer
更新 bill_items(58秒);利用对customer的嵌套循环读取,来顺序扫描 bill_items
this type of access path is referred to as a nested loop join (nljoin) with sort composite.
这种类型的访问路径被称为使用复合排序的嵌套循环联接 (nljoin)。
therefore, in figure 7 the optimizer chooses to sort the composite for the nested loop join.
因此,在图7 中优化器选择排序嵌套循环联接的复合物。
so when compared to a nested loop join, the merge scan join may incur the cost for sorting the inputs.
因此,当与嵌套循环联接比较时,合并扫描联接可能对于排序输入产生成本。
for more information about nested loop joins, refer to the appropriate information center link in the resources section for your db2 platform.
要了解嵌套循环联接的更多信息,请参考 参考资料部分中针对您的db2平台的适当的信息中心链接。
in the previous section you learned about one type of access method, index scan (ixscan), and one type of join method, nested loop join (nljoin).
在之前的部分您已经了解了一种类型的访问方法,即索引扫描 (ixscan),和一种类型的联接方法,即嵌套循环联接 (nljoin)。
in it you will find the difference between a hash map join and a nested loop join and which is better.
你会发现hashmapjoin与nested loopjoin的区别,同时也可以判定出哪个更好一些。
the 2 tables in qb2 are joined with nested loop join (nlj)
qb2中两个表用嵌套循环(nlj)连接。
this is a lot faster than a nested loop join of two table scans without any index usage.
这比不使用任何索引的两个表扫描的嵌套循环连接要快得多。
as previously stated, ordered input is essential to a merge scan join, but it is not required for nested loop joins.
如前所述,按顺序的输入对于合并扫描联接是必不可少的,但其无需嵌套循环联接。
the result of that join operation then becomes the first input to the second join operation (also a nested loop join).
该联接操作的结果就成为第一个联接操作输入到第二个联接操作(也是一个嵌套循环联接)。