Sometimes we need to fetch ASM diskgroup utilization of the database in Oracle.
Below is the SQL query to find ASM diskgroup size in a database which includes Name, Total_GB, Free_GB, Used_GB and Free_percentage of the disk.
SQL query to fetch ASM diksgroup size. Click here to get sample output.
select NAME,TOTAL_MB/(1024) TOTAL_GB,FREE_MB/1024 FREE_GB,(TOTAL_MB-FREE_MB)/1024 USED_GB,(FREE_MB/TOTAL_MB)*100 FREE_PER from v$asm_diskgroup;
Click here to know about How to add disk into ASM diskgroup in Oracle.
We always encourage the technical person to visit section SCRIPTS to get more daily usage SQL commands.
Thanks for such a good article team dbsguru.
Thank you Krishna! Keep review articles and share feedback which encourage us.
Is there any way/script to check the historic usage/growth of ASM for a period of 6 months…?
You may go through the below link.
https://community.oracle.com/tech/apps-infra/discussion/4334600/get-asm-disk-group-growth-history