How do you recover a datafile that has not been physically
been backed up since its creation and has been deleted.
Provide syntax example.
Answers were Sorted based on User's Feedback
Answer / bharath
Perform below steps
1) alter database datafile < file_id> offline;
2) alter database create datafile <file_id>;
3) recover datafile <file_id>;
4) alter database datafile <file_id> online;
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / mallesh
To create datafile,we need the current controlfile or buckup controlfile that recognises the new datafile that was added.
we go to mount stage and create new datafile using command
syntax:
>alter database create datafile;
>alter tablespace <tsname> add datafile '<location>' size;
>alter system switch logfile;
| Is This Answer Correct ? | 4 Yes | 3 No |
Answer / shiva
>alter database create datafile < path>;
> alter database recover automatic datafile < path> /<file_id>
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / nehru
>alter database create datafile 'old path' as 'new path' size
>recover datafile 'datafile id';
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the steps you will take to improve performance of a poor performing query?
You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?
when does an alert gets signaled?
Which dictionary tables and/or views would you look at to diagnose a locking issue?
Should you place Recovery Catalog in the Same DB? . Can you use RMAN without Recovery catalog
What the different types of replication and why are they used? : sql server DBA
As a part of your job, what are the DBCC commands that you commonly use for database maintenance?
How would you configure your networking files to connect to a database by the name of DSS which resides in domain icallinc.com?
Datapump backup steps?
what is the diffrence between core dba and apps dba?
What are the new features in sql server 2005 when compared to sql server 2000? : sql server DBA
How would you best determine why your MVIEW couldn't FAST REFRESH?
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)