MySQL Forums
Forum List  »  General

Re: Query time differences.
Posted by: Marshall Bryan
Date: August 26, 2015 06:41PM

Hi,
This is excellent advice, exactly what I was looking for.
I have added an index on the node table, INDEX(store_id, type_id, trans_id) and on on the aspects table, INDEX(qname_id,node_Id).
Then forced those indexes in the query and it has cut it down from 1min 30secs to around 4sec.
This is a huge improvement.
Im sure it could be faster but for now I think I can live with 4 seconds.
Thanks again to both of you..

Options: ReplyQuote


Subject
Written By
Posted
August 25, 2015 05:46PM
August 25, 2015 06:20PM
August 26, 2015 10:40AM
Re: Query time differences.
August 26, 2015 06:41PM
August 27, 2015 11:16AM
August 29, 2015 11:49AM


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.