Skip to the content.

DBA ASM Disk Groups – Oracle EBS SQL Report

Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™. Oracle EBS module: Database Administration · all Database Administration reports

Overview

Automatic Storage Management disk groups used by the database, with their redundancy, total and free space.

All sizes are shown in MB.

Usable File Mb is the space available for new files after mirroring. A negative value means that the disk group cannot restore full redundancy after a disk failure.

The report returns no rows when the database does not use ASM.

Run this report in Excel in seconds: download Blitz Report™ free (your first 30 reports are free) or try it in the online demo.

Report Parameters

Used Percent From

Oracle EBS Tables Used

v$asm_diskgroup

Report Categories

Enginatics

CST Historical WIP Standard Cost Adjustment, CAC Inventory Accounts Setup

Running This SQL Without Blitz Report

The SQL source can be run in any SQL client. Some Oracle EBS SQL reports in this library use functions from the utility package xxen_util – install it first. Blitz Report™ adds parameters, Excel output with pivots, scheduling and security on top.

Download & Import Options

Resource Link
Excel Example Output Example
Blitz Report™ XML Import DBA_ASM_Disk_Groups.xml
SQL Source DBA ASM Disk Groups.sql
Full Report on Enginatics www.enginatics.com/reports/dba-asm-disk-groups/

Case Study & Technical Analysis: DBA ASM Disk Groups

Executive Summary

This report lists the Automatic Storage Management (ASM) disk groups used by an Oracle database, with their redundancy, state and space figures in MB. Database administrators use it to check how full each disk group is, whether it can restore full redundancy after a disk failure and how much space remains for new files. The report returns no rows when the database does not use ASM. It runs in Excel through Blitz Report™, and the Used Percent From parameter is the threshold for spotting groups that are filling up.

Business Challenge

The Solution

Technical Architecture (High Level)

Primary Tables

Logical Relationships

  1. The report reads a single view, so there are no joins; each row is one disk group.
  2. The used space is calculated as total space less free space.
  3. The used percentage is the used space divided by the total space, with a null-safe divisor so that a group reporting no total space does not cause an error.
  4. The allocation unit size is converted from bytes to MB by dividing by 1,048,576.
  5. The results are ordered by disk group name.

Parameters & Filtering

Performance & Optimization

FAQ

Q: Why is the usable file space negative for a disk group? A: A negative Usable File MB value means the disk group cannot restore full redundancy after a disk failure, so it has to be given more free space before it is considered safe.

Q: How is the used percentage of an ASM disk group calculated? A: The report divides the used space, which is total MB less free MB, by the total MB and multiplies by 100.

Q: Why does the report return no rows? A: The report returns no rows when the database does not use ASM, because the disk group view is then empty.


© Enginatics GmbH