How to Disable Oracle Diagnostic Pack&Tuning Pack in Oracle Database

As you know both option must be use by Oracle licenses. Before we start we need to clarify some information.

Oracle Standard Edition or Standard Edition xx; there are no management packs. These can be purchased only with the Enterprise Edition, and they are also not a part of the Oracle Personal Edition. As i said before you need to license those option separately

First thing first, let us check you are using those option or not;

SELECT name,
detected_usages detected,
total_samples samples,
currently_used used,
to_char(last_sample_date,'MMDDYYYY:HH24:MI') last_sample,
sample_interval interval
FROM dba_feature_usage_statistics
WHERE name = 'Automatic Workload Repository';

To see the use of the tuning packs;

SELECT name,
detected_usages detected,
total_samples samples,
currently_used used,
to_char(last_sample_date,'MMDDYYYY:HH24:MI') last_sample,
sample_interval interval
FROM dba_feature_usage_statistics
WHERE name = 'Automatic Workload Repository' OR name like 'SQL%';

SQL> show parameter control_management_pack_access
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
control_management_pack_access string DIAGNOSTIC+TUNING

If a pack is available, so it is best to change these parameters in accordance with its license.

The possible values are:

NONE – disable all management packs.
DIAGNOSTIC – Nur DIAGNOSTIC Pack available.
DIAGNOSTIC+TUNING – DIAGNOSTIC and TUNING Pack available.

The value can be changed by using alter command;

SQL> ALTER SYSTEM SET control_management_pack_access=NONE;


Yorum bırakın