10.07.2015 Views

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 7 RESOURCE MANAGEMENTSession Attribute Type DescriptionCLIENT_MACHINE Login This is the machine from which the user is connecting tothe database. It appears in the MACHINE column of thev$session view.MODULE_NAME Runtime This is the module name set by the applicationconnecting to the database. It is stored in the MODULEcolumn of the v$session view and is set by calling theDBMS_APPLICATION_INFO.SET_MODULE procedure. This isan optional setting, and some applications do not use it.MODULE_NAME_ACTION Runtime This is a concatenation of the module and action in theform module.action. The application sets theseattributes by calling the following procedures:• DBMS_APPLICATION_INFO.SET_MODULE• DBMS_APPLICATION_INFO.SET_ACTIONSERVICE_MODULE Runtime This attribute is the concatenation of the service nameused to connect to the database, and the MODULEattribute in the form service.module.SERVICE_MODULE_ACTION Runtime This attribute is the concatenation of the service name,module, and action in the form service.module.action.ORACLE_FUNCTION Runtime This is a special attribute that is maintained internallyby the database. It is set when running RMAN or DataPump. This attribute can be set to BACKUP, to perform abackup … as backupset, or COPY, to perform a backup …as copy. When Data Pump is used to load data into thedatabase, this attribute is set to DATALOAD. Theseattributes are automatically mapped to built-inconsumer groups such as BATCH_GROUP and ETL_GROUP. Tip: SERVICE_MODULE, ACTIVE_SESS_POOL_P1, and QUEUEING_P1 are not commonly used and may bedeprecated in future releases. : For attributes other than ORACLE_USER and SERVICE_NAME in Table 7-2, you canalso use wildcards such as _ and % for single and multiple characters, respectively.Conflicts can occur between mapping rules when a user account matches more than one rule.<strong>Oracle</strong> resolves these conflicts by allowing you to specify the relative priority of each attribute. This way,<strong>Oracle</strong> can automatically determine which rule (attribute) should take precedence when sessionattributes satisfy multiple mapping rules. The default priorities for the ORACLE_USER andCLIENT_APPLICATION attributes are 6 and 7, respectively. In the following example, I’ve promoted the180

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

Saved successfully!

Ooh no, something went wrong!