Rem Created date: 2006-04-21 12:00Rem Author : dbstyleRem Name : datafile.sqlRem Description:Rem this script is used to get datafile information that used exceed 95%.Rem MODIFIED (MM/DD/YYYY)Rem dbstyle 04-21-2006 create scriptset pagesize 999col file_name format a40col tablespace_name format a10select df.file_name,df.tablespace_name,df.bytes/1024/1024 size_M from dba_data_files df,(selecta.tablespace_name tsname,round(a.bytes,2) Total_Mb,round(b.bytes,2) Free_Mb,round(a.MAXsize,2) MAXSIZE_Gb,(1 - (b.bytes/a.bytes))*100 Pct_usedfrom(select tablespace_name,sum(MAXBYTES/1024/1024/1024) MAXsize,s
...
继续阅读
(45)