10.07.2015 Views

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 7 RESOURCE MANAGEMENTdbms_resource_manager.submit_pending_area();END;/PL/SQL procedure successfully completed.To check your resource-group-to-category mappings, query the DBA_RSRC_CONSUMER_GROUPS view asfollows. Notice that the OTHER_GROUPS consumer group was assigned to the OTHER category. That mappingis created automatically by <strong>Oracle</strong> and cannot be altered.SYS:SCRATCH> SELECT consumer_group, categoryFROM DBA_RSRC_CONSUMER_GROUPSWHERE consumer_groupin ('APPS','REPORTS','MAINTENANCE','OTHER_GROUPS')ORDER BY category;CONSUMER_GROUPCATEGORY------------------------------ ------------------------------APPSAPPS_CATEGORYREPORTSBATCH_CATEGORYMAINTENANCEBATCH_CATEGORYOTHER_GROUPSOTHERNow we can create a new Category IORM Plan on the storage cells and set I/O limits on these categories.Before we do, though, we’ll drop the Interdatabase IORM Plan we created in the previous example.Remember that each storage cell maintains its own IORM plan, so you will need to run these commandson every cell in your storage grid.CellCLI> alter iormplan dbplan= ''IORMPLAN successfully alteredNow we’re ready to create our Category IORM Plan. The following command creates a plan in whichAPPS_CATEGORY and BATCH_CATEGORY are allocated 70% and 30%, respectively, of the total Cell I/O at level1. The default category, OTHER, is allocated 100% on level 2.CellCLI> alter iormplan catplan=( -(name=APPS_CATEGORY, level=1, allocation=70), -(name=BATCH_CATEGORY, level=1, allocation=30), -(name=OTHER, level=2, allocation=100) -)IORMPLAN successfully alteredAgain, we’ll use the CellCLI command list iorm detail and confirm that our Category IORM Planis configured the way we want it:CellCLI> list iormplan detailname:catPlan:enkcel01_IORMPLANname=APPS_CATEGORY,level=1,allocation=70name=BATCH_CATEGORY,level=1,allocation=30name=OTHER,level=2,allocation=100213

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!