How to check tablespace creation time in oracle 11g
Let we discuss how to check the tablespace creation time in Oracle 11g?
*By using this query we will get the tablespace name, status and creation time
SQL> col FILE_NAME for a45
SQL> col tablespace_name for a10
SQL> col status for a15
SQL> col creation_time for a15
SQL> set lines 999 pages 100
SQL> select a.File_name,a.Tablespace_name,a.status,b.creation_time from
dba_data_files a inner join V$datafile b on a.file_name=b.Name
group by a.File_name,
a.Tablespace_name,a.status,b.creation_time ;
FILE_NAME TABLESPACE STATUS CREATION_TIME
--------------------------------------------- ---------- --------------- ---------------
C:\ORACLEXE\APP\ORACLE\ORADATA\XE\SYSTEM.DBF SYSTEM AVAILABLE 27-AUG-17
C:\ORACLEXE\APP\ORACLE\ORADATA\XE\USERS.DBF USERS AVAILABLE 27-AUG-17
C:\ORACLEXE\APP\ORACLE\ORADATA\XE\SYSAUX.DBF UNDOTBS1 AVAILABLE 27-AUG-17
C:\ORACLEXE\APP\ORACLE\ORADATA\XE\SAM01.DBF SAM AVAILABLE 19-SEP-17
C:\ORACLEXE\APP\ORACLE\ORADATA\XE\UNDOTBS1.DBF SYSAUX AVAILABLE 27-AUG-17