On my site, I have cronjobs that hit the DB to generate certain reports. Some of these queries seem to hammer the system so hard that mysql becomes unresponsive, which makes the site drag badly.
Is there any way to decrease the priority of certain queries (or users) ... I don't care if it takes twice as long, as long at the db remains responsive. Something like nice for unix processes? All I've fouind is a "high prioority" option, which seems to be exactly the opposite of what I want!
Is there any way to decrease the priority of certain queries (or users) ... I don't care if it takes twice as long, as long at the db remains responsive. Something like nice for unix processes? All I've fouind is a "high prioority" option, which seems to be exactly the opposite of what I want!