>>Script Language and Platform: Oracle 8i and above
Find datafiles added per month for version 8 and above.
Author: Narasimham,Softenger India pvt limited
select d
.name,to_char(creation_time,’MON-YY’) creation_date,
sum(bytes)/1024/1024 “size”
from v$datafile, v$database d
where to_char(creation_time,’YY’)=
to_char(sysdate,’YY’)
group by d
.name,to_char(creation_time,’MON-YY’)
order by to_char(creation_time,’MON-YY’) ;
Disclaimer: We hope that the information on these script pages is
valuable to you. Your use of the information contained in these pages,
however, is at your sole risk. All information on these pages is provided
“as -is”, without any warranty, whether express or implied, of its accuracy,
completeness, or fitness for a particular purpose…
Disclaimer Continued
Back to Database Journal Home