Sometimes I can execute a particular query and the it returns the result on the webpage very quickly. Other times the same query eventually times out and gives a 500 Server Error. This happens even when the traffic to the website may only have about 30 people on it. Does this have to do with how many other transactions the mySQL server is attempting to handle at the same moment I am trying to get results? Or is this likely the result of something else?
Is there something I can do to troubleshoot this?
Thank you!