Re: Problem with LEF OUTER JOIN
Posted by:
Bob Field
Date: March 19, 2006 05:48PM
So, if you specify V.UserID = 1 it does not work, and if you don't specify it, it works but it's slow, then you do not want to be specify this clause. What you do want to be looking for is the reason for this poor performance. You to be doing an EXPLAIN on this query, seeing if you can maybe add index(es) to improve performance. You show the 'structure' of the tables but not what indexes you currently have. Post the results of the EXPLAIN for the query and also SHOW CREATE TABLE for each table.
Subject
Views
Written By
Posted
3319
March 19, 2006 04:01PM
Re: Problem with LEF OUTER JOIN
1889
March 19, 2006 05:48PM
2513
March 20, 2006 04:04AM
2285
March 20, 2006 10:31AM
2057
March 20, 2006 03:02PM
1910
March 20, 2006 03:34PM
1982
March 21, 2006 06:35PM
1971
March 22, 2006 05:10PM
1992
March 23, 2006 08:06AM
2036
March 22, 2006 07:06PM
2144
March 24, 2006 02:01PM
2222
March 26, 2006 08:05PM
2184
March 26, 2006 11:40PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.