incomplete recovery of a data file.

I'm performing incomplete recovery of a data file that uses the following scenario.
SQL > select * v log$;
shows current journal seq is 10;

I perform dml as follows:
SQL > update hr.emp set salary = 1000;
SQL > commit;

Now, I've deleted log archiving with sequence # 9 alongwith users.dbf datafile.
Now to perform an incomplete recovery of the datafile, users.dbf. I followed the following steps.
RMAN > the judgment;
RMAN > bootable media.
RMAN > run
{
until the sequence 9;
restore data file 4;
recover datafile 4;
}
RMAN > alter database open;
Now, when I ask about hr. EMP, it shows the updated lines, i.e., salary column has been updated with 1000;
I want to know that after the incomplete rcovrry until the seq, what other newspapers is applied. My example shows that this newspaper seq 10 has also been applied. Pls help me to improve my understanding.
I can't understand the reason to get updated when the incomplete recovery lines.

Hello.

You cannot perform incomplete recovery of a single data file. After recovery, before opening the database, all SNA must be synchronized between controlfiles, redo logs and data files. A single data file must be restored and recovered to the last SCN for the database to open. If you want / need to do incomplete recovery, always restore ALL data files, recover their until the desired point in time and then open the database with resetlogs synchronize all data with controlfiles and redo logs files.

In your case, you have made a complete recovery of the data file. Very probably data repeat still available in the online redo logs were used to recover the data at the last CSS file (since you said that you have removed the archiving log - which, incidentally, makes your online backup no need for a full recovery, after the redo logs switch line and crushes with sequence #9 redo log and beyond).

When experimented with incomplete recovery, until the RCS or at least up to the time, it allows you to specify the point in time recovery with much more accurately and without guessing, what happened in whatever sequence of journal. You must manually remove the files of data or archivelog files before playing with incomplete/complete recovery. In fact, it is a good practice not to delete the database of linked files: o)

Kind regards
Martin

Tags: Database

