Skip navigation links

MySQL Forums :: PHP :: Complex search - multiple fields and tables - need advice.


Advanced Search

Re: Complex search - multiple fields and tables - need advice.
Posted by: Luke Pittman ()
Date: April 18, 2012 11:24AM

For those of you who stumble upon this thread here are some results to show just how crucial proper indexes are:

Speed of original query: 89 seconds
After adding contact_id index to contact_communications: 7.4 seconds
Then adding contact_id index to contact_notes: 0.16 seconds

I feel bad for even posting this thread after not reading the explain results carefully enough!

Options: ReplyQuote


Subject Written By Posted
Complex search - multiple fields and tables - need advice. Luke Pittman 04/17/2012 04:49PM
Re: Complex search - multiple fields and tables - need advice. laptop alias 04/18/2012 05:05AM
Re: Complex search - multiple fields and tables - need advice. Luke Pittman 04/18/2012 10:31AM
Re: Complex search - multiple fields and tables - need advice. Luke Pittman 04/18/2012 11:19AM
Re: Complex search - multiple fields and tables - need advice. Luke Pittman 04/18/2012 11:24AM
Re: Complex search - multiple fields and tables - need advice. laptop alias 04/18/2012 05:32PM
Re: Complex search - multiple fields and tables - need advice. Luke Pittman 04/19/2012 12:43PM
Re: Complex search - multiple fields and tables - need advice. laptop alias 04/19/2012 01:11PM
Re: Complex search - multiple fields and tables - need advice. Luke Pittman 04/19/2012 01:15PM


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.