7.7.1.7.4 name Attribute
Purpose
The name attribute identifies the entity that is the subject
of the directive.
Syntax
ALTER IORMPLAN
catplan = (( name=category_name, ... ) ... )
ALTER IORMPLAN
dbplan = (( name={ db_name | profile_name }, ... ) ... )
ALTER IORMPLAN
clusterplan = (( name=cluster_name, ... ) ... )Usage Notes
-
For directives in a category plan (
catplan), thenameattribute specifies the category name. Oracle Database manages intra-database resources using Database Resource Manager (DBRM). DBRM manages resources across consumer groups, and each consumer group is associated with a category. Thecatplancategory name is associated with any DBRM category having the same name. -
For directives in a database plan (
dbplan), thenameattribute usually identifies the database that is associated with the directive. However, when the directive includestype=profile, thenameattribute specifies the profile name.In directives that identify a database, the
namevalue usually matches with the value of theDB_UNIQUE_NAMEdatabase parameter. The exception is where the directive uses theroleattribute to manage an Oracle Data Guard configuration. For further details, see role Attribute. -
For directives in a cluster plan (
clusterplan), thenameattribute identifies the Oracle Grid Infrastructure cluster that is associated with the directive.The cluster plan (
clusterplan) uses ASM-scoped security for cluster identification. The value of thenameattribute must match theasmfield in thecellkey.orafile, which is part of the ASM-scoped security definition for the cluster. If ASM-scoped security is not configured correctly, the cluster cannot be identified and associated with a directive in the cluster plan. In this case, even if it is named in the cluster plan, the cluster is treated the same as an unidentified cluster, receiving one share of IO resources by default. -
The
nameattribute must be the first attribute in a directive. -
The
nameattribute value cannot start with an underscore (_). -
Each
namemust be followed by at least one other attribute, for example:(name=sales, share=8)(name=oltpdg, limit=80)(name=dwh, flashcachesize=50G)
-
There are two special
namevalues:-
OTHER: names a special directive that defines the resource allocation for all other entities that are not specified in the plan. All entities that are not explicitly named in the plan share the resources associated with theOTHERdirective.The
OTHERdirective is used in database plans and category plans that use allocation-based resource management; that is, resource allocation defined using thelevelandallocationattributes. Plans with allocation-based directives must also include anOTHERdirective.In a database plan, the
limitattribute can also be defined in theOTHERdirective. -
DEFAULT: names a special directive that defines the resource allocation for each database that is not specified in a database plan. Every database that is not explicitly named in the plan receives the resources in theDEFAULTdirective.The
DEFAULTdirective is available only in database plans that use share-based resource allocation; that is, resource allocation defined using theshareattribute.
-
Example 7-41 Using the name Attribute in a Database Plan
CellCLI> ALTER IORMPLAN -
dbplan=((name=db1, limit=50), -
(name=db2, limit=50), -
(name=OTHER, level=1, allocation=25))Example 7-42 Setting a Database Plan with a DEFAULT Directive
This example shows how to use the DEFAULT directive to set the
default share allocation for all databases except dev01 and
dev02.
CellCLI> ALTER IORMPLAN -
dbplan=((name=dev01, share=1, limit=50, flashlog=off), -
(name=dev02, share=1, limit=25, flashcache=off), -
(name=DEFAULT, share=4))Parent topic: ALTER IORMPLAN