Thursday, August 29, 2013

TABLESPACE RECOVERY USING RMAN

SQL> select * from jobs;
select * from jobs
              *
ERROR at line 1:
ORA-01116: error in opening database file 5
ORA-01110: data file 5: '/oracle/product/10.2.0/oradata/orcl/example01.dbf'
ORA-27041: unable to open file
Linux Error: 2: No such file or directory
Additional information: 3


THE RESOLVE USING RMAN

FIRST MANDATORY

FULL BACKUP PLUS ARCHIVELOG

RMAN>  sql ' alter tablespace example offline immediate';

sql statement:  alter tablespace example offline immediate

RMAN> restore tablespace example;

RMAN> recover tablespace example;

Starting recover at 29-AUG-13
using channel ORA_DISK_1

starting media recovery
media recovery complete, elapsed time: 00:00:02

Finished recover at 29-AUG-13

RMAN> sql ' alter tablespace example online';

sql statement:  alter tablespace example online


EXECUTE QUERY.....

No comments:

Post a Comment

About the Author : Anurag Pandey | Database cloud Architect | Oracle | SQL Server | PostgreSQL | AI and Data Platform Enthusiast

Anurag Pandey is a Database Architect with expertise in Oracle, PostgreSQL, SQL Server, Linux, and enterprise database platforms and specializes in database architecture, performance tuning, high availability, disaster recovery, cloud modernization, and operational excellence. With extensive experience in enterprise-scale environments, Anurag is passionate about leveraging AI, automation, and modern data platforms to improve reliability, scalability, and business outcomes. He actively contributes to technical communities through knowledge sharing, architecture guidance, and thought leadership in database and data engineering domains.

Follow more articles at

Visit Blog

Oracle Database Deep Health Check Checklist

Oracle Database Deep Health Check Checklist Recommended assessment levels Level Purpose Typical scope L1 Operational health Availability, sp...