deleted of control file how will u recover control file?
Answer Posted / 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 |
Post New Answer View All Answers
Which autogrowth database setting is good? : sql server DBA
What is the difference between clustered and non-clustered index? : sql server DBA
List out some of the requirements to setup a sql server failover cluster.? : sql server DBA
What is a correlated sub-query? : sql server DBA
suppose you want to audit specific activities on sensitive data. How can you achieve that?
Can you tell me about your experience with the administration of COTS system..? Also, how do you set up seed data..?
how can you generate profile of pl/sql applications to identify performance bottlenecks?
How would you best determine why your MVIEW couldn't FAST REFRESH?
How can you tell how much space is left on a given file system and how much space each of the file system's subdirectories take-up?
What is the difference between dropping a database and taking a database offline? : sql server DBA
What is the importance of a recovery model? : sql server DBA
who owns the operating system files created by the utl_file package?
Where do you find the default index fill factor and how to change it? : sql server DBA
What the different topologies in which replication can be configured? : sql server DBA
What are the differences in clustering in sql server 2005 and 2008 or 2008 r2? : sql server DBA