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 is ora 24313?what is the procedure to exclude that error?
What column differentiates the V$ views to the GV$ views and how?
Which autogrowth database setting is good? : sql server DBA
Oracle 11g new features?
Explain the concept of the DUAL table.
Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database?
Explain the difference between a data block, an extent and a segment.
what is ora 600?
Explain CREATE DATABASE syntax?
How many files can a database contain in sql server?how many types of data files exists in sql server? How many of those files can exist for a single database? : sql server DBA
Explain how you would restore a database using RMAN to Point in Time?
Explain an ORA-01555
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)