7.7.1.7.5 share Attribute
Purpose
The share attribute controls share-based resource allocation, which
specifies the relative priority for a database in a
dbplan or a cluster in a
clusterplan. A higher
share value implies higher priority and
more access to the I/O resources.
Syntax
ALTER IORMPLAN
dbplan=(( name=db_name, ... share=number ... ) ... )
ALTER IORMPLAN
clusterplan=(( name=cluster_name, ... share=number ... ) ... )Usage Notes
-
share: Specifies the resource allocation share.Valid values are 1 to 32, with 1 being the lowest share, and 32 being the highest share. The share value represents the relative importance of each entity. A higher
sharevalue implies higher priority and more access to resources. The sum of allsharevalues in a plan cannot be greater than 32768. -
Share-based resource allocation is the recommended method for a database plan (
dbplan). For a cluster plan (clusterplan), share-based resource allocation is the only option. -
In a database plan (
dbplan) using share-based resource allocation,name=DEFAULTis used to define the default share for each database that is not explicitly specified in thedbplan. -
Any cluster without an explicit share allocation is allocated one share by default. This includes any cluster not identified in the cluster plan (
clusterplan).
Example 7-43 Setting a Database Plan Using the share Attribute
This example shows how to configure dbPlan using the
share attribute.
CellCLI> ALTER IORMPLAN -
dbplan=((name=sales01, share=4), -
(name=sales02, share=4), -
(name=fin01, share=3), -
(name=fin02, share=2), -
(name=dev01, share=1, limit=50, flashLog=off), -
(name=dev02, share=1, limit=25, flashCache=off), -
(name=DEFAULT, share=2))Parent topic: ALTER IORMPLAN