deleted of control file how will u recover control file?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Compare and contrast TRUNCATE and DELETE for a table.
What authentication modes does sql server support? : sql server DBA
What is the difference between dropping a database and taking a database offline? : sql server DBA
How would you best determine why your MVIEW couldn't FAST REFRESH?
What is blocking and how would you troubleshoot it?
What is dcl? : sql server DBA
If CPU is very slow What can u do to speed up?
what is the diffrence between core dba and apps dba?
one datafile is lost in standy side how can you recover that??
What are the different types of indexes available in sql server? : sql server DBA
What is a system database and what is a user database? : sql server DBA
Explain the difference between a hot backup and a cold backup and the benefits associated with each?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)