MySQL Forums
Forum List  »  Performance

Re: FORCE INDEX use?
Posted by: KimSeong Loh
Date: August 15, 2005 12:40AM

Since this is your where,
WHERE ev.EVENT_TYPE IN ( 4, 5, 6)

Shouldn't you force index with
KEY `Event_Type_idx` (`Event_Type`),
rather than event_time ?

There is NO way to use the event_time index in this Where condition.

Options: ReplyQuote


Subject
Views
Written By
Posted
14111
August 14, 2005 03:47PM
Re: FORCE INDEX use?
4147
August 15, 2005 12:40AM
3287
August 15, 2005 05:10AM
3538
August 15, 2005 07:18AM
2925
August 15, 2005 06:40PM
2286
August 16, 2005 02:14AM


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.