Is it possible to put a ceiling on the amount of CPU a certain database or preferably a certain user, or group of users can use?
I have one app on a server that is maxing out the CPU due to complex queries that are being created at runtime. Until the specific module in that application is redeveloped (which could take months) i need to find a way to stop that specific application from choking SQL Server and reducing availability for other apps on the same server.
Do you look at Resource Governor? It makes possible to devde the resources between the group of users.
This is only example and for full information you need to look at documentation:
Create the pools:
Create the workload groups and link them to pools:
Create the function which will be make decision which workload group will be used for current session: