DBA SGA Blocking Session Summary
Description:
Summary of blocked and blocking sessions based on the active session history from the SGA. The link to blocking sessions is deliberately nonunique without jointing to sample_id to increase the chance to fetch the blocking session’s additional information such as module, action and client_id. In some cases, such as row lock scenarios, the blocking session is idle and does not show up in the ASH.
We recommend doing further analysis with a pivot in Excel rather than by SQL, as Excel’s drag- and drop is a lot faster than typing commands manually.
Parameters
User Name, Module Type, Module contains, From Time, To Time, Wait Event, SID - Serial#, SQL Id, UI Sessions only, Session Type, Instance Id, Schema, Action contains, Program contains, Diagnostic Pack enabled
Used tables
v$waitstat, dual, dba_objects, gv$sqlarea, obj$, gv$active_session_history, dba_users, y
Categories
Related reports
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 SGA Blocking Session Summary 21-Jan-2019 083708.xlsx
Report SQL
www.enginatics.com/reports/dba-sga-blocking-session-summary/
Blitz Report™ import options
DBA_SGA_Blocking_Session_Summary.xml
Case Study & Technical Analysis
Abstract
The DBA SGA Blocking Session Summary report aggregates data from the Active Session History (ASH) in the SGA to provide a retrospective view of locking and contention. While the standard ASH report shows all activity, this report filters and summarizes specifically for blocking scenarios, helping DBAs understand the impact and duration of lock chains that occurred recently.
Technical Analysis
Core Logic
- Source: Queries
GV$ACTIVE_SESSION_HISTORYwhereBLOCKING_SESSIONis not null. - Aggregation: Groups by the blocking session’s attributes to show which session/user was the “root blocker” and how much time other sessions spent waiting behind them.
- Wait Events: Typically focuses on
enq: TX - row lock contention,library cache lock, orbuffer busy waits.
Limitations of ASH for Locking
- Sampling Bias: Short locks (< 1 second) might be missed by the 1-second sampler.
- Idle Blockers: As noted in the ASH analysis, if the blocker is idle, it won’t be in ASH. This report is best for finding “active” blockers—e.g., a batch job that is running slow SQL and holding locks that block online users.
Key View
GV$ACTIVE_SESSION_HISTORY: The in-memory circular buffer of active session samples.
Operational Use Cases
- Post-Mortem: Analyzing a “system hang” that cleared up before a DBA could look at it.
- Pattern Recognition: Identifying if a specific scheduled job consistently blocks users at 2:00 PM every day.
- Concurrency Tuning: Identifying “hot” records or tables that are subject to frequent contention.
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