Is it possible to se priorities in MySQL?
On one server I have application that receives data from or primary server and store it to DB for further use. On the other side I have website and Phone APPs. What I would like to do is set priority to users (web and phone) to ensure that they will always have better access. Data can take much more time since it is done by crontab.
It is possible to set account resource limits, but these don’t set a priority as such. Instead, they allow you to limit the number of connections/queries/updates for each user on the database.
You might be able to use mysql-proxy to do something a little more custom. It can be customised by a lua script, which would allow you to introduce some more specific behaviour like blocking a query if the server is too busy etc..