DBA AWR Active Session History
Description:
Active session history from the automatic workload repository
Parameters
User Name, Module Type, Module contains, Show Blocking Session Info, Blocked Sessions only, Request Id, From Time, To Time, Code Name starts with, Entry Procedure contains, Wait Event, Exclude Wait Event, SID - Serial#, SQL Id, Plan Hash Value, Show SQL Text, UI Sessions only, Machine, Session Type, Schema, Action contains, Diagnostic Pack enabled, Container Data
Used tables
gv$sqlarea, obj$, dba_hist_active_sess_history, dba_hist_sqltext, dba_procedures, dba_users
Categories
Related reports
DBA AWR Blocking Session Summary, DBA SGA Active Session History
Dependencies
If you would like to try one of these Oracle EBS SQLs without having Blitz Report installed, note that some of the reports require functions from utility package xxen_util.
Example Report
DBA AWR Active Session History 11-May-2017 125507.xlsx
Report SQL
www.enginatics.com/reports/dba-awr-active-session-history/
Blitz Report™ import options
DBA_AWR_Active_Session_History.xml
Executive Summary
The DBA AWR Active Session History report is a forensic performance analysis tool. It mines the Automatic Workload Repository (AWR) to reconstruct the “Active Session History” (ASH) for a past time period. While real-time ASH shows what is happening now, this report allows DBAs to answer “What happened then?” with second-by-second granularity.
Business Challenge
- Post-Mortem Analysis: “Users reported the system froze yesterday between 2:00 and 2:15 PM. What caused it?”
- Wait Analysis: Identifying the specific bottleneck (CPU, I/O, Locks) that dominated the workload during the incident.
- SQL Identification: Pinpointing the exact SQL ID and execution plan that was consuming resources at that time.
Solution
This report dumps the historical ASH data, allowing for detailed filtering and pivoting.
Key Features:
- Granularity: ASH samples active sessions every second (in memory) and persists a sample (1 in 10) to AWR.
- Dimensions: Can analyze by User, Module, SQL ID, Wait Event, Machine, etc.
- Blocking Info: Shows which session was blocking which other session.
Architecture
The report queries DBA_HIST_ACTIVE_SESS_HISTORY, the persistent storage for ASH data.
Key Tables:
DBA_HIST_ACTIVE_SESS_HISTORY: The core history table.DBA_USERS: Usernames.DBA_HIST_SQLTEXT: SQL text for the captured SQL IDs.
Impact
- Root Cause Analysis: Moves performance tuning from guessing to evidence-based diagnosis.
- SLA Management: Helps explain service interruptions to stakeholders with concrete data.
- Trend Identification: Can be used to spot recurring patterns of contention (e.g., “Every day at 9 AM, we hit this lock”).
Oracle E-Business Suite Reporting Library
We provide an open source Oracle EBS SQLs as a part of operational and project implementation support toolkits for rapid Excel reports generation.
Blitz Report™ is based on Oracle EBS forms technology, and hence requires minimal training. There are no data or performance limitations since the output files are created directly from the database without going through intermediate file formats such as XML.
Blitz Report can be used as BI Publisher and Oracle Discoverer replacement tool. Standard Oracle BI Publisher and Discoverer reports can also be imported into Blitz Report for immediate output to Excel. Typically, reports can be created and version tracked within hours instead of days. The concurrent request output automatically opens upon completion without the need for re-formatting.
The Filters, Columns, Rows and Values fields are used to create and deliver the data in pivot table format with full drill down to details.

The Excel template upload functionality in Blitz Report allows users to create their own layouts by uploading an Excel template with additional sheets and charts, automatically refreshed when the report runs again. This allows to create custom dashboards and more advanced visualizations of report data.

You can download and use Blitz Report free of charge for your first 30 reports.
The installation and implementation process usually takes less than 1 hour; you can refer to our installation and user guides for specific details.
If you would like to optimize your Oracle EBS implementation and or operational reporting you can visit www.enginatics.com to review great ideas and example usage in blog. Or why not try for yourself in our demo environment.
Useful Links
Blitz Report™ – World’s fastest data upload and reporting for Oracle EBS
Oracle Discoverer replacement – importing worksheets into Blitz Report™
Blitz Report™ Questions & Answers
Supply Chain Hub by Blitz Report™
© 2025 Enginatics