Migration to Exadata Consideration-Instance Caging
For DBA a lot of things need to be consideration when migrating database. In this blog, we will discuss one of the concepts "Instance Caging" for migration and consolidation to Exadata Machine.
Oracle offers a simple and effective approach to server consolidation called “Instance Caging”. Instance Caging focuses on managing CPUs by limiting the CPU usage of an Oracle database instance.Where multiple databases are hosted in an Exadata environment, the relative assignment of resources between the two DBRM controllers can be balanced by using Instance Caging.
Instance Caging limits the amount of CPU an Oracle database instance consumes by using the Oracle Database Resource Manager and the cpu_count parameter. The cpu_count parameter specifies the CPU usage limit.
When multiple performance-critical database instances share a server, as in the case of Cummins Engine, the approach the DBA should take would be to partition the CPUs among the database instances, thus shielding them from interfering with each other.
The “Partitioning” Approach
The DBA can also use Instance Caging to partition the CPU resources by ensuring that the sum of all CPU limits does not exceed the total number of CPUs. For example, if 4 database instances share a 32 CPU server, then their limits can be set to 16, 8, 4, and 4, as shown in the following illustration.
By dedicating CPU resources to specific database instances, partitioning provides two advantages leading to more predictable performance:
Ø one database instance’s CPU load will not affect another’s
Ø each database instance’s available CPU resources is fixed
Instance Caging can be configured to support each of these controls:
1. Minimum CPU allocation. For each database instance, the DBA can configure the minimum amount of CPU that the database instance will be able to consume.
2. Maximum CPU allocation. For each database instance, the DBA can configure the maximum amount of CPU that the database instance can consume.
3. CPU shares. CPU shares specify the relative amount of CPU allocated to a database instance. At any moment in time, the CPU allocation for a database instance can be computed by dividing its share by the total number of shares from database instances that need CPU resources.
==========================================================
Please check our other blogs for Exadata.
Comments
Post a Comment
Please do not enter any spam link in comment Section suggestions are Always Appreciated. Thanks.. !