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 |
WHEN DOWN TIME WHAT CAN U DO?
Database crashes. Corruption is found scattered among the file system neither of your doing nor of Oracle's. What database recovery options are available? Database is in archive log mode.
hi, how can i check all backups are exist to restore? I.e. i forget to take backup on one day. But now i want to check that all backups are there to restore now. I know the answer of through timestamps we know how to check. But i need any other way?
What are the commands you'd issue to show the explain plan for "select * from dual"?
Explain materialized views and how they are used.
Claims and Drains are the locks used to control the concurrency between SQL processes and utilities. Referring to the above statement, what is the maximum number of concurrent Claimers for a Subsystem? Choice 1 32 Choice 2 64 Choice 3 128 Choice 4 256 Choice 5 No limit
What the different types of replication and why are they used? : sql server DBA
why Datapump is faster than traditional export and import
what is the use of recording information about current session?
If you're unsure in which script a sys or system-owned object is created, but you know it's in a script from a specific directory, what UNIX command from that directory structure can you run to find your answer?
How do you recover a datafile that has not been physically been backed up since its creation and has been deleted. Provide syntax example.
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?