Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • create user with unlimited quota Oracle
  • How to find where datafile is created dbf_info.sql Oracle
  • Transfer SQL Profiles from One database to other database. Oracle
  • Good Site for Oracle Internals Oracle
  • Jai Shree Ram Oracle
  • fkwoind.sql fkwoindex.sql Oracle
  • oradebug ipcrm ipcs Oracle
  • 10g oem configuration Oracle
  • Backup and Recovery Scenarios Oracle
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • dbinv.sql Oracle
  • checking connectivity between two servers Linux/Unix
  • get_aix_vmstat.ksh Oracle
  • Explain Plan Output 2 Oracle
  • plan10g.sql good1 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

  • Absolute file number and relative file number Oracle
  • Create type and Grant on it. Oracle
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • db_status.sql Oracle

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • How to find pinned objects from shared pool. (pinned via dbms_shared_pool.keep) Oracle
  • UTL_FILE test program Oracle
  • oracle 10g on linux Linux/Unix
  • Some useful Unix Commands Linux/Unix
  • Unix command for system configuration Linux/Unix
  • find_open_cur.sql Find open cursorts per session Oracle
  • oradebug ipcrm ipcs Oracle
  • SYSOPER Mystery Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme