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
), thename
attribute 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. Thecatplan
category name is associated with any DBRM category having the same name. -
For directives in a database plan (
dbplan
), thename
attribute usually identifies the database that is associated with the directive. However, when the directive includestype=profile
, thename
attribute specifies the profile name.In directives that identify a database, the
name
value usually matches with the value of theDB_UNIQUE_NAME
database parameter. The exception is where the directive uses therole
attribute to manage an Oracle Data Guard configuration. For further details, see role Attribute. -
For directives in a cluster plan (
clusterplan
), thename
attribute 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 thename
attribute must match theasm
field in thecellkey.ora
file, 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
name
attribute must be the first attribute in a directive. -
The
name
attribute value cannot start with an underscore (_
). -
Each
name
must 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
name
values:-
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 theOTHER
directive.The
OTHER
directive is used in database plans and category plans that use allocation-based resource management; that is, resource allocation defined using thelevel
andallocation
attributes. Plans with allocation-based directives must also include anOTHER
directive.In a database plan, the
limit
attribute can also be defined in theOTHER
directive. -
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 theDEFAULT
directive.The
DEFAULT
directive is available only in database plans that use share-based resource allocation; that is, resource allocation defined using theshare
attribute.
-
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