deleted of control file how will u recover control file?

Answers were Sorted based on User's Feedback



deleted of control file how will u recover control file?..

Answer / raj

If RMAN backup exists
go to RMAN prompt
recover controlfile from backup controlfile
restore database from bckup
recover database

Is This Answer Correct ?    5 Yes 0 No

deleted of control file how will u recover control file?..

Answer / kittu_chintu2005

Method 1:
SQL>STARTUP NOMOUNT;
SQL>CREATE CONTROLFILE REUSE DATABASE "DB_NAME" ARCHIVELOG RESETLOGS
LOGFILE
GROUP 1 ( 'location of redo1a.log','location of redo1b.log') size XXmb,
GROUP 2 ( 'location of redo2a.log','location of redo2b.log') size xxmb
DATAFILE
'location of system.dbf',
'location of users.dbf',
'location of temp.dbf',
'location of ts1.dbf';
SQL>RECOVER DATABASE;
SQL>ALTER DATABASE OPEN RESETLOGS;

Is This Answer Correct ?    8 Yes 4 No

deleted of control file how will u recover control file?..

Answer / suman

we are restore the control file from cold/hot backup
after that
$sqlplus / 'as sysdba'
>startup nomount
>recover database using backup controlfile until cancel;
>alter database mount;
>alter database open resetlogs;

Is This Answer Correct ?    4 Yes 0 No

deleted of control file how will u recover control file?..

Answer / bolla

At o/s level we are restore control.file from cold/hot backup
after
]$sqlplus /'as sysdba'
sys>startup nomount
sys>recover database using backup controlfile until cancel;
sys>alter database mount;
sys>alter database open resetlogs;

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More DB Administration Interview Questions

What is database replicaion? What are the different types of replication you can set up in SQL Server?

1 Answers  


what are the benefits of flashback feature?

1 Answers   Oracle,


Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.

1 Answers  


How to determine the service pack currently installed on SQL Server?

1 Answers  


When setting replication, can you have distributor on sql server 2005, publisher on sql server 2008? : sql server DBA

1 Answers  


mssqlserver 2005 Backup Advantages & Disadvantages? mssqlserver 2005 Restore Advantages & Disadvantages? mssqlserver 2005 Recovery mode Advantages & Disadvantages? mssqlserver 2005 Mirroring Advantages & Disadvantages? mssqlserver 2005 Replication Advantages & Disadvantages? mssqlserver 2005 Logshpping Advantages & Disadvantages? mssqlserver 2005 Job Advantages & Disadvantages?

1 Answers   TCS, Wipro,


What background process refreshes materialized views?

2 Answers   Accenture, FLSmidth,


What is the difference between clustered and non-clustered index? : sql server DBA

1 Answers  


How do you find out from the RMAN catalog if a particular archive log has been backed-up?

2 Answers   IBM,


Does transparent data encryption provide encryption when transmitting data across network? : sql server DBA

1 Answers  


What are the recovery models for a database? : sql server DBA

1 Answers  


Where in the Oracle directory tree structure are audit traces placed?

1 Answers  


Categories