Find Datafiles Added per Month

>>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’)=
group by d
order by to_char(creation_time,’MON-YY’) ;

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

Latest Articles