![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 09 Jul 1999 @ 15:29:20 GMT
Product joins are not always bad, but should be looked at carefully when they use large tables. The size of the spool file for a product join is the product of each row in table A times each row in table B. So a 10 million row table times a 100 million row table is a big spool file. A merge join merges the results file which is usually, but not always faster.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 30 Jun 2008 | ||||||||||||||||||||||||||||||||||||||||||||||||