Reputation: 529
I have to run a query which produces very large result set (20K result and 5 columns each row).
I am doing some processing on the data and storing the result in another database table.
All this processing is done on a cron process.
My problem is that when I run the query CPU utilization of my database server reaches up to 100% until the process finishes.
Please help me in understanding best practice for this kind of scenarios.
Upvotes: 0
Views: 925
Reputation: 3620
In such cases you need to start thinking about optimization and/or vertical scaling of the MySQL instance.
Upvotes: 1