How to Find Which Oracle Database Options and Packs You Use

Oracle Database records feature usage in its data dictionary. To find which options and packs you use, query DBA_FEATURE_USAGE_STATISTICS on every database, or run Oracle's options and packs usage script from My Oracle Support. Map each feature to the separately licensed option or management pack it belongs to, then check the CONTROL_MANAGEMENT_PACK_ACCESS parameter. Usage recorded there is what an Oracle audit reads.
The steps below are as Oracle documents them for Oracle Database 19c in November 2026.
Options, packs and why usage is what counts
Oracle Database Enterprise Edition can be extended with options, such as Partitioning, and with management packs, such as the Diagnostics Pack and the Tuning Pack. Each is licensed separately from the edition (Oracle Licensing Information User Manual). Many are installed with the software, and on Enterprise Edition the two management packs are switched on by default. Nothing technically stops a DBA, a monitoring tool or a default job from using a feature you did not buy, and the database writes down that it happened. That record, not your intention, is what gets compared.
Step 1: list every database and edition
You cannot check what you have not found. Build one list of every Oracle Database in the estate, including test, development and disaster recovery copies, with host, version and edition. Edition matters: options and management packs extend Enterprise Edition, and the CONTROL_MANAGEMENT_PACK_ACCESS default described below is different for other editions. Which options and packs a given edition may use is set out in Oracle's licensing documentation, not in this article. For the edition question, see Oracle Database SE2 versus Enterprise Edition, and for the wider traps, five Oracle licensing pitfalls to avoid.
Step 2: read the feature usage statistics
Oracle tracks usage in DBA_FEATURE_USAGE_STATISTICS. For each feature it stores the name, the database version in which it was tracked, DETECTED_USAGES (how many times usage was detected), CURRENTLY_USED (whether usage was detected at the last check), FIRST_USAGE_DATE and LAST_USAGE_DATE. It also holds TOTAL_SAMPLES, LAST_SAMPLE_DATE and a DESCRIPTION of what the usage detection looks for (Oracle Database Reference). The database samples this periodically rather than on every statement, so read LAST_SAMPLE_DATE and LAST_SAMPLE_PERIOD on your own system to see how fresh the data is.
A starting query for each database, run as a privileged user:
SELECT name, version, detected_usages, currently_used,
first_usage_date, last_usage_date
FROM dba_feature_usage_statistics
WHERE detected_usages > 0
ORDER BY name;
Run it on every database, including each pluggable database in a container. Export the results with the database name and host, because the same feature can appear on a hundred databases and mean something different on each.
Step 3: map features to licensed options and packs
A feature name is not an option name. A row in the view names a feature, not the licensed product it falls under. Oracle publishes a script, options_packs_usage_statistics.sql, in a My Oracle Support note on database options and management packs usage reporting for Oracle Database 11.2 and later (Oracle Support note 1317265.1, login required). It reads the usage statistics and reports them against the options and packs they belong to. Its output can include usage that did not come from a person (see step 5), so treat it as a lead and not as a licensing conclusion.
For the final word on which feature belongs to which option or pack, use the Database Licensing Information User Manual for your version. Your contract and Oracle's licensing documents decide what you owe. This article does not, and it is not legal advice.
Step 4: check the management pack setting
The CONTROL_MANAGEMENT_PACK_ACCESS parameter says which server manageability packs are active. Its values are NONE (neither pack available), DIAGNOSTIC (only the Diagnostics Pack) and DIAGNOSTIC+TUNING (both). On Enterprise Edition the default is DIAGNOSTIC+TUNING, and on all other editions it is NONE. The Diagnostics Pack includes AWR and ADDM, and the Tuning Pack includes the SQL Tuning Advisor and SQL Access Advisor. Oracle states that a Diagnostics Pack license is required to enable the Tuning Pack (Oracle Database Reference). The parameter can be changed with ALTER SYSTEM but not inside a pluggable database.
The setting is a switch, not a license. DIAGNOSTIC+TUNING on a database you licensed for neither pack means the features are available to anyone who uses them, and any use is recorded. Look at what your team actually touches: Active Session History queries, the DBA_HIST views that hold AWR snapshots and AWR or ADDM reports are the usual route into the Diagnostics Pack, and the Licensing Information manual lists the views and packages that belong to it for your version.
Step 5: separate real use from accidental use
A flag in the statistics is a fact about what the database saw. It is not a fact about why. Our guide to reading an Oracle LMS audit report covers this in detail: default maintenance jobs, a monitoring tool's connection or a DBA opening a diagnostic screen in Enterprise Manager can set a flag, and flags persist unless the history is reset. Sort every finding into one of three groups.
- Created by the system. Objects owned by
SYSorSYSTEM, or features triggered by Oracle's own jobs, are usually not a decision anyone took. Keep the evidence and ask Oracle's documentation whether the feature is covered for that case. - Created by the business. A partitioned table in an application schema, or a team that runs tuning advisors every week, is real use. Either license it or stop it.
- Inherited. A database cloned from another carries the usage history of the source with it, so a test copy can show a feature nobody used on it. Record where the history came from.
For the stakes of an unexplained flag, see the Oracle LMS and GLAS audit glossary entry.
Step 6: fix it before anyone asks
Once you know what is real, close the gap in the order that leaves the best evidence. Set CONTROL_MANAGEMENT_PACK_ACCESS to the value that matches what you license. For database options, Oracle's chopt tool in ORACLE_HOME/bin enables or disables a documented list of options after installation, with the database stopped while you run it (Oracle Installation Guide). Not every option can be turned off that way, so check the list for your version first. Then write down what you found and what you changed, and run the same query and script again to show the result.
Repeat the check on a schedule, quarterly and before every renewal or audit notice. A one-off clean-up drifts as soon as someone opens a new screen.
What to check at a glance
| What you are checking | Where it is recorded | What to do |
|---|---|---|
| Which databases exist and their edition | Your inventory; v$version banner on each database | Add every database to one list before you query anything |
| Which features were used | DBA_FEATURE_USAGE_STATISTICS | Export rows with detected_usages above 0, per database |
| Which option or pack a feature belongs to | Oracle's usage script; Database Licensing Information User Manual | Map each feature to its option or pack, then to your entitlement |
| Whether the management packs are switched on | CONTROL_MANAGEMENT_PACK_ACCESS | Set it to NONE or DIAGNOSTIC where you do not license both |
| Whether usage was real or accidental | The feature's own detail columns, the owner of the objects, the dates | Record a written reason for each finding you dismiss |
| Whether the fix held | A second run of the same query and script | Repeat every quarter and before a renewal |
How LICENSEWARE does it
Oracle Database Manager (ODBM) automates the analysis and determination of Oracle Database usage and license requirements. It identifies running options and features in use, and feature-to-version compatibility, then reconciles them with infrastructure data for a complete deployment view.
It shows the installed options and packs with cloned and historic usage evidence pinned to each one, and it flags false or accidental usage so you can fix it before it becomes a real problem.
Sources
- Oracle Database Reference: DBA_FEATURE_USAGE_STATISTICS
- Oracle Database Reference: CONTROL_MANAGEMENT_PACK_ACCESS
- Oracle Database Licensing Information User Manual, 19c
- Oracle Database Installation Guide: Chopt tool
- My Oracle Support note 1317265.1: Database Options/Management Packs Usage Reporting (login required)