Search for:
1) Cron Tasks
2) Queries using '*' and
3) Queries that use tables without INDEXES.
4) Special, long, non-optimized requests. For example, these are queries with a large number of subqueries.
5) Run these queries using the EXPLAIN statement and find out which tables should be optimized. Read here how to use the explanation: Using the explanation
You should install something like New Relic on your server / application, it has a free tier mode that can help you find long queries and processes.
Now I assume that there is no important processing that you do, and did not tell us about, for example, long image processing lists.
This can kill the beast of the car if it is not optimized.
Remember that long loops can also be a memory leak. If this is your case, you can experiment with switching from foreach loops to loops, for example.
andretzermias
source share