View previous topic :: View next topic
|
Author |
Message |
revdpoel
New User
Joined: 01 Nov 2006 Posts: 56
|
|
|
|
Suppose I have a small table with 1000 rows (A) and a big table with 2 million rows (B).
When I am doing an INNER, LEFT OUTER or FULL JOIN does it make any difference where the small and big table are positioned?
So as an example
A left join B does that have the same performance as
B left join A?? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Not really - as long as the query and the tables are well defined for performance.
If your query generates a catesian product, it will not matter which table is mentioned first - it will run poorly regardless. . . |
|
Back to top |
|
|
|