Quantcast
Channel: Doyensys Allappsdba Blog..
Viewing all articles
Browse latest Browse all 1640

Last added datafile in Oracle

$
0
0
Below query will give you the last added datafile in oracle.

This will be useful to check whenever you have datafile related issues.

DBA_HIST_DATAFILE is the view stores information of datafiles.

select a.FILE#,a.FILENAME,a.TSNAME,b.creation_time from DBA_HIST_DATAFILE a,V$datafile b where  a.FILE#=b.FILE# order by b.creation_time;

Viewing all articles
Browse latest Browse all 1640

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>