Home » RDBMS Server » Server Administration » How to find out the date of creation of a given tablespace??
How to find out the date of creation of a given tablespace?? [message #56959] Fri, 09 May 2003 05:40 Go to next message
Murali Krishna
Messages: 9
Registered: April 2002
Junior Member
Hi,

Can someone let me know how to find out the date of creation of a given tablespace name? i.e using data dictionary or any other way?? Would be grateful if someone can give me a solution. Thanks in advance.

Regards
Murali
Re: How to find out the date of creation of a given tablespace?? [message #56960 is a reply to message #56959] Fri, 09 May 2003 05:57 Go to previous messageGo to next message
jl
Messages: 9
Registered: May 2003
Junior Member
Since you have to create datafiles for that tablespace you will find these file-creation-commands in the alert.log !
Re: How to find out the date of creation of a given tablespace?? [message #56961 is a reply to message #56959] Fri, 09 May 2003 06:05 Go to previous message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
you can find the timestamp of the first datafile created when the tablespace is created.
mag@itloaner1_local >  break on tablespace_name
mag@itloaner1_local > 
mag@itloaner1_local >  select b.tablespace_name,a.creation_time,b.file_name
  2   from v$datafile a , dba_data_files b
  3   where a.file#=b.file_id
  4   order by b.tablespace_name, a.creation_time desc;

TABLESPACE_NAME                CREATION FILE_NAME
------------------------------ -------- ----------------------------------------
INDX                           04/08/03 C:ORACLEORADATALOCAL.NEXT3.ORA
                               08/26/02 C:ORACLEORADATALOCALINDX01.DBF
OEM                            10/21/02 C:ORACLEORADATALOCALOEM.ORA
RBS                            02/06/03 C:ORACLEORADATALOCAL.ORA
                               08/26/02 C:ORACLEORADATALOCALRBS01.DBF
ROLLBACK_DATA                  04/16/03 C:ORACLEORADATATESTRBS1.ORA
SYSTEM                         10/13/02 C:ORACLEORADATALOCALNEXT2.ORA
                               08/26/02 C:ORACLEORADATALOCALSYSTEM01.DBF
TEMP                           08/26/02 C:ORACLEORADATALOCALTEMP01.DBF
USERS                          01/09/03 C:ORACLEORADATASAMPLE.DBF
                               08/26/02 C:ORACLEORADATALOCALUSERS01.DBF

Previous Topic: OS on C drive down, Oracle is on D, How will i recover?
Next Topic: Oracle Server Upgrade from 9.0.1.0 to 9.2.0.1
Goto Forum:
  


Current Time: Mon Dec 30 17:00:27 CST 2024