Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3336582
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T00:09:10+00:00 2026-05-18T00:09:10+00:00

Is it possible to put a ceiling on the amount of CPU a certain

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T00:09:10+00:00Added an answer on May 18, 2026 at 12:09 am

    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 resource pool Pool1
       with (
         min_cpu_percent = 30
        , max_cpu_percent = 100
      )
      
      
      create resource pool Pool2
       with (
        min_cpu_percent = 50
       , max_cpu_percent = 70
      )
      
      
      create resource pool Pool3
       with (
       min_cpu_percent = 5
       , max_cpu_percent = 100  
      )
      
    • Create the workload groups and link them to pools:

      create workload group Group1
      using Pool1
      
      
      create workload group Group2
      using Pool2
      
      
      create workload group Group3
      using Pool3
      
    • Create the function which will be make decision which workload group will be used for current session:

      create function dbo.rg_class_simple() returns sysname
         with schemabinding 
       as begin
        declare
         @grp_name as sysname
      
      
        if (suser_name() = 'user1')
           set @grp_name = 'Group1'
      
      
        else if (suser_name() = 'user2')
           set @grp_name = 'Group2'
      
      
        else if (suser_name() = 'user3')      
           set @grp_name = 'Group3'
      
      
      
       return @grp_name
      

      end

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: How many Python classes should I put in one file? Coming from
Can anybody put lime light on what possible problems might emerge if an application
Is it possible to put UIPickerView into UIAlertView?If yes, can you give an example?
I actually have two questions: (1) Is it possible to put another image on
Is it possible to put Entity inside of a nested folder/package and still use
Is it possible to put another scrollview inside a scrollview?? because in one page
Is it possible to put GROUP_CONCAT in a MYSQL WHERE clause? I have two
Is it possible to put more than one TextView in the items of a
Can someone please explain me why its not possible to put a '\0' character
Is it possible to put an artificial limit on the amount of memory a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.