The Enterprise Manager for Oracle 10g comes with a number of packages which need an additional license if you want to use them. These packages get installed automatically with Enterprise Edition and can be accessed from inside the EM-console (database control, grid control) as well as through APIs from inside the database.
These packages are as follows:
- Database Diagnostics Pack
- Database Diagnostics Pack
- Configuration Management Pack
What many DBAs do not know is the fact that you also need the additional licenses if you do not use the EM at all but use certain functionalities such as reports created with scripts located in $ORACLE_HOME/rdbms/admin or just by using certain procedures from a number of advisor packages, because these functionalities use the above listed packages.
Here is a list of functionalities which need additional licensing in Oracle 10g Enterprise Edition and how you access them:
- Database Diagnostic Pack includes:
- use of DBMS_WORKLOAD_REPOSITORY package
- use of DBMS_ADVISOR PACK if:
- when using any ADDM prefix for the value of the ADVISOR_NAME parameter
- when using any ADDM prefix for the value of the TASK_NAME parameter
- use of the view V$ACTIVE_SESSION_HISTORY
- use of any Data Dictionary view the DBA_HIST_ prefix in the name of the view
- use of any Data Dictionary view the DBA_ADVISOR_ prefix in the name of the view if query to these views retuns values from the ADDM or ADVISOR_NAME column or a value of ADDM* inthe TASK_NAME column or the corresponding TASK_ID
- use of any of the following reports created by using one of the following scripts from $ORACLE_HOME/rdbms/admin:
awrrpt.sql
awrrpti.sql
addmrtp.sql
addmrpti.sql
awrrpt.sql
awrrpti.sql
addmrpt.sql
addmrpti.sql
ashrpt.sql
ashrpti.sql
awrddrpt.sql
and awrddrpi.sql
- Database Tuning Pack includes (needs Diagnostics Pack as prerequisit!):
- use of the DBMS_SQLTUNE
- use of DBMS_ADVISOR if the parameter ADVISOR_NAME is set to SQL Tuning Advisor or SQL Access Advisor
- use of the script $ORACLE_HOME/rdbms/admin/sqlrpt.sql
- Configuration Management Pack
– software and hardware inventory with history function
– patching
– cloning
– policy framework
It is possible to disable the access to these packages from inside the EM-console by navigating to the SETUP link. If you cannot efford to buy these licenses you can still use the classical methods for performance tuning like statspack, sql tracing and performance statistics from the v$views.
Posted by Lutz Hartmann 




