Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Good Site for Oracle Internals Oracle
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • pvm_metric.sql for gathering report from vmstat tables Oracle
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • Vivek’s egrep commands to trace problem. (on linux x86-64) Linux/Unix
  • Changing unix system clock when Oracle database is running. Oracle
  • Formatter Explain plan Output 1 Oracle
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • RAC with RHEL4 and 11g Oracle
  • v$backup.status information Oracle
  • grep multuple patterns Linux/Unix
  • S3 Basic info AWS
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle

AWR license

Posted on 12-Oct-201022-May-2023 By Admin No Comments on AWR license

ref: http://blog.tanelpoder.com/2009/05/06/free-dba_hist-awr-views-in-11g/

When you access Oracle AWR (and other licensed features/tables/views) then these do show up in DBA_FEATURE_USAGE_STATISTICS. Exporting the contents is the same as accessing these with your SQL.

All data dictionary views beginning with the prefix DBA_HIST_ are part of this pack, along with their underlying tables.The only exception are the views: DBA_HIST_SNAPSHOT, DBA_HIST_DATABASE_INSTANCE, DBA_HIST_SNAP_ERROR, DBA_HIST_SEG_STAT, DBA_HIST_SEG_STAT_OBJ, and DBA_HIST_UNDOSTAT. They can be used without the Diagnostic Pack license.

DBA_HIST_SNAPSHOT – The table holds AWR snapshots information for all snapshots.

DBA_HIST_SQLSTAT – The informaiton and statistics in this table are taken from V$SQL with each AWR snapshot, it chooses the top SQL statements from the dynamic view. The number of statements depends on the value of STATISTICS_LEVEL parameter.

DBA_HIST_SQL_PLAN – This table is pretty much the same as V$SQL_PLAN. the greatest thing about it is that it keeps execution plans of all statements and the informaiton is not purged when snapshots are deleted.

DBA_HIST_SQLTEXT – Same as DBA_HIST_SQL_PLAN but with V$SQL_TEXT.

DBA_HIST_SEG_STAT – Same as DBA_HIST_SQLSTAT but with V$SEGMENT_STATISTICS, the columns are slightly different from the V$, the HIST table has a column for each statistic instead of the STATISTIC_NAME column that the V$ has. This table also holds information of the top segments of each snapshot and the number is also controlled by the STATISTIC_LEVEL parameter.

DBA_HIST_SYSTEM_EVENT – The HIST of V$SYSTEM_EVENT, holds the wait events information for every snapshot.

DBA_HIST_ACTIVE_SESS_HISTORY – The HIST table of V$ACTIVE_SESSION_HISTORY

Oracle, SQL scripts Tags:AWR, license, oracle, performance, tuning

Post navigation

Previous Post: Oracle Material from OTN
Next Post: Oracle Support Metalink ID 161818.1

Related Posts

  • tab.sql Oracle
  • ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME Oracle
  • Roles and Stored Procs II Oracle
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • sess1.sql Oracle
  • DBMS_UTILITY PACKAGE Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (402)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (350)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sql23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • USE_NL and INDEX hints example Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • Goldengate Tutorial Oracle
  • Monitor and Trace Unix processes using truss Linux/Unix
  • DBMS_JOB all example Oracle
  • Removing Blank lines from file using grep Linux/Unix
  • Monitor Long Running Job Oracle
  • Unix command for system configuration Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme