Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - SQL 的用法 » 查询处理 » 查询优化与执行 » [查询执行] 算法 » 算法类型 » 连接算法

 

NestedLoopsAntisemijoin 算法 (JNLA)

与 NestedLoopsJoin 算法类似,NestedLoopsAntisemijoin 通过为左侧的每行扫描右侧的内容来连接其输入。由于使用了 NestedLoopsJoin,可能会多次读取右侧,因此对于较大的输入,最好进行索引扫描。NestedLoopsAntisemijoin 与 NestedLoopsJoin 的不同之外在于,它只输出左侧的值;右侧只用来限制左侧的哪些行将显示在结果中。具体来说,仅当在右侧没有对应值时,才会包括左侧的值。