Similar Questions

  • Recovery of a data file with the size of the different initial file

    Sorry for this post. no need

    OPERATING SYSTEM? Version of database? Archivelog or NOARCHIVELOG? At least in the second case (archivelog) DDL commands like adding a data file are saved, too.

    Werner

  • Incomplete data file recovery

    Hello

    I use oracle database 10g (10.2.0.10) in RHEL5. I want to make a point in time recovery a backup data file. Through RMAN, I published the following command

    RMAN > run {}
    2 > sql ' alter session set nls_date_format = "dd-mon-yyyy hh24:mi:ss";
    3 > set until that time August 21, 2011 13:04 ';
    4 > restore datafile 4;
    5 > recover datafile 4;
    6 > alter database open resetlogs ;}

    But RMAN made a full recovery. Yet once again, I deleted the data file and restore the backup data file. Now, I wrote the following at the SQL prompt

    SQL > alter session set nls_date_format = 'dd-mon-yyyy hh24:mi:ss ";
    Modified session.
    SQL > recover datafile ' / u01/app/oracle/oradata/ORATESTDB/datafile/o1_mf_users_751h7fmh_.dbf' until August 21, 2011 13:04 ';
    ORA-00274: illegal until recovery option

    It displays the above error. But I am able to perform incomplete recovery of the complete database using RMAN same as above.

    Done datafile point-in-time recovery is not possible? or is there something wrong in my approach?

    Kind regards

    007

    A data file can be recovered to a point in time which is incosistent with the rest of the database.
    (why? Data integrity! A table with several extensions that can cover several data files. You can't have some scopes with data from 12:05 and other extensions into another file of data retrieved using data from 10:05! Even if it's a single datafile tablespace, you will violate referential integrity (whether or not they are applied) If, say, the SALES table has entries until 12:05, but the SALES_LINES table has entries until 10:05!)

    You can make a Tablespace recovery time by using an auxiliary Instance and then copy the tablespace back. You must maintain integrity.

    Hemant K Collette

  • data file update the header by various processes

    Hi master,

    It is certainly not a question any. I just wanted to clear some doubts in my mind. We all know SNA are generated and updated in the controlfiles and datafile headers by various oracle process.

    System change number are updated by DBWr in the header of the data files and of ckpt in controlfiles... Please correct me if I'm wrong.


    I am little confuse on when the database writer writes dirty blocks in the data files update the header of this particular data file or updated all the header of data file in the tablespace or all the headers of data file?

    and it is, but it is obvious that if the instance crash, then database will be inconsistent state and application of recovery of incompatible data files as YVERT in the control file does not match the data file header...

    treat means only when good checkpoint with CKPT then only the database will be a consistent state after reboot... it means making ckpt YVERT in all the datafile header match with in controlfiles?

    dealing with writing or update YVERT in other than CKPT controlfiles? at the time, only respective datafile is updated with the new change number or all in this tablespace data files are updated?

    Although many change of system is not timed... It may often happen and it does... but how to find change number perfect if we want to recover a file of data or database with incomplete recovery until the sequence or YVERT? I tried to find the list for the smon_scn_time , but don't know how to use...

    I'm looking also for document on this point of view I have Google, but have not found anything successful.


    any suggestions would be much appreciated...

    Thanks and greetings
    VD

    Published by: vikrant dixit on April 2, 2009 12:05 AM

    gurantee Oracle with CKPT SNA who wrote to datafile is completed and will be contradicted with system files, tablespace and other
    tabelspace load datafiles, each tablespace datafiles CKPT SNA is circumscribed in controlfile is why when you take line/hot
    Save then your backup is inconsistent on recovery makes inconsistent backups consistent oracle by applying all archived and online
    redo logs, oracle makes the recovery by reading more early/more former SNA to one of the headers of data file (media recovery) and apply the
    changes of newspapers in the data file.

    After the completion of checkpoint process CKPT process increment header controlfile CKPT SNA and broad cast than SNA CKPT to others
    header data file. This SNA CKPT is not individual for alls datafile within the database or tablespace datafiles, each CKPT SNA data file is the same.
    You can verify this behavior.

    SQL> select substr(name,1,50) fname,checkpoint_change#,last_change#,status
      2    from v$datafile
      3  /
    
    FNAME                                              CHECKPOINT_CHANGE# LAST_CHANGE# STATUS
    -------------------------------------------------- ------------------ ------------ -------
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\SYSTEM01.DBF             327957              SYSTEM
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\UNDOTBS01.DB             327957              ONLINE
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\SYSAUX01.DBF             327957              ONLINE
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\USERS01.DBF              327957              ONLINE<---
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\USERS02.DBF              327957              ONLINE<---
    
    SQL> alter system checkpoint
      2  /
    
    System altered.
    
    SQL> select substr(name,1,50) fname,checkpoint_change#,last_change#,status
      2    from v$datafile
      3  /
    
    FNAME                                              CHECKPOINT_CHANGE# LAST_CHANGE# STATUS
    -------------------------------------------------- ------------------ ------------ -------
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\SYSTEM01.DBF             327960              SYSTEM
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\UNDOTBS01.DB             327960              ONLINE
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\SYSAUX01.DBF             327960              ONLINE
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\USERS01.DBF              327960              ONLINE
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\USERS02.DBF              327960              ONLINE
    
    SQL> alter system checkpoint
      2  /
    
    System altered.
    
    SQL> select substr(name,1,50) fname,checkpoint_change#,last_change#,status
      2    from v$datafile
      3  /
    
    FNAME                                              CHECKPOINT_CHANGE# LAST_CHANGE# STATUS
    -------------------------------------------------- ------------------ ------------ -------
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\SYSTEM01.DBF             327965              SYSTEM
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\UNDOTBS01.DB             327965              ONLINE
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\SYSAUX01.DBF             327965              ONLINE
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\USERS01.DBF              327965              ONLINE
    F:\ORACLE\PRODUCT\10.1.0\ORADATA\PROD\USERS02.DBF              327965              ONLINE
    

    Khurram

  • Boot Configuration data file - knows how to solve the need advice that no one shared

    Hello

    I just got the

    Recovery: Boot Configuration data file is missing fileh \bcd

    error code 0xc000000d

    To solve that I need to get the windows disc 8 to repair the laptop, the only problem is that I don't have the disc that I just moved away from home in my own apartment for uni and don't have another computer of the rhe download files on a usb key and recover the laptop, so I thought I just buy windows 8 and install it on my computer and hopefully solve this , but it might not work because my computer came with Windows 8 installed so I could stuff something im not sure and it's just my brain fusion trying to understand this point, so if anyone has any what advice id greatly appreciate, oh and sorry if this isn't the best grammar mode spelling etc. IM on my phone and it is laggy as phones get, thanks.

    Dan G

    Hello Daniel,.

    Thanks for posting your query on Microsoft Community forum.

    According to the description you get the error Boot Configuration data (BCD). I totally agree with you that, in order, to rebuild the Boot Configuration data (BCD) we need the installation media.

    If you do not have any other computer to create the installation media, then it is best to contact the manufacturer of your computer instead to buy Windows from outside. If your computer is under warranty, they can provide you with the ERD free of charge or at minimal cost.

    If you manage to organize other computers or repair disk, try the steps below. You can try to create installation media by following the steps described in the article mentioned below.

    To create installation media Windows 8.1

    • Boot from the DVD of Windows 8.
    • Click repair your computer.
    • Click Troubleshooting , and then select Advanced Options.
    • Click on command prompt and type the following commands and press enter after each command:

    Bootrec /fixmbr

    Bootrec /fixboot

    Bootrec /rebuildbcd

    • Restart the computer.
    • Check if the problem persists.

    Get back to us with your question was last updated. We will be more than happy to help you.

    Kind regards

  • recover data file

    Hi all

    DB: in mode Archive No. 10g
    OS: windows

    I can't recover my data file after renaming the same. Here are the steps I took:

    I have an old controlfile trace and the last controlfile is lost. The old controlfile is not the new entry of data file. So I mount the database with the old track with option resetlog, and then I will be renaming the unamed data files.
    STARTUP MOUNT
    Then I create controlfile
    ALTER DATABASE OPEN RESETLOGS;
    Now, newly added the data file is as below:
    SQL > select name from v$ datafile;
    NAME
    -----------------------------------------------------------------------------------------------------------------------------------
    D:\ORAHOME_XPRESS10G\ORADATA\XE\SYSTEM. DBF
    D:\ORAHOME_XPRESS10G\ORADATA\XE\UNDO. DBF
    D:\ORAHOME_XPRESS10G\ORADATA\XE\SYSAUX. DBF
    D:\ORAHOME_XPRESS10G\ORADATA\XE\USERS. DBF
    D:\ORAHOME_XPRESS10G\ORADATA\XE\TEST01. DBF
    D:\ORAHOME_XPRESS10G\APP\ORACLE\PRODUCT\10.2.0\SERVER\DATABASE\MISSING00006
    then I rename the data file as
    SQL > alter the change of name of database file 'D:\ORAHOME_XPRESS10G\APP\ORACLE\PRODUCT\10.2.0\SERVER\DATABASE\MISSING00006' to ' D:\ORAHOME_XPRESS10G\ORADATA\XE\TEST02. DBF';
    Altered database.
    SQL > select FILE #, STATUS, NAME from v$ datafile;
    FILE # NAME OF STATE
    --------- ------- --------------------------------------------------
    1 SYSTEM D:\ORAHOME_XPRESS10G\ORADATA\XE\SYSTEM. DBF
    2 D:\ORAHOME_XPRESS10G\ORADATA\XE\UNDO ONLINE. DBF
    3 D:\ORAHOME_XPRESS10G\ORADATA\XE\SYSAUX ONLINE. DBF
    4 D:\ORAHOME_XPRESS10G\ORADATA\XE\USERS ONLINE. DBF
    5 D:\ORAHOME_XPRESS10G\ORADATA\XE\TEST01 ONLINE. DBF
    6 RETRIEVE D:\ORAHOME_XPRESS10G\ORADATA\XE\TEST02. DBF
    After that when I am trying to retrieve the concern datafiel I get the following errors:

    SQL > recover datafile 6;
    ORA-00283: cool cancelled due to errors
    [ORA-00600: internal error code, arguments: [krhpfh_03-1202], [fno =], [6], [= fhcrt], [794948267], [cptim =], [0],]
    ORA-01110: data file 6: ' D:\ORAHOME_XPRESS10G\ORADATA\XE\TEST02. DBF'

    and also,.

    SQL > RESTORE DATABASE AUTOMATICALLY using BACKUP CONTROLFILE until CANCEL
    ORA-00283: cool cancelled due to errors
    ORA-01124: cannot retrieve the data file 1 - file is in use or recovery
    ORA-01110: data file 1: ' D:\ORAHOME_XPRESS10G\ORADATA\XE\SYSTEM. DBF'


    BR
    Sphinx

    Published by: $phinx19 on September 25, 2012 07:47

    This looks at published Bug 8980513 : ORA-00600 [KRHPFH_03-1202] WHEN RECOVER DATAFILE SPLEEN in CREATE CONTROLFILE, who is set to 11.2.0.3 and no work around is listed.

  • Why the Media recovery is necessary once a data file is brought back to fashion online?

    Hi DBAs,

    Consider the following scenario:

    Offline data file:

    08:09:38 coredev > select status, name from v$ datafile where name like '% UNDO4% ';

    NAME OF THE STATE

    ------- ----------------------------------------------------------------------

    F:\ORACLE\ORADATA\CD\UNDO4 ONLINE. DBF

    08:09:47 coredev > alter database datafile ' F:\ORACLE\ORADATA\CD\UNDO4. DBF' offline;

    Database altered.

    08:09:58 coredev > select status, name from v$ datafile where name like '% UNDO4% ';

    NAME OF THE STATE

    ------- ----------------------------------------------------------------------

    RETRIEVE F:\ORACLE\ORADATA\CD\UNDO4. DBF

    08:10:02 coredev > select * from v$ tablespace where name = "UNDO";

    ENC FLA BIG TS # NAME INC.

    ---------- ------------------------------ --- --- --- ---

    UNDO 33 YES NO YES

    Data file online:

    08:10:53 coredev > alter database datafile ' F:\ORACLE\ORADATA\CD\UNDO4. DBF' online;

    ALTER database datafile ' F:\ORACLE\ORADATA\CD\UNDO4. DBF' online

    *

    ERROR on line 1:

    ORA-01113: file 21 needs media recovery

    ORA-01110: data file 21: ' F:\ORACLE\ORADATA\CD\UNDO4. DBF'

    08:11:04 coredev > recover datafile ' F:\ORACLE\ORADATA\CD\UNDO4. DBF';

    Complete media recovery.

    08:11:13 coredev > alter database datafile ' F:\ORACLE\ORADATA\CD\UNDO4. DBF' online;

    Database altered.

    08:11:49 coredev > select status, name from v$ datafile where name like '% UNDO4% ';

    NAME OF THE STATE

    ------- ----------------------------------------------------------------------

    F:\ORACLE\ORADATA\CD\UNDO4 ONLINE. DBF

    Now my doubt is:

    1.Pourquoi Media recovery is necessary once a data file brought to online from offline mode?

    2. why DB not open and throws the error message after brining online of offline?

    3. Why is he asking for recovery of the media?

    I'm very confused...!

    Kind regards

    Ritu

    In order to make the UNDO4 data file. Coherent DBF with other UNDO tablespace data files, when you bring it from OFFLINE to ONLINE, the changes that happened during the period offline needs to be applied to this data file hence it is requires media recovery.

    It is directed by my understanding.

  • ORA-01124: cannot retrieve the data file 1 - file is in use or recovery

    I'm trying to recover the database in waiting, but it gives the error below.

    ORA-00283: cool cancelled due to errors
    ORA-01124: cannot retrieve the data file 1 - file is in use or recovery, the recovery is already said
    ORA-01110: data file 1: ' I:\ORACLE\QAS\SAPDATA1\SYSTEM_1\SYSTEM. DATA1'

    When I checked in the alert log recovery is not started. and later I hae given ' alter database recover Cancel "and the command to meet with the threshold.

    "media recovery has not started.

    It seems that the recovery was stuck between the two.
    Please advise me how to kill the recovery session that is stuck. because I don't want to bounce the database pending.

    Thanks in advance.

    Dataguard and MRP, you run a script before.

    In a standby scripted, a session to RETRIEVE the DATABASE would an UNTIL clause (SEQUENCE up to THAT most likely). At the end of the recovery at this point (SEQUENCE #), he left and stop at the database.

    In addition, the script is such that when a RECOVERY session is active, another session is not authorized to start. It can loop in pending state or go out and do it again the next scheduled interval.

    Apparently your startup script is not strong enough to prevent another session of RECOVERY to start even though the first is active (or it doesn't have a good up to THAT clause and stop, exit, closing stocks)

    What you have is a custom implementation of a database of pending. Without all the details of the script, the 'blocking' between sessions (to avoid a second RECOVER start when one is already running) etc... We can't really do much to help you.
    Your scripts must be standing with status information. It should be possible for you to discover the 'other' sqlplus session which emanates a DATABASE to RECOVER, but not yet out (p. ex... How about a simple "ps - ef |") grep sql' and ' ps - ef | combination of grep ora"?)

    Hemant K Collette

    Published by: Hemant K Collette on May 29, 2013 17:47

  • data file recovery status

    Hi guys,.

    I have problem with data file in my Oracle 9.2.0.7 EE database (Red Hat EL 4 machine). I agree that this data file is in a State of RECOVERY, and I don't now exactly that. Because it is to develop the database I have no backup for that I couldn't do recovery.

    My question for you guys, is possible to somehow remove this datafile?

    As you can see someone has already tried to ALTER DATABASE DATAFILE ' / db/test.dbf ' DROP off LINE and there is no singular no results. TABLESAPCE have 10 datafiles so I can't get it right...
    We do not have this dataile, its empty and I just want to remove from my database...

    There is not directly from the version 9i way (AFAIK) falling specify data file for tablesapce. So for your case, you must create the new tablespace and need to move all the tables, indexes and clusters to this new tablespace and after that, you can drop old tablespace (so using this way you can avoid this problem). In addition to move the tables you can use ALTAR TABLE SKIP command or export/import utility as well.

  • FDM export issues: incomplete DAT file

    Hello

    We have problems in the process of exporting to a place. The creation of DAT files seems to fail at halfway. The question seems to be intermittent, as we have 2/3 shipments pass on the total 5. Having said that, the time that they have completed successfully, it is early in the morning and no, rush hour in which we have a few midi. However we are not sure that this would contribute to this question. To add, in the integration settings, we turned the Protection of data.

    Thank you!

    Sorry for the long interval.

    After some analysis, we found that it could not any charge which was more than 15 minutes. This has led us to some of the configuration of COM + adapter FM11x-G5-C. When we looked at the parameters that we found in the parameters "Pooling & recycling", the "time-out (minutes) was set at 15." Increase this value to a higher number finally solved this problem and the loads completed successfully.

    Thank you for all your support and time.

  • The data file recovery

    I lost one of the data file for the database. Comprehensive database of RMAN was brought back a day. Steps required to complete the restore of the data file so that I have recover the database.

    Beginner wrote:
    I lost one of the data file for the database. Comprehensive database of RMAN was brought back a day. Steps required to complete the restore of the data file so that I have recover the database.

    Is your database in archivelog mode? If so,.

    find the number of the data file (for the use of data instead of the name file number):

    SQL> select file#,name from v$datafile;
    

    Assume that n is the number of folder of the data file. Start rman and try to get it back:

    RMAN> RECOVER DATAFILE n;
    

    If it shows that you want to restore, restore the data file and recover:

    RMAN> RESTORE DATAFILE n;
    RMAN> RECOVER DATAFILE n;
    

    go online:

    ALTER DATABASE DATAFILE n ONLINE;
    

    or you can recover the storage space of the data belonging to file: http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/recov002.htm#i1037378

    concerning

    Grosbois

  • data file recovery

    Hi experts,
    If someone rename a data file then is it possible for the Rman recover the data file by using this command.


    SQL ' alter database datafile offline 4.
    restore data file 4;
    recover datafile 4;
    SQL ' alter database datafile 4 online.

    Concerning
    Rajat

    If someone deletes a data file from the current location, RMAN restores it this place. This is normal business.

    Werner

  • Moving files from files/control/data files of recovery in a SAN

    Hello world
    Recently my body set up a San and I was instructed to move the data files of the current WINDOWS 2003 SERVER on the San. the way things are set up now, is that if I connect to my oracle server, I can see the local volumes on the SAN listed as disk drives.
    I guess that software will remain on the oracle server, while the data files will be moved to the SAN. My question is what are the steps involved to address this question: can I first of all move DATA files, then the REDOLOG FILES, and CONTROL FILES? I never had to move my data files before on another server or on disk, so I'll just try get a feedback on the most convenient way to do so. Thanks in advance for the help.

    Hello!

    To move the files to an Oracle database, you should close it. I guess that there are no problems with your San. I only describe the steps needed to move the files from a to b.

    Movement of data - and redologfiles.
    1.) query v$ data_file

    SELECT name, file#
    FROM   v$datafile;
    

    This will give you a complete overview of the data files that you need to move.
    2.) query v$ log_file

    SELECT member
    FROM   v$logfile;
    

    This will give you a complete overview of the redologfiles, you need to move.
    3.) stop your database.
    4.) move all the data files to the new location.
    5.) rename the data files in the database

    ALTER DATABASE
    RENAME FILE 'old_path/filename' TO 'new_path/filename';
    

    6.) move all the redolog files to the new location.
    7.) rename the redologfiles in the database (see step # 5)
    8.) create a pfile your spfile file (only if you use spfile)

    CREATE PFILE='C:\pfile.ora'
    FROM SPFILE;
    

    9.) move your controlfiles to the new location
    10.) Alter the CONTROLFILES parameter in the file pfile recently created.
    11.) create a SPFILE from your newly created pfile.

    CREATE SPFILE
    FROM  PFILE='C:\pfile.ora';
    

    12.) start your database (and pray)

    Yours sincerely

    Florian W.

  • RMAN incomplete recovery

    Jin
    I use oracle10g (10.2.0.4.0) in windows service pack 2 32-bit. with RMAN, I took a backup of a tablespace. Then, I created a table and the database is closed. Off, I deleted the file data in this table. Now I started the database in the editing phase, started the RMAN. I restored the tablespace by RMAN and then I got to a point where I did not create the table. But the RMAN performs a complete recovery. When I check the table there is always. How is it possible? can someone help me please... I am totally confused.

    Here are the commands I used in the above scenario

    RMAN > BACKUP TABLESPACE USERS (BACKUP 13:00 HRS)


    SQL > CREATE TABLE TEST AS SELECT * FROM EMPLOYEES; (CREATED AT 17:00 HRS)
    SQL > IMMEDIATE SHU

    physically remove the data from the users table space file.

    SQL > STARTUP MOUNT

    RMAN > CONNECT TARGET SYS/password

    RMAN > RESTORE TABLESPACE USERS

    RMAN >RECOVER DATAFILE 4 until time ' to_date ('2010-11-23 16:00 ',' ' YYYY-MM-DD HH24:MI:SS) "

    SQL > ALTER DATABASE OPEN RESETLOGS (DISPLAYS AN ERROR THAT RESETLOG CAN SE DO AFTER INCOMPLETE RECOVERY)

    SQL > ALTER DATABASE OPEN

    SQL > SELECT * FROM TEST (THE TABLE EXISTS)


    Please tell me what is wrong in the above scenario? I use wrong queries?


    Thanks in advance

    You cannot recover a Tablespace (or Datafile) to a point in time that is not consistent with the rest of the database, unless you use an auxiliary Instance. TSPITR (TablespacePointInTimeRecovery) uses an Auxiilary Instance where SYSTEM, UNDO and the required storage space are recovered to the point passed in time without affecting the current instance of the current database. The tablespace can then transported the auxiliary to the active database instance - you can have RMAN automatically do this but, personally, I would manually.

    Hemant K Collette

  • Oracle - Incomplete recovery

    Dear,

    Database running in a - mode Archive

    I have a table that contains 2 million records at the time (07:00) and the inserted rows of 1 million Swiss francs to (07:02) and committed my only.
    Now, I took a backup hot all the time base (07:02).
    and by 07:05 I have deleted 1 record million and pledged my transaction.

    Now I need my all 3 million rear lines, then thought to perform a
    time based incomplete recovery.

    Here are the steps I've done...

    (1) I stop the database.
    (2) copied all the hot of all data files backup and restored to its original location.
    (3) has started the instance and mounted.
    3) issued the command of recovery
    > recover database until time '2010-08-27 07:02.

    Now I get the below error.

    ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error
    ORA-01195: online backup of file 1 needs a recovery more match
    ORA-01110: data file 1: ' D:\ORACLE\PRODUCT\10.2.0\ORADATA\FIRSTDB\SYSTEM01. DBF'

    What is the missing step here / what am doing wrong here?

    is not that if data that are needed to make the comparable database is in the log file during recovery and not not been archived?

    Yes. When you are prompted for the ArchiveLog, provide the name of the Redo Log file.

    Note that an incomplete recovery requires an OPEN RESETLOGS and your online redo logs will be overwritten. So, once you issue an OPEN RESETLOGS, you you not a second chance to RECOVER the database. So, I recommend that you stop the instance and take cold backups online Redo Logs.

    Hemant K Collette

    Published by: Hemant K grapple on August 27, 2010 11:45

Maybe you are looking for

  • Skype messages are not fall properly

    I have had this problem since I decided to update my Skype yesterday with a bunch of my friends. I am extremely frustrated since I've tried everything, even raising the solution online and can't find literally any form of solution to the problem. My

  • Windows XP SP3 causes reset on startup.

    Windows XP SP3 causes reset on startup. Recently had a system and recovery works on SP2, but when I have to this day to SP3 system resets. It will boot in SafeMode ok. I did a F8, disabled reset at startup and got the following error message on BSOD

  • Failed to download important updates for Windows Vista.

    I tried several times to download 6 important updates to my computer through Windows Update. I get messages saying that it was successful. Even after restarting my computer, I always shows that I have 6 important updates that must be installed. Pleas

  • 3.5 mm microphone does not record, VIsta 64

    I'm having a problem getting my new 3.5 mm microphone to work properly. The microphone is plugged in correctly in either taking rose in the back or the front of the case, but no sound is recorded. I checked the menu sounds through "Manage Audio devic

  • How to go from VSM at the new location?

    I have the VSM Dell done VMware rehearsals once a day between the two environments of vCenter. Now that seeding is finished, I need to move my DR SAN and server vCenter on toward the new location, which of course has a different network address. I kn