Querying Datafiles, ASM and Segments in Oracle11g (including tablespaces) in Oracle11g, 10g and 9i. This is stuff I have online on my main website and in books, but I’ve tweaked it a bit over the years. ASM: set wrap off lines 132 pages 5000; col name format a30 select name,state,total_mb,free_mb from v$asm_diskgroup; select name,state ,round(sum(total_mb/1024),0) …
Continue reading “Querying Datafiles, ASM and Segments in Oracle11g”