Home » RDBMS Server » Backup & Recovery » Media recovery
Media recovery [message #160679] Tue, 28 February 2006 00:52 Go to next message
gajini
Messages: 262
Registered: January 2006
Senior Member
In my database USERS tablespace is in OFFLINE,

SQL> select tablespace_name,status from dba_tablespaces;

TABLESPACE_NAME STATUS
------------------------------ ---------
SYSTEM ONLINE
UNDOTBS1 ONLINE
TEMP ONLINE
CWMLITE ONLINE
DRSYS ONLINE
EXAMPLE ONLINE
INDX ONLINE
ODM ONLINE
TOOLS ONLINE
USERS OFFLINE
XDB ONLINE


When i tried to make it ONLINE,it shows the following error,

SQL> alter tablespace users online;
alter tablespace users online
*
ERROR at line 1:
ORA-01113: file 9 needs media recovery
ORA-01110: data file 9: 'C:\ORACLE\ORADATA\TESTDB1\USERS01.DBF'


I'm new to DBA,i don't know much about Backup & Recovery,so anyway help me how to trobleshoot this problem.
Re: Media recovery [message #160729 is a reply to message #160679] Tue, 28 February 2006 03:42 Go to previous message
alexzeng
Messages: 133
Registered: August 2005
Location: alexzeng.wordpress.com
Senior Member
Try to run this sql recover the tablespaces :
SQL> recover tablespace users;
then
SQL> alter tablespace users online;

Alex zeng

[Updated on: Tue, 28 February 2006 03:42]

Report message to a moderator

Previous Topic: Views about lost datafiles
Next Topic: RMAN: full backup error after incomplete RECOVERY
Goto Forum:
  


Current Time: Thu Apr 18 21:43:39 CDT 2024