Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • sess1.sql Oracle
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • sbind.sql Find Bind variable from sql_id sqlid Oracle
  • Deleting first line and lastline of a file using sed Linux/Unix
  • How to remove blank lines using vi editor command Linux/Unix
  • Temporary Tablespace Information and restriction. Oracle
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • Histogram information Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • how to find OS block size Oracle
  • crontab syntax Linux/Unix
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle
  • Set Role explaination. Oracle
  • export import with parameter file. 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

  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • Monitor Long Running Job Oracle
  • How to connect to Oracle Database with Wallet with Python. Oracle
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • TOP-N Sql to find Nth max or Top N rows Oracle
  • Btee and Bitmap Plans in Oracle 9i and higher 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Roles and Stored Object behaviour Oracle
  • plan10g.sql good Oracle
  • Implementing Listener Security Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • normal maintenance for exp-imp and renaming table Oracle
  • How to change hostname in Linux Linux/Unix
  • Find sort details from Db find_sort.sql Oracle
  • SQL Server Vs Oracle Architecture difference SQL Server

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme