Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am wondering if there is any way to limit how much resources one user can take on my Oracle system. I want to limit some queries and systems from being able to hog all system resources when they run non optimized queries.

share|improve this question
up vote 8 down vote accepted

There is a built-in utility called Resource Manager exactly for that purpose:

share|improve this answer

If you're looking for something simpler than the resource manager, try Profiles.

I haven't had much success with the resource manager. In my experience with it I've found that it's easier to give priority over resources to certain users than to limit users.

share|improve this answer
Isn't Profiles just a part of Resource Manager (per your link)? – Nick Chammas Nov 4 '11 at 19:11
No. Profiles is a much more basic way of limiting resource than the resource manager. This might be a better link. – Michal Tenenberg Nov 4 '11 at 19:16
Very good.. thank you for this. – Chris Dale Nov 5 '11 at 17:35
Profiles are indeed simpler, but they work much differently than resource manager. Profiles use intrinsic limits with no notion of the condition of the database or whether the statement/session will have any significant impact on performance at all. For example, if a statement exceeds the CPU_PER_CALL, it returns an error even if the execution would have little impact on the system. – Leigh Riffel Jan 13 '12 at 15:35
Resource Manager on the other hand doesn't do anything if the statement could complete without impacting the overall system even if that means it uses 99.9% of the CPU. From the documentation: "When every group can secure as much CPU resources as it demands, the Database Resource Manager first seeks to maximize system throughput, not to enforce allocation percentages." – Leigh Riffel Jan 13 '12 at 15:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.