What is the purpose of waiting for redo log files

Hello

What is the purpose of the log files waiting for redo in the Dr?

What happens if the standby redo log files are created? or else is not created?

Please explain

Thank you

Re: what is the difference between onlinelog and standbylog

I mentioned the goal of the eve of the redo log in RD files in above thread.

Concerning
Girish Sharma

Tags: Database

Similar Questions

  • Waiting for redo log file missing when restore main database using RMAN backup that was taken on the database physical standby

    Here's my question after tons of research and test without have the right solutions.

    Target:

    (1) I have a 12.1.0.2 database unique main enterprise 'testdb' as database instance running on the server "node1".

    (2) I created physical standby database "stbydb" on the server "node2".

    (3) DataGuard running on the mode of MaxAvailability (SYNC) with roll forward in real time 12 default c apply.

    (4) primary database has 3 groups of one-man redo. (/oraredo/testdb/redo01.log redo02.log redo03.log)

    (5) I've created 4 standby redo logfiles (/oraredo/testdb/stby01.log stby02.log stby03.log stby04.log)

    (6) I do RMAN backup (database and archivelog) on the site of relief only.

    (7) I want to use this backup for full restore of the database on the primary database.

    He is a DR test to simulate the scenario that has lost every primary & Eve total servers.

    Here is how to save, on the database pending:

    (1) performance 'alter database recover managed standby database Cancel' to ensure that compatible data files

    (2) RMAN > backup database;

    (3) RMAN > backup archivelog all;

    I got elements of backup and copied to primary db Server something like:

    /Home/Oracle/backupset/o1_mf_nnndf_TAG20151002T133329_c0xq099p_.BKP (data files)

    /Home/Oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.BKP (spfile & controlfile)

    /Home/Oracle/backupset/o1_mf_annnn_TAG20151002T133357_c0xq15xf_.BKP (archivelogs)

    So here's how to restore, on the main site:

    I clean all the files (data files, controlfiles oder all gone).

    (1) restore spfile from pfile

    RMAN > startup nomount

    RMAN > restore spfile from pfile ' / home/oracle/pfile.txt' to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    (2) modify pfile to convert to db primary content. pFile shows below

    *.audit_file_dest='/opt/Oracle/DB/admin/testdb/adump '

    * .audit_trail = "db".

    * full = '12.1.0.2.0'

    *.control_files='/oradata/testdb/control01.ctl','/orafra/testdb/control02.ctl'

    * .db_block_size = 8192

    * .db_domain = "

    *.db_file_name_convert='/testdb/','/testdb /'

    * .db_name = "testdb".

    * .db_recovery_file_dest ='/ orafra'

    * .db_recovery_file_dest_size = 10737418240

    * .db_unique_name = "testdb".

    *.diagnostic_dest='/opt/Oracle/DB '

    * .fal_server = "stbydb".

    * .log_archive_config = 'dg_config = (testdb, stbydb)'

    * .log_archive_dest_2 = "service = stbydb SYNC valid_for = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = stbydb'"

    * .log_archive_dest_state_2 = 'ENABLE '.

    *.log_file_name_convert='/testdb/','/testdb /'

    * .memory_target = 1800 m

    * .open_cursors = 300

    * runoff = 300

    * .remote_login_passwordfile = "EXCLUSIVE."

    * .standby_file_management = "AUTO".

    * .undo_tablespace = "UNDOTBS1.

    (3) restart db with updated file pfile

    SQLPLUS > create spfile from pfile='/home/oracle/pfile.txt'

    SQLPLUS > the judgment

    SQLPLUS > startup nomount

    (4) restore controlfile

    RMAN > restore primary controlfile to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    RMAN > change the editing of the database

    (5) all elements of backup catalog

    RMAN > catalog starts by ' / home/oracle/backupset / '.

    (6) restore and recover the database

    RMAN > restore database;

    RMAN > recover database until the SNA XXXXXX; (this YVERT is the maximum in archivelog backups that extends beyond the scn of the backup of the data file)

    (7) open resetlogs

    RMAN > alter database open resetlogs;

    Everything seems perfect, except one of the file log roll forward pending is not generated

    SQL > select * from v$ standby_log;

    ERROR:

    ORA-00308: cannot open archived log ' / oraredo/testdb/stby01.log'

    ORA-27037: unable to get file status

    Linux-x86_64 error: 2: no such file or directory

    Additional information: 3

    no selected line

    I intended to use the same backup to restore primary basic & helps record traffic and the downtime between them in the world of real output.

    So I have exactly the same steps (except STANDBY restore CONTROLFILE and not recover after database restore) to restore the database pending.

    And I got the same missing log file.

    The problem is:

    (1) complete alert.log filled with this error, not the concern here

    (2) now repeat it in real time apply won't work since the Party shall LGWR shows always "WAITING_FOR_LOG."

    (3) I can't delete and re-create this log file

    Then I tried several and found:

    The missing standby logfile was still 'ACTIVE' at present RMAN backup was made.

    For example, on db standby, under Group #4 (stby01.log) would be lost after the restoration.

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

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

    4 19 ACTIVE 133632

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    So until I take the backup, I tried on the primary database:

    SQL > alter system set log_archive_dest_state_2 = delay;

    This was the Group of standby_log side Eve #4 was released:

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

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

    4 0 0 UNASSIGNED

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    Then, the backup has been restored correctly without missing standby logfile.

    However, to change this primary database means break DataGuard protection when you perform the backup. It's not accept on the production environment.

    Finally, my real questions come:

    (1) what I do may not do on parameter change?

    (2) I know I can re-create the control file to redo before delete and then recreate after. Is there any simple/fast to avoid the standby logfile lost or recreate the lost one?

    I understand that there are a number of ways to circumvent this. Something to keep a copy of the log file waiting restoration progress and copy up one missing, etc, etc...

    And yes I always have done no real-time applies "to the aid of archived logfile" but is also not accept mode of protection of production.

    I just want proof that the design (which is displayed in a few oracle doc Doc ID 602299.1 is one of those) that backs up data backup works effectively and can be used to restore the two site. And it may be without spending more time to resume backups or put the load on the primary database to create the database before.

    Your idea is very much appreciated.

    Thank you!

    Hello

    1--> when I take via RMAN backup, RMAN does not redo log (ORL or SRL) file, so we cannot expect ORLs or SRL would be restored.

    2nd--> when we opened the ORL database should be deleted and created

    3rd--> Expecting, SRL should not be an issue.we should be able to do away with the fall.

    DR sys@cdb01 SQL > select THREAD #, SEQUENCE #, GROUP #, STATUS from v$ standby_log;

    THREAD # SEQUENCE # GROUP # STATUS

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

    1 233 4 ACTIVE

    1 238 5 ACTIVE

    DR sys@cdb01 SQL > select * from v$ logfile;

    GROUP # STATUS TYPE MEMBER IS_ CON_ID

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

    3 /u03/cdb01/cdb01/redo03.log no. 0 online

    /U03/cdb01/cdb01/redo02.log no. 0 2 online

    1 /u03/cdb01/cdb01/redo01.log no. 0 online

    4 /u03/cdb01/cdb01/stdredo01.log WATCH No. 0

    /U03/cdb01/cdb01/stdredo02.log EVE 5 No. 0

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    method: cannot access the /u03/cdb01/cdb01/stdredo01.log: no such file or directory

    DR sys@cdb01 SQL >! ls - ltr /u03/cdb01/cdb01/stdredo02.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:32 /u03/cdb01/cdb01/stdredo02.log

    DR sys@cdb01 SQL > alter database force claire logfile 4;

    change the database group claire logfile 4

    *

    ERROR on line 1:

    ORA-01156: recovery or current flashback may need access to files

    DR sys@cdb01 SQL > alter database recover managed standby database cancel;

    Database altered.

    DR sys@cdb01 SQL > change the database group claire logfile 4;

    Database altered.

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:33 /u03/cdb01/cdb01/stdredo01.log

    DR sys@cdb01 SQL >

    If you do, you can recreate the controlfile without waiting for redo log entry...

    If you still think it's something is not acceptable, you must have SR with support to analyze why he does not abandon SRL when controlfile_type is "underway".

    Thank you

  • I have to create the new group for waiting for redo log files?

    I have 10 group of files redo log with 2 members of each group for my primary database, I need to create new group for redo log files for the database of relief pending

    Group # members

    ==============

    1              2

    2              2

    3             2

    4             2

    5             2

    6             2

    7             2

    8             2

    9             2

    2 of 10

    If so, the following statement is correct? or nto

    ALTER DATABASE ADD STANDBY LOGFILE GROUP 1 ('D:\Databases\epprod\StandbyRedoLog\REDO01.) LOG',D:\Databases\epprod\StandbyRedoLog\REDO01_1.log');

    Please correct me if am doin wrong

    because when I run the statement I have error message saying: the group is already created.

    Thanks John

    I just found the answer

    Yes, it of recomeded to add the new group, for instnace if I have 10 group of 1 to 10, then the wait should be from 11 to 20

    Thanks I found the answer.

  • waiting for redo log deleted

    Oracle 11 g 2 (11.2.0.3) Linux x86_64

    A silly mistake was made. While recreate redo standby logfiles, I managed to remove (rm command) waiting for redo log file in progress (before the end of the application) of the BONE. Now I see in the log of alerts:

    ORA-00313: open failed for members of log group 7 of thread 1
    ORA-00312: online log 7 thread 1: ..../standby_redo7.log'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    

    What are my options at this point? I have to any cancelled transaction? The settlement seems to be moving right on the property. Where am I people?

    Thanks to you all.

    Hello

    1 ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;

    2. ALTER LOGFILE GROUP 7 CLEAR DATABASE;

    3 ALTER DATABASE DROP STANDBY LOGFILE GROUP 7;

    4. ALTER DATABASE ADD STANDBY LOGFILE GROUP 7;  OR ALTER DATABASE ADD LOGFILE MEMBER '' HELPS GROUP 7;

    5. START AGAIN APPLY: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CURRENT LOGFILE USING DISCONNECT FROM THE SESSION;

    HTH

    Tobi

  • Waiting for redo log

    Hello
    in 10g R2 what are / can be the causes of waiting for redo log?

    Thank you.

    example of waiting for recovery logs causes may be:
    -does not redo groups (remember to add one more, if necessary)
    -low rate of I/O
    -Redo large log buffer (take a long time for the dump file data) - refers to the slow storage
    -application hurt writes, making many validations

    Run the Advisor of the ADDM, and see the recommendations. Look at the first 5 albums events. Maybe it's not relevant to DBTime?

  • WAITING FOR REDO DICTIONARY: FILE

    Hi all

    I'm WAITING for REMAKING DICTIONARY: NAME of FILE status

    SELECT STATUS FROM V$ STREAMS_CAPTURE;

    I tried to solve it and found that some redo log file is missing.
    Can you get it someone please let me know what could be the cause of the lack of redo log file?
    If the cause for this is that some redo log file is not saved, then how would I record?
    I have already questioned the views of data dictionary DBA_REGISTERED_ARCHIVED_LOG and DBA_CAPTURE and I have a few lines.

    Thank you all.

    Concerning
    Nick

    It must be reflected in the alerts log.

    You can use the following question as well:

    SQL > select name from v$ archived_log where between first_change # and next_change #;

  • What is the purpose for the activation and the deactivation of the modules? (Symantec Corp.Norton 360: "Symantec Intrusion Prevention add-on")

    What is the purpose for the activation or deactivation of the modules? Initially, Symantec Intrusion Prevention module is disabled, I should allow it, and how might it affect my computer?

    Not a Windows issue. Best thing is to visit the Norton FAQ or read the help files.

  • What is the purpose of the "this is awkward window?

    What is the purpose of the "embarrassing window" at startup. Why can not simply open the page in the homepage as in the past? Thank you.

    If you have submitted reports of incidents, so thanks for posting the ID of one or more reports of recent incidents that have a prefix 'bp ':

    • BP-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

    You can find the ID of the submitted crash reports on the Subject: hangs page.

    • You can open the Subject: hangs page through the address bar, you open a Web site, or open this page through the "help > troubleshooting information.

    See:

  • What is the purpose of the feature 'Love' in music?

    In order to better manage my large collection of music, I decided to use the "beloved".  I began to select the pieces to follow using the feature, but after they are played on my iPhone6 or Nano the designation 'Likes' disappears and I'm left with nothing.  Why is this happening? What is the purpose of this feature?

    It is intended for future fuel recommendations and has nothing to do with the organization or management of a collection. For this you should use playlists or music categories in MY music (Albums, artist, etc.).

  • What is the purpose of VTEncoderXPCService and why should I use so much CPU?

    As you can see in the image as an attachment, it consumes about 300% of the power of my CPU:

    This causes in turn my MacBook Pro CPU to heat and speed up the rotation of the fan.

    What is the purpose of this process? Why is it so CPU intensive even if the Photos app is sitting idle in the background?

    Thank you.

    Why is it so CPU intensive even if the Photos app is sitting idle in the background?

    As you probably know, the conditioned XPCservices which can access the sandbox of a request and securely communicate with him. When you import new media or migrate a photo library, it will create thumbnails and previews of media in the library.  'S done it by background processes began to take photos. These will be run and is same photo is apparently inactive. After the importation of the new media, it is best to keep the pictures running overnight to get background processing as long as you don't need a mac for other tasks.

    VTEncoderXPCService and VTDeoderXPCService convert your videos. If one of them is hogging all processing power, this may mean that you have a lot of videos in your library requiring a conversion or one of your videos is damaged or uses a codec that cannot be treated by pictures. Have you recently to import new videos or migrate a library with videos?

    If a video cannot be treated, remove it from your photo library.  To find the culprit, try to read your videos into pictures.

  • HP LJ MFP 200 COLOR: What is the purpose of platelets?

    What is the purpose of platelets?

    Hello

    HP pads is a method to print regular content through print, the option last impression on your control panel printer and the HP website connected. HP pads provided content from sources like Disney, Universal Crossword, TimesDigest every day, NBC News, ForbesDaily, 7 days Menu Planner, Crayola, allrecipes.com, ORIGAMI, and Dreamworks.

    Please be aware that HP pads and sheets printable HP mobile app his retirement October 31, 2016. The time of retirement is June 2016 through October 31, 2016.

    For more information, click here.

  • What is the purpose of the web platform installer?

    I just installed the installer of the sea platform.  What is the purpose of this program?  Should I install any proposed programs?

    HI KayCott,

    Thanks for posting your question in the Microsoft answers Forum.  Please see article with more information:

    http://www.Microsoft.com/Web/downloads/platform.aspx

    For questions about Microsoft Web Platform install, please visit the following link:

    http://forums.IIS.NET/1155.aspx

  • Windows XP Pro. Svchost use 100% system resources when starting. What is the purpose of svch.exe?

    Windows XP Pro. Svchost use 100% system resources when starting. What is the purpose of svch.exe? RWM

    Hi r_miller,
     
    Follow the suggestion given in this article to resolve this problem:
  • What is the purpose of the findstr command when the logfile to find?

    What is the purpose of the findstr command when the logfile to find?

    Hello

    Findstr is 'find the string '.

    Findstr
    http://TechNet.Microsoft.com/en-us/library/cc732459 (v = ws.10) .aspx

    How to use findstr to create a the CBS.log sfcdetails.txt.

    Start - type in the search box-> find CMD in top - click right on - RUN AS ADMIN

    put the command from below (copy and paste) in this box and her and then press ENTER.

    findstr/c: "[SR]" %windir%\logs\cbs\cbs.log > sfcdetails.txt

    who creates the sfcdetails.txt file in the folder that you are in when you run it.

    So if you're in C:\Windows\System32 > then you will need to look in that folder for the file.

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    in Windows Vista
    http://support.Microsoft.com/kb/928228

    Creating sfcdetails.txt in C:\Windows\System32

    You can read the newspaper/txt files easier if you right click on Notepad or Wordpad then RUN AS ADMIN - then
    You can navigate to sfcdetails.txt (in C:\Windows\System32) or cbs.log (in C:\Windows\Logs) as needed.
    (You may need to search sfcdetails.txt if it is not created in the default folders.)

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • What is the purpose of the ame.exe file

    What is the purpose of the ame.exe file.  It has been on my computer by a technician who claimed to be from microsoft

    As Gina, says "This allowed?

    Given that no one I know (and certainly not me) remembers the product key 25 character Microsoft for the Windows installation, I suspect that you were told by the appellant to seek a place of your "license".  Where were who told you to watch?

    Without revealing your current number, the "license" in question looks like a, B, C, D or something else?

    Xxxxx-xxxxx-xxxxx-xxxxx-xxxxx.

    B. xxxxx-xxx-xxxxxxx-xxxxx

    Xxx.xxx.x.x c.

    D. xx-xx-xx-xx-xx-xx

    Still, at least to download the file ame.exe on Virus Total and see what they have to say about it.

Maybe you are looking for

  • SMS receipts

    Anyone else have problems with text messages on their step NDRs? It works very well with MMS messages, but when I put delivery reports on SMS messages, nothing happens, I have no reports. I did several tests, but nothing is received.

  • Atheors 5005 Wlan card cannot connect to WPA encrypted AP

    I'm posting this new thread too thought... I'm unable to connect to a wpa encrypted using my satellite pro L20 girlfriends access point / WinxpWindows XP will allow me only to choose either 'disabled' or 'WEP' in the tab 'association' of the section

  • Ideapad Windows 10 question sleep Yoga 13

    Hey community,. I have recently upgraded to Windows 10 and so far no big deal don't except this one: Where two users are connected at the same time, and one of them closes the lid to enter standby mode, Yoga restarts instead of go to sleep. This happ

  • Are their plans to synchronize with ubuntu desktop?

    Are their plans to synchronize with ubuntu desktop?

  • My photos have a pink/red tint to them in the print pictures window

    The color of my photos in the window "Print photos" is NOT the same, as they appear in the screen of Windows Live Photo Gallery change. They have a pink/red tint to them in the print pictures window. How can I fix it? He always did, I don't know how