| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Hash Join vs. Nested Loops
Jan Hidders wrote:
> Mikito Harakiri wrote:
>
>>Once again, ordinary Nested Loops is so obviously flawed that it doesn't >>make sence to compare it to anything. Indexed Nested Loops, on the other >>hand, have performance profile comarable to either Hash Join or Sort Merge >>Join on large inputs. It blows them away on small inputs.
Plus a merge join may take advantage of an existing index (which is likely to happen in practice because DBA's typically define indexes on FK columns and joins typically follow defined FK), therefore the complexity is reduced to M+N. whereas a nested loop with index lookups will be M*logN Received on Fri Feb 28 2003 - 14:42:43 CST
![]() |
![]() |