Question on create Redo log after restoring files and recover

Log files to rebuild RMAN backup? Below the blog describes the steps to restore and recover a RMAN backup in a new host.
http://blog.CSDN.NET/sweethouse1128/article/details/6948273


RMAN seems to have backed up and restored the redo log files


After the resumption, blogger issues
select * from v$logfile;
and the result obtained some log files. The rows returned are restored files redo log. right? Redo of RMAN backup and restore log files?

Redo of RMAN backup and restore log files?

N ° never. Even when you do a 'coherent' backup (i.e. with the database MOUNT but the mode is not OPEN).

When you restore a full RMAN on a new server backup, RMAN restore REDO LOG files in the respective directories

Does not apply because RMAN does not save logs in restoration online.

Isn't better to manually create redo log files after restoration

When you perform incomplete recovery, you must issue an ALTER DATABASE OPEN RESETLOGS.
The RESETLOGS creates log files remake it, if they are not present OR reset them if they are present.
In a scenario of complete restoration, the online redo log files are already present on the drive (i.e. they are not lost or destroyed and they are not restored a backup).

Hemant K Collette

Tags: Database

Similar Questions

  • Create the REDO Logs after restoration of RMAN

    Version 11.2
    Platform: Solaris 10

    We restore the cold RMAN backup to a new server. It's a basic restore RMAN where DB name remains the same.

    I understand that RMAN backup online redo logs, and for good reason.

    We have restored our datafiles successfully. The control file still has the old entries so the query below shows old information about recovery logs

    -Display of the configuration of the log file the old control file data
    SYS > select * from v$logfile;         ------------> The below output shows the result of the source server
    
        GROUP# STATUS  TYPE    MEMBER                              IS_
    ---------- ------- ------- ----------------------------------- ---
             1         ONLINE  /DATAM/DB/oradata/slmps/redo1.log      NO
             2         ONLINE  /DATAM/DB/oradata/slmps/redo2.log      NO
             3         ONLINE  /DATAM/DB/oradata/slmps/redo3.log      NO
    I have to use ALTER DATABASE RENAME FILE command as below to update the control file.
    alter database rename file '/DATAM/DB/oradata/slmps/redo1.log' to '/data/oradata/slmps/slmps_log01.dbf' ;
    alter database rename file '/DATAM/DB/oradata/slmps/redo2.log' to '/data/oradata/slmps/slmps_log02.dbf' ;
    alter database rename file '/DATAM/DB/oradata/slmps/redo3.log' to '/data/oradata/slmps/slmps_log03.dbf' ;  
    Currently, in the new server, at the level of the BONE there is no physical file above to
    /data/oradata/slmps
    I need to create physically redo new logs using the command or the command ALTER DATABASE RENAME above key create a physical file at the level of the BONE?

    Salvation in spiral,

    Surely, RMAN will search for redo logs when RECOVER is issued.

    When you issue the command RECOVER after restore, RMAN does not check online redo logs. During RECOVERY, RMAN will try to apply the archivelogs or incremental L1 if it has been saved on the source server. RMAN Backup restorations online redo logs or never.

    Here OP tries to restore the backup from the cold to a new server. In this case the RECOVER command is not necessary. The example of the Oracle doc you mentioned should do a restore, recovery of a backup hot. In this case, during the RESTORATION, RMAN will try to apply archivelogs or L1 of the incremental backups.

    In both cases (cold backup restore or restore, recover from Hot Backup), it is the

    alter database open resetlogs
    

    command that will create the online redo log, so it is absent in the location specified by the control file. Because it is a restoration to a new server, recovery logs is missing because it has not been restored (because it has not been saved)

  • Path of redo logs after restoring controlfile

    Hello!

    After restoration of the controlfile I see distorted redo logs metadata (column v$ logfile.member):
    $OH/dbs/data/ora/MY_SID/rlog/redo1a.log
    in the redo logs placed in another directory, source database
    also I should drop logfile member and log file groups, and then create them again, but may be there other way to solve this problem?
    Please notify.
    I'm usung 11.2.0.3

    Thank you and best regards,
    Pavel

    As I said earlier, is that your database is working well? If so, then forget those files which are present in $OH/dbs/data/ora/file/rConnectez/MY_SID. Ok?

    Suppose now, the question is what are these files? Who created/copied?
    So the answer is if these files are used by your this database (MY_SID); that can be confirmed by query:
    Select Member from v$ logfile; then the redo logs are used by this database else chances are these files were the first part of this database, but not now due to may be a corruption that happened, so another / previous DBA has left.

    And if the database is not running, then what is the error you found it please post it here; otherwise leave these files such what.

    Concerning
    Girish Sharma

  • After backup files and restoring Windows XP, I can't open the files backed up.

    After backup files and restoring Windows XP, I can't open the files backed up. The files are password on a user account. I know the password. But the message received when you try to open them is: access is denied. Drag / drop the files in 'Shared files' result in the same message. I know that the files exist, because when I open backup and browse for them, they are displayed. Is there a method to open? I have Windows XP Media Center Edition, Version 2002, Service Pack 3 update. I tried to back up the files with backup of backup, but it does not work.

    Hi error,.

    I suggest you follow the article in the Microsoft Knowledge Base and check.

    How to capture a file or a folder in Windows XP

    http://support.Microsoft.com/kb/308421

    I hope this helps.

  • iPhone 5 s still says connect to itunes after restoration. And he repeats after a month

    iPhone 5 s still says connect to itunes after restoration. And he repeats after a month

    You have the latest version of iTunes?
    and why you restore your phone once a month? Are you making you do questions?

  • I can finf a log of deleted files and folder in Event Viewer

    can I finf a log of deleted files and folder in Event Viewer ARE ANY TOOL

    Hello rameshkumar_11240,

    Thanks for the reply.  For the question that you described above, please transfer this issue to the address provided below in Microsoft TechNet Forums.

    Microsoft TechNet forums

    http://social.technet.Microsoft.com/forums/en-us/itproxpsp/threads

  • I can't see all folders in library mode because my hard drive had to be replaced. How to restore files and photos?

    I can't see all folders in library mode because my hard drive had to be replaced. How to restore files and photos, so I can link to the catalog?

    The original drive I had was called E:... THAT IS, FILE NAMES ARE!

    If you would like to recommend that I go to each of these lines and redirect each of these folders, right?

    Yes, reconnect the top-level folder on drive E:, as shown in Figure 4 here: Adobe Lightroom - find folders and files moved or missing

  • I just wrote about firefox 3.6 with 5.0 for my mac OSX and discovered that my mac will not support it. Is there a way I can recover my lost files and recover the old version?

    I just wrote about firefox 3.6 with 5.0 for my mac OSX and discovered that my mac will not support it. Is there a way I can recover my lost files and recover the old version?

    You can download and install Firefox 3.6 http://www.mozilla.com/firefox/all-older.html

  • How to replace the members of the Group missing redo log after the failure of a support

    Hello

    I'm testing a disk failure scenario.  I had recovery multiplexes on three sites (Windows drive letters) logs; one of the three locations also contained the data files.  I deleted the Windows player that contained data files and saw a restoring with RMAN.   All is well except that redo log members who are found on the occult Windows disk are of course still missing; the database opens, etc., but puts messages like this in the ALERT.log:

    ORA-00321: log thread 2 1, cannot update log file header
    ORA-00312: wire 2 1 online journal: ' F:\APP\NGORA12CR2SRV\ORADATA\ORATEST5\ONLINELOG\O1_MF_2_BW4B5MY0_. JOURNAL"


    What is the 'right' way to replace missing limbs?  Just get all the new groups of newspapers with new members on all three discs?  Carefully copy the LOG files representing missing members of one of the other sites?  I add new members at this location and remove existing members (missing)?


    Is how important it?


    Thank you!


    Martin

    See 'Recover after losing a member of a group of Redo Logs online multiplexed'

    at http://docs.oracle.com/cd/E11882_01/backup.112/e10642/osadvsce.htm#sthref2205

    Hemant K Collette

  • How to create Redo Log as a good way to avoid the problem of performance

    Hi Experts,

    I work in the following environment.

    OS - Windows server 2012

    version - 11.2.0.1.0

    Server: production server

    1 to 10 of each month, we have huge process. Like many DML and ddl involve.

    I've implemented the RMAN also.

    My Alerts log entry is as below,

    Kills Sep 08 17:05:34 2015

    Thread 1 cannot allot of new newspapers, 88278 sequence

    Private stream flush is not complete

    Currently journal # 1, seq # 88277 mem # 0: D:\APP\ADMINISTRATOR\ORADATA\AWSPROCESS\REDO01. JOURNAL

    Thread 1 Advanced to record the sequence 88278 (switch LGWR)

    Currently Journal # 2 seq # 88278 mem # 0: D:\APP\ADMINISTRATOR\ORADATA\AWSPROCESS\REDO02. JOURNAL

    Kills Sep 08 17:05:38 2015

    Archived journal 81073 extra for each sequence 1 88277 0x38b3fdf6 dest ID thread entry 1:

    Kills Sep 08 17:05:52 2015

    Thread 1 cannot allot of new newspapers, sequence 88279

    Checkpoint is not complete

    Currently Journal # 2 seq # 88278 mem # 0: D:\APP\ADMINISTRATOR\ORADATA\AWSPROCESS\REDO02. JOURNAL

    Thread 1 Advanced to record the sequence 88279 (switch LGWR)

    Currently Journal # 3 seq # 88279 mem # 0: D:\APP\ADMINISTRATOR\ORADATA\AWSPROCESS\REDO03. JOURNAL

    Kills Sep 08 17:05:58 2015

    Archived journal 81074 extra for each sequence 1 88278 0x38b3fdf6 dest ID thread entry 1:

    Kills Sep 08 17:06:16 2015

    Thread 1 cannot allot of new newspapers, sequence 88280

    Checkpoint is not complete

    When I check in the internet I found a few points and need clarity also by the following.

    -It is recommended that this switch Redo log 5 times maximum per hour, but I have this time of maximum peak about 100 redo log changes occur.

    -It is recommended to have the large size of the Redo log. But I have 3 Group of redo and each size is 50 MB by default.

    -My group of Redo log not multiplexed and it by default with each group have only a single Member

    Group 1 - D:\APP\ADMINISTRATOR\ORADATA\AWSPROCESS\REDO01. JOURNAL

    Group 2 - D:\APP\ADMINISTRATOR\ORADATA\AWSPROCESS\REDO02. JOURNAL

    Group 3 - D:\APP\ADMINISTRATOR\ORADATA\AWSPROCESS\REDO03. JOURNAL

    And advised by experts with add that again group will give more performance in the other location. Is it mean that I need to add the Redo log as a different group, player or Redo Log itself I need to replace the other location.

    Say in the end, My Live server works with the location and size of restore default. I'm trying to create a better way and get all confused

    How to do it perfectly.

    Experts, please share your comments to my environment to log redo instance as better through your comment or recommended weblink based on my above needs, or a document.

    Thanks in advance, if you need more information to help me, then ask me, I'll share you.

    Hello

    You can't resize an existing redo log group.

    You will need to create 3 new redo log groups and drop old log redo (with 200 MB size) groups.

    Here you can find a good explanation: DBA for Oracle tips Archives

  • Increased repository DB redo logging after upgrade EM12cR2?

    Has anyone else noticed increased redo logging in their repository database after upgrade to EM12cR2?

    I'm running on Linux x 86-64 with a 11.2.0.3 repository database. Before the upgrade, I was running 12.1.0.1.0 with BP1, and my repository database produced, on average, about 80-120 MB of archived redo logs / hour. Since the upgrade to 12.1.0.2.0, my product repository database, on average, 450-500 MB of newspapers archived redo / hour.

    Reclassification of deployed agents of 12.1.0.1.0 to 12.1.0.2.0 has not seemed to help; I've updated about 10 of the 15 without any apparent loss of logging of redo.

    I was wondering if it's comparable to what others see, or if I have a local question I should study.

    The following fix has been released for this problem:

    Patch 14726136 - INCREASED REDO LOGGING ON REPOSITORY DB AFTER UPGRADING TO OEM 12.1.0.2

    Kind regards
    Vincent

  • A PL/SQL to add the archived redo log for logminer files - please help debug

    Hello

    I have a PL/SQL to add recovery logs a day archived files to logminer utility in order to catch all LMD, which happened for a paticular at a particular time scheme

    as below,

    -logmnr.sql

    Set serveroutput on

    declare

    v_redo_dictionary_file VARCHAR2 (100);
    v_archived_log_file VARCHAR2 (100);

    -catch all them archived redo logs today, put in a cursor

    CURSOR logfile_cur IS
    SELECT name from v$ archived_log WHERE the to_char (COMPLETION_TIME, 'dd_MM_yyyy') > '18_01_2010' and not in sequence # (select sequence # v$ archived_log WHERE DICTIONARY_BEGIN = 'YES' AND dictionary_end = 'YES');


    Start

    -Create the DICTIONARY file on the files of the SOURCE database redo

    sys. DBMS_LOGMNR_D.build (OPTIONS = > sys.) DBMS_LOGMNR_D.store_in_redo_logs);


    Select name from v_redo_dictionary_file from v$ archived_log where DICTIONARY_BEGIN = 'YES' AND dictionary_end = 'YES', and sequence # = (select MAX(sequence#) from v$ archived_log WHERE DICTIONARY_BEGIN = 'YES' AND dictionary_end = 'YES');

    -Add newspapers of dictionary files
    sys.dbms_logmnr.add_logfile (nom_fichier_journal = > v_redo_dictionary_file,)
    Options = > sys.dbms_logmnr.new);

    -Add the log files

    Open logfile_cur;

    LOOP

    SEEK logfile_cur INTO v_archived_log_file;
    EXIT WHEN logfile_cur % NOTFOUND;
    sys.dbms_logmnr.add_logfile (nom_fichier_journal = > v_archived_log_file);


    END LOOP;

    CLOSE Logfile_cur;

    -Start LogMiner, also enable the ddl

    sys.dbms_logmnr.START_LOGMNR (options = > dbms_logmnr.dict_from_redo_logs + dbms_logmnr.ddl_dict_tracking);

    EXCEPTION
    WHILE OTHERS
    THEN
    DBMS_OUTPUT. PUT_LINE (SQLERRM);

    END;
    /


    ###############
    SQL > @logmnr.sql
    ORA-01291: missing logfile

    PL/SQL procedure successfully completed.

    What I did wrong?

    Thank you very much
    Roy

    [Double wire | http://forums.oracle.com/forums/message.jspa?messageID=4035521#4035521]

  • After you restore files and system settings collected with FAST problem

    ON a windows XP Professional computer, I created a file and the backup of the system using FAST and when I try and restore, in my view, that the backup of files on an external drive, but a get an error message that I can't access these data.

    Hello

    Unfortunately, I wasn't able to find that everything about the software you mentioned in your post. I suggest you to contact the manufacturer of the backup program you use for assistance.

    I suggest you to return the items mentioned below.

    How to use the backup utility to back up files and folders in Windows XP Home Edition

    http://support.Microsoft.com/kb/308422

  • Organizing items - folders after restore tree loss / Lost files after restoring files tree

    Hello

    I just reinstalled Windows 7 and installed my software (especially "Adobe elements Organizer V12").

    I then did a restore of my catalog from external backup.

    This restoration is successful, but an owner problem.

    Indeed my photos are now each into separate folders and I don't have the original tree of my files.

    For example, I had before a "Birthdays" folder with subfolders "2013", etc. "2014".

    Now I have the folders '2013', '2014' but I have more Microsoft Group folder in the "Birthday" parent.

    In view of the number of relevant photos, I would like to find the LUN tree promotion documents.

    = > Issue my where: how?

    Thanks for your help

    alaincln57

    ____________________________________________________

    Hello

    I just reinstalled Windows 7 and installed my software ("Adobe elements Organizer V12" especially).

    Then I did a restore of my catalog from external backup.

    This restoration was well done, but the problem remains.

    Indeed, my photos are now each in separate files and I do not have the original tree of my files.

    For example, before I had a 'Birthday' folder with subfolders "2013", etc. "2014".

    Now I have '2013', '2014' files, but I don't have the combination to the "Birthday" parent folder.

    Given the number of relevant photos, I would find my folder tree.

    = > Where my question: how?

    Thank you for your help

    alaincln57

    Generally, if you are satisfied with the last conversion to version 12, it is not useful to keep the old formats. Especially if you do not continue to use the older versions 10. Anyway, you can't retro - convert from the 12 version to version 10, and it is very difficult to maintain synchronization between two versions of a catalog.

    Possible exceptions:

    -Some features have disappeared from recent versions, and you want to be able to use either the Publisher 10 or 12. You notice so the editor 10.

    -l' Organizer to undergone deep changes since version 10, especially on new tabs of categories: people, places and events. If like me you don't want to accept the new format, view catalogues version 10. You can avoid the automatic conversion of these categories.

    -version 13 Windows is 64-bit, and you can keep the previous catalogues pour not to lose some plug-ins and eventually be able to share catalogues version 12 or earlier on other computers

    -new slideshow editor has lost beaucoup features. Version of the 12 conservation and its catalogs can be a good solution.

    Pour the Photoshop file, no problem. You can rename it from the Organizer.

    The ProgramData file should be deleted, or at least renamed pour avoid ambiguity with the true on C:

  • Redo Logs after duplication 3 RAC node to node 2 RAC

    I use RMAN to clone my production database 10.2.0.4 (3 node RAC) in my test database (2 node RAC). When I finished, I find myself with the Redo Logs from the 3rd node RAC in a State of "weird." Newspapers of recovery for "thread 3", which does not exist, cause no problem, I want to clean them and reclaim the space.

    Ideas or suggestions?

    Thank you!

    Have you tried: -.

    ALTER DATABASE DISABLE THREAD 3.

Maybe you are looking for

  • 8.1 to Windows and HP update

    When did HP will fix the problem with windows 8.1 and 15 t-4000? I was running 8.1 win very well. Now, Windows update crashes saying: an essential element is not available. Windows 8.1 works fine on my Pavilion dv6-1350us aging. What gives? is the 32

  • Can I build a .exe of a LabVIEW VI of Mac?

    I have LabVIEW 2009 (full version) running on a macbook pro. Can I build the VI I in an .exe so I can run on a PC? Thank you Luke

  • Did a reset to a black screen and now have no sound

    Did a reset to fix a black screen and lost my sound. Is there any fix this problem free?

  • HP 7612: HP7612 Locked - how can I perform a full reset?

    Without apparent reason, one of our HP7612 has posted locked by Admin and most of the functions are now disabled and showing that the locked. How can I reset it to clear this locked status and return our config network completely?

  • Irregular cursor jumping problem

    My cursor jumps while I type. The problem is very irregular.  There will be approximately 5 - 10 times a minute when I'm on Word or writing emails.  This can last for a week, and then the problem will completely disappear for a week or even a month.