Thanks for tips paul, so generally speaking anytime columns are listed in db queries (big ones), they should be indexed?
For instance...
I attached a screenshot of explain view for the big query and I notice in the "extra" column sometimes it says one (or more) of the following:
using where
using temporary
using filesort
using index
What exactly does this tell me? Does it tell me that I need to index the tables which are not "using index" ?
|