I'm using SQL Server 2014. There are some users who can query the tables. The problem is, that most of the time these queries use a lot of memory. I want to know if there is any way to limit resources per user?
There is not a specific query. I just want to control users. Sometimes they do crazy things.
Best Answer
As stated before, you can use Resource Governer to limit memory usage for specific users.
To summarize shortly the steps you should do:
Create a resource pool. This example has max 30% of memory, be careful with that.
Create a workload group which will use resource pool.
You should define a Classifier function to tell SQL Server who is gonna be in this group.
Lastly to enable Resource Governor
You can find additional info at Resource Governor at MSDN