MySQL Forums
Forum List  »  Optimizer & Parser

Re: Problem with LEF OUTER JOIN
Posted by: Bob Field
Date: March 20, 2006 10:31AM

Indexing the tblthreadreplies.ThreadID and the tblthreadvisitsbyuser.Thread fields will speed up your query immensely since you have specified a single thread to be search for. Right now it has to conduct full scans of each table. With no indexes whatsoever the optimizer has nothing to work with to speed up the process.

Options: ReplyQuote


Subject
Views
Written By
Posted
3332
March 19, 2006 04:01PM
1897
March 19, 2006 05:48PM
2522
March 20, 2006 04:04AM
Re: Problem with LEF OUTER JOIN
2295
March 20, 2006 10:31AM
2066
March 20, 2006 03:02PM
1918
March 20, 2006 03:34PM
1990
March 21, 2006 06:35PM
1978
March 22, 2006 05:10PM
2040
March 22, 2006 07:06PM
2150
March 24, 2006 02:01PM
2229
March 26, 2006 08:05PM
2190
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.