MySQL Forums
Forum List  »  Performance

Re: Best Index Strategy
Posted by: Devrishi Shandilya
Date: August 12, 2015 10:53PM

Hi Rick,

We create index soas.(telephone,address_type), and use force index in query 1 and query execution time was reduces from 3.16 sec to 0.07 seconds.
My both queries get advantages from force index, now the questions are :

Is using force index is recommanded in production, has it any disadvantages ?
Why was mysql not using index even after created if. Why mysql engine use it after index hint force index ?

Regards,
Devrishi Shandilya

Options: ReplyQuote


Subject
Views
Written By
Posted
2042
August 09, 2015 11:35PM
812
August 10, 2015 07:02AM
764
August 10, 2015 07:17AM
743
August 10, 2015 11:30PM
Re: Best Index Strategy
740
August 12, 2015 10:53PM
711
August 15, 2015 04:34PM
715
August 16, 2015 11:53PM


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.