Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

Free Oracle Tips

HTML Text

 Home
 E-mail Us
 Oracle Articles


 Oracle Training
 Oracle News

 Oracle Forum
 Class Catalog


 Our Staff
 Our Prices
 Help Wanted!

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 UNIX
 Oracle UNIX
 Linux
 Oracle Linux
 Monitoring
 Remote help

 Remote plans
 Remote
services
 Oracle C++
 Oracle Java
 Apache
 JDeveloper
 App Server

 Applications
 Oracle Forms
 Oracle Portal
 11i Upgrades
 SQL Server
 Oracle Concepts
 HTML-DB Tips
 Software Help

 Remote Help  
 Development  

 Implementation


 Financials Training
 Oracle 11i
 Oracle Apps 11i
 Oracle Workflow
 Oracle AR 11i Class
 Oracle AP 11i class
 Oracle GL 11i class
 Oracle HR 11i class
 Oracle FA 11i class
 11i Project Mgt
 11i procurement
 11i collections


 Oracle Posters
 Oracle Books

 Oracle Tuning Book
 Oracle RAC Book
 Oracle Security
 Easy Oracle Books
 Oracle Scripts
 SQL Server DBA
 SQL Design Patterns
 Ion
 Excel-DB   


 BC Oracle News


 Rednecks!
 Dress code
 Arabian Stallion

 Burleson Arabians
 Guide Horses
 Don Burleson Blog
 Golf & Travel


 Privacy Policy
 

 

 
 

Oracle Instance Caging tips

Oracle Tips by Burleson Consulting
September 6,  2009

Oracle instance caging in Oracle Database Resource Manager

Oracle notes that their Oracle Instance Caging utility is used in consolidated shops where many instances share the same server CPU resources.  Due to falling prices on large servers with 32 and 64 CPU's shops all across America are undertaking

Oracle Server Consolidation

, moving dozens and hundreds of instances into a single server for easier management and resource sharing.

Similar to "fencing" tools from the 1980's mainframes (e.g. the Prism tool), Oracle instance caging runs inside the database resource manager (DRM) and is related with RAC One Node to facilitate super fast instance relocation is cases of server failure.

The Oracle docs note that instance caging is like CPU fencing, dedicating processors to specific instances, a way to prevent one instance from "hogging" the processors:

Instance caging is a method that uses an initialization parameter to limit the number of CPUs that an instance can use simultaneously. In the previous example, if you use instance caging to limit the number of CPUs to four for each of the four instances, there is less likelihood that one instance can interfere with the others.

Oracle instance caging appears to be identical in  function to these approaches for dedicating CPU to instances in a monolithic server environment:


Oracle says that these steps are required to enable instance caging for each instance:
  1. Enable the Resource Manager by assigning a resource plan, and ensure that the resource plan has CPU directives, using the mgmt_p1 through mgmt_p8 parameters.

    See "Enabling Oracle Database Resource Manager and Switching Plans" for instructions.

  2. Set the cpu_count initialization parameter.

    This is a dynamic parameter, and can be set with the following statement:

    ALTER SYSTEM SET CPU_COUNT = 4;


How to deploy instance caging

While CPU fencing tools have been around for decades, tools such as Vmware also allow for CPU and RAM fencing.  However, fencing with instance caching can be wasteful (since other instances may not share the CPU), and it's quite rare for one Oracle instance to "hog" an entire bank of processors.

Remember, the goal of server consolidation is to facilitate sharing of processor resources, not hinder it with instance caging.  Hence, I do NOT recommend deploying instance caging without careful testing and justification.

See these important related notes for Oracle instance caging:

 

 

  
 

Oracle performance tuning software 
 
 
 
 

Oracle performance tuning book

 

 
Search oracle
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.
 
 


Burleson Consulting

The Oracle of Database Support

&

Oracle Performance Tuning


 

Copyright © 1996 -  2009 by Burleson Enterprises, Inc. All rights reserved.

Oracle ? is the registered trademark of Oracle Corporation.