My site is running fine but anytime I try to make changes to the database it moves extremely slow and sometimes freezes up. This being due to the load being too high from too many queries being ran, I’ve already reduced the number of queries yet my websites traffic keeps increasing and continuing to cause mysql to run slow. My admins have optimized mysql already so I’m looking for alternative methods to improve the performance of the database and decrease the load without running fewer queries.
Share
Apart from upgrading the server hardware or installing new servers, I would look into a query profiler such as the built in MySQL one or Jet Profiler which also comes highly recommended. This will help you identify bottlenecks in your queries.
Also, if a bottleneck is encountered, you may need to refactor your code in order to run less queries or make better use of table indices.
However, if your budget permits, @Marc’s answer is definitely recommended.