Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

Detect Oracle features used

Oracle Database Tips by Donald BurlesonUpdated 24 April 2013


At installation time, Oracle Corporation does not require license keys and Oracle shops must be aware of those features that some in Standard Edition (SE), Enterprise Edition (EE), and all of the extra cost packs.

See this importanrt script to detect features used

Also see:

This query will tell whether a database is using any extra cost options:

col name format a50 heading "Option"
col value format a5 heading "?" justify center wrap
break on value dup skip 1

select parameter name, value
from v$option
order by 2 desc, 1;

 

Auditing for Oracle features used

The DBA_FEATURE_USAGE_STATISTICS view will display information about database feature usage statistics.

set pages 999

col c1 heading 'feature'    format a45
col c2 heading 'times|used' format 999,999
col c3 heading 'first|used'
col c4 heading 'used|now'

select
   name             c1,
   detected_usages  c2,
   first_usage_date c3,
   currently_used   c4
from
   dba_feature_usage_statistics
where
   first_usage_date is not null
;

                                              times    first     used
feature                                       used     used      now
--------------------------------------------- -------- --------- -----
Protection Mode - Maximum Performance         24       18-AUG-09 TRUE
Recovery Area                                 24       18-AUG-09 TRUE
Server Parameter File                         24       18-AUG-09 TRUE
Shared Server                                  4       18-AUG-09 FALSE
Streams (system)                              24       18-AUG-09 TRUE
Virtual Private Database (VPD)                24       18-AUG-09 TRUE
Automatic Segment Space Management (system)   24       18-AUG-09 TRUE
Automatic Segment Space Management (user)     24       18-AUG-09 TRUE
Automatic SQL Execution Memory                24       18-AUG-09 TRUE
Automatic Undo Management                     24       18-AUG-09 TRUE
Character Set                                 24       18-AUG-09 TRUE
Dynamic SGA                                    1       18-AUG-09 FALSE
Locally Managed Tablespaces (system)          24       18-AUG-09 TRUE
Locally Managed Tablespaces (user)            24       18-AUG-09 TRUE
Multiple Block Sizes                           7       25-DEC-12 TRUE
Partitioning (system)                         24       18-AUG-09 TRUE

As we see above, starting in 10g, Oracle  will keep track of any of its features that are being used.

As an example, if you SELECT from any of the Oracle Diagnostic Pack and Tuning Pack views like V$ACTIVE_SESSION_HISTORY, the database will record your usage of it in this DBA view.

Some of the information tracked are

o Name of the feature
o Number of times the system has detected usage for the feature
o First sample time the system detected usage of the feature
o Last sample time the system detected usage of the feature

These are just some of the features it tracks


Name - Description
Audit Options - Audit options in use.
Automatic Database Diagnostic Monitor - A task for the Automatic Database Diagnostic Monitor has been executed.
Automatic Segment Space Management (system) - Extents of locally managed tablespaces are managed automatically by Oracle.
Automatic Segment Space Management (user) - Extents of locally managed user tablespaces are managed automatically by Oracle.
Automatic SQL Execution Memory - Sizing of work areas for all dedicated sessions (PGA) is automatic.
Automatic Storage Manager - Automatic Storage Management has been enabled
Automatic Undo Management - Oracle automatically manages undo data using an UNDO tablespace.
Automatic Workload Repository - A manual Automatic Workload Repository (AWR) snapshot was taken in the last sample period.
Change-Aware Incremental Backup - Track blocks that have changed in the database.
Locally Managed Tablespaces (system) - There exists tablespaces that are locally managed in the database.
Locally Managed Tablespaces (user) - There exists user tablespaces that are locally managed in the database.
SQL Access Advisor - A task for SQL Access Advisor has been executed.
SQL Tuning Advisor - SQL Tuning Advisor has been used."
 

 


 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.