Preferred method for shipping redo logs in the standby mode: archive or LGWR

DB version: 11.2
OPERATING SYSTEM: AIX


Which is the preferred method for shipping again connects standby: archive or LGWR?

Citizen_2 wrote:
DB version: 11.2
OPERATING SYSTEM: AIX

Which is the preferred method for shipping again connects standby: archive or LGWR?

LGWR is recommended where repeat applies will be interms of roll forward. If in the case of all redo currently lost, you have very less time loss of data. Real-time here APPLY.
In the case of ARCH, transferred with regard to Archives and applied.

See the http://docs.oracle.com/cd/B19306_01/server.102/b14239/log_transport.htm documentation
Thank you.

Tags: Database

Similar Questions

  • Clearing Online redo logs on the physical standby of the target

    Hello

    Version 11202.

    Primer on computer a.
    Watch on computer b.

    Later note: 11.2 Data Guard physical standby failover best practices using SQL * Plus [1304939.1 ID].
     
    Online redo logs on the target physical standby need to be cleared before that standby database can become a primary database. 
    And later:
     
    On the target physical standby run the following query to determine if the online redo logs have not been cleared... 
    (1) I did not understand where I have to run the query. On computer A, computer B or?
    2)
     
             Online redo logs on the target physical standby need to be CLEARED 
            
    Which means that it must be DELETED? Does transaction could be lost by running the command of compensation?

    Thank you

    Hello again;

    I would NOT use a script. The reason is that you are not sure what "switchover_status" will be returned by the database of v$.

    Oracle a broker data available for a quick pass, but I'm from the old school and I want to see how thing works in SQL for awhile first.

    Best regards

    mseberg

  • Cannot archive archive a redo log because the output device is full

    Dear Experts,

    When I'm connected to the MA of my DB 11 g R2. I found the following:

    - State of the database Instance : down
    - Details
    The instance has been terminated by a database due to a deadly internal disease process, or a critical background process was killed by the user.
    Archive is unable to archive a redo log because the output device is full or inaccessible.
    - Connection of the agent to the Instance
    Status: Failed
    Details: ORA-01034: ORACLE not available

    Thank you in advance for any help you provide

    Best regards

    you do not have enough space on your disk,

    You must remove all archivelog/backup obsolete/expired:
    . make a cross-checking first:
    RMAN > obsolete report.
    RMAN > remove obsolete;
    RMAN > list expired backup;
    RMAN > list expired archivelog all;
    RMAN > delete expired backup;
    RMAN > delete all. expired archivelog
    or
    increase the space in your disk.

    To know how many days/backups are in you, the RETENTION POLICY, checking:
    RMAN > show all.

    You can change with the least number of days for example.

    HTH

  • Many redo logs switches the line seconds on an irregular basis

    Hello

    We are 11 GR 2 RAC. We migrated a DB 10 g that used to pass on every 20-25 minutes all the

    While doing about 160 to 200 GB per day; I noticed this newly migrated DB now show

    pics of quick saves switches from time to time, for example yesterday (excerpt):

    SQL > select thread #, FIRST_TIME from v$ log_history by 2;

    ...

    1 20140524 10:19.36
    1 20140524 11:24.34
    2 20140524 11:24.35
    2 20140524 12:00.02
    1 20140524 12:00.03
    1 20140524 12:00.05
    2 20140524 12:00.08
    1 20140524 12:00.14
    1 20140524 13:06.19
    2 20140524 13:09.44
    2 20140524 14:15.46
    1 20140524 15:00.08
    2 20140524 15:00.50
    2 20140524 15:53.56
    2 20140524 16:45.37
    1 20140524 16:45.39
    2 20140524 17:43.26

    Ignore lines because of lunch at this time that I start a backup of archive logs, but to explain

    switches 11:24.34 et.35 for example, or 15:00.08 et.50, then at 16:45, where

    Do you think I should study? I have no reason why in these moments my DB suddenly

    give 3 GB of Oder, before you wait another hour to do this (e.g. between 16:45 and 17:43)...

    Everything about the fact that we are on CARS now?

    Thank you very much.

    Kind regards

    SEB

    Nothing to worry about.

    Each node in a RAC has it of own redo logs and performs his own logswitches.

    If you look for each thread (1 and 2 that correspond to the node) itself, everything is ok.

  • Standby Redo logs and the Directory Structure in the Backup Site

    Hi guru

    I just want to confirm, I know that if the directory structure is different, I need to talk about these 2 settings in the file pfile

    on the main site:

    DB_CONVERT_DATAFILE = 'sleep', 'primary '.

    LOG_CONVERT_DATAFILE = 'sleep', 'primary '.

    On the secondary Site:

    DB_CONVERT_DATAFILE = 'primary', 'sleep '.

    LOG_CONVERT_DATAFILE = 'primary', 'sleep '.

    But I want to confirm this weather I have to deliver the full path of the directory in the two paramtere above:

    as:

    DB_CONVERT_DATAFILE = ' / u01/oracle/app/oracle/oradata/sleep ', ' / u01/oracle/app/oracle/oradata/primary.

    LOG_CONVERT_DATAFILE = ' / u01/oracle/app/oracle/oradata/sleep ', ' / u01/oracle/app/oracle/oradata/primary.

    Second Confusion: -.

    After that transfer standby Redo logs creates primary and made to sleep on the foregoing, mentioned the directory structure and after restoring the alongwith primary db backup, that ensures the control file will not affect the journal of physics again placed watch on the above mentioned location.

    Thanks in advance for your help

    vk82 wrote:

    In fact, I create the day before by using the RMAN Duplicate command. but where I am confused is the point if I transfer the backup that i taken the pri on the C:\backup_files path. and after that, I transfer the backups to the waiting on C:\backup_files. After that when I restore it will create datafile and other stuff in another directory I mentioned using DB_FILE_NAME_CONVERT as LOG_FILE_NAME_CONVERT. I think Yes but need your advice during the same period.

    Hello

    Yes, files should be created under the directory mentioned in the path of the parameters 'db_file_name_convert' and 'log_file_name_convert.

    Kind regards
    Shivananda

  • Can redundancy of the OCR - we have OCR mirror with Redo logs in the diskgroup REDO01?

    Hello

    I have 2 node Oracle 11 GR 2 (11.2.0.3) RAC on AIX 6.1. Currently there is only an OCR and a VD residing in OCRVD diskgroup what redundancy as external.

    # File group universal name Id disk STATE file
    -- ----- ----------------- --------- ---------
    1. online a27d6a5df2db4f31bf0c9c9d31870b1f (/ dev/rhdisk11) [OCRVD]
    Located at 1 vote (s) disk.


    $ ocrcheck
    Status of the Oracle Cluster registry is:
    Version: 3
    Total space (in kilobytes): 262120
    Space (in kilobytes) used: 3152
    Amount of available space (KB): 258968
    ID: 899322289
    File name of device /: + OCRVD
    Verifying the integrity of file/device succeeded

    File/device not configured

    File/device not configured

    File/device not configured

    File/device not configured

    Checking cluster registry integrity succeeded

    Logical corruption control bypassed due to the non-privilegie user

    OCRVD Diskgroup is created using 5-disc size 1 G with RAID 1.

    1. is it possible that I have OCR and VD multiplex in the same diskgroup?
    2. If it is not possible, then I would add OCR and VD in other starts (Eg: REDO01 and REDO02 - so much for Redo logs)?

    Published by: Azam on 20 may 2013 14:46

    Azam says:
    Hello

    I have 2 node Oracle 11 GR 2 (11.2.0.3) RAC on AIX 6.1. Currently there is only an OCR and a VD residing in OCRVD diskgroup what redundancy as external.

    # File group universal name Id disk STATE file
    -- ----- ----------------- --------- ---------
    1. online a27d6a5df2db4f31bf0c9c9d31870b1f (/ dev/rhdisk11) [OCRVD]
    Located at 1 vote (s) disk.

    $ ocrcheck
    Status of the Oracle Cluster registry is:
    Version: 3
    Total space (in kilobytes): 262120
    Space (in kilobytes) used: 3152
    Amount of available space (KB): 258968
    ID: 899322289
    File name of device /: + OCRVD
    Verifying the integrity of file/device succeeded

    File/device not configured

    File/device not configured

    File/device not configured

    File/device not configured

    Checking cluster registry integrity succeeded

    Logical corruption control bypassed due to the non-privilegie user

    OCRVD Diskgroup is created using 5-disc size 1 G with RAID 1.

    1. is it possible that I have OCR and VD multiplex in the same diskgroup?

    No, this isn't posible

    2. If it is not possible, then I would add OCR and VD in other starts (Eg: REDO01 and REDO02 - so much for Redo logs)?

    Yes you can add other starts. As root, run the following command to add a location of OCR or Oracle ASM

    ocrconfig -add +REDO01
    ocrconfig -add +REDO02
    

    As you know on level between discs ASM ASM mirroring that is contains ASM DISKGROUP.

    Concerning
    Mr. Mahir Quluzade

  • datafiles and redo logs on the same drive

    Hi guys,.

    http://docs.Oracle.com/CD/E11882_01/server.112/e25494/onlineredo002.htm#i1306224

    >

    Data files should also be placed on different disks of redo log files to reduce contention in writing of the data blocks and redo records.
    >

    I really think if he actually any challenge when the first of all oracle can only writes files 1 redo log at a time.
    http://docs.Oracle.com/CD/E11882_01/server.112/e25494/onlineredo001.htm
    >
    Database only Oracle uses redo log files at the same time to store redo records written since the restore log buffer by progression. Log roll forward LGWR is preparing actively to is called the log during recovery.
    >

    If the process flow, I got after reading the chapters is

    When LGWR fills a log file of redo (roll forward records) then there will be a log switch + control points where writing for data blocks occur. There seems to be a flow series rather than a simultaneous sort of flow. So I don't really understand it when he speaks of contention will take place when records of data and files written redo which is the redo log file are on the same disks.

    Just to confirm with you guys, whenever there is a switch of newspaper one point of control occurs too right.
    http://docs.Oracle.com/CD/E11882_01/server.112/e25494/onlineredo002.htm? You can search checkpoint to access the section she made mention of this documentation.

    Think about this:

    Restore means to keep the information around in case you need to re-do (recovery or standby mode, i.e. the continuous collection). Updates as you do in a broad sense will be so potentially being twice, once for the data files and once to do it again. I'm sure you understand that the data is written in memory, and then later to the data by the writer of the db files, while there could be many more group of writing data, or they may even be long delayed. In addition, the data files are read at random, so you can't really think again in series compared to the data. Do it again is series, archiving is set, but the data is random, and random how depends on how your system is used.

    So that means all the type of reads and writes per redo and archive is fundamentally different from data and cancel. In the first case, you want to be able to breath out as I/O that you can, for the latter, you want to be able to randomly reading or writing at different times, with Oracle being smart enough to do a bit of it in memory and optimistic enough to make assumptions on when to do things and quite lazy for not doing everything right. Roll forward is critical.

    A while ago, someone pointed out that the e/s modern buffered in memory, do not really worry about this, because all the work required to set up and maintain it after spending records, fees are not much better than striping and mirroring everything (you can google SAMI). This is true to a point, and we can debate endlessly about RAID types and their effects on performance and how their buffering makes [url http://www.baarf.com/] useless BAARF. But the real debate is, where is the point that you should use separate to redo and data devices? In the real world, we often receive a standard hardware configuration, which works very well until it's not. A disk or controller will puff in a RAID-5 can happen "is not" real quick.

    You should probably take two thoughts:

    The docs are pretty General, and some old tips do not apply, may have transformed into myth or perhaps too general to be meaningful.

    There is always something in the db, and the more things underway, less you can make generalizations about the serialization.

  • 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

  • Is it possible for a Cascade application change the Notification Mode to vibrate at normal

    I am interested in creating a timer application that returns my phone in 'Vibrate only' notification 'Normal' after a period of time defined.  I knshow you need to set permissions, but I didn't know anything like that to give permission to do so.  I have a Z10 with 10.2.1 on it.

    Is this possible or not BB 10.2.1 avoid this?   It would be nice to be able to do.

    A snippet of code showing how to set up permissions for this would be useful.

    You can change the Notification Mode since 10.2, here's what you need to do.

    Add this line to the bottom of the file bar - descriptor.xml, under the tab "source":

    access_notify_settings_control
    

    Add this line to your .pro file:

    LIBS += -lbbplatform
    

    Add this to your file:

    #include 
    
    public: Q_INVOKABLE void switchMode();private:
        bb::platform::NotificationGlobalSettings* notificationGlobalSettings;
    

    Add this to your .cpp file:

    void YourClass::switchMode()
    {
        if (notificationGlobalSettings->mode() == bb::platform::NotificationMode::Normal) {
            notificationGlobalSettings->setMode(bb::platform::NotificationMode::Vibrate);
            break;
        } else if (notificationGlobalSettings->mode() == bb::platform::NotificationMode::Vibrate) {
            notificationGlobalSettings->setMode(bb::platform::NotificationMode::Normal);
            break;
        }
    }
    

    Simply call switchMode() function in c ++ or QML to switch between the Normal and the vibrator. Note that this code will do nothing if the mode is set to anything else than Normal or vibrate. If you prefer to scroll through all the available Notification mode, use this function:

    void YourClass::switchMode()
    {
        switch (notificationGlobalSettings->mode()) {
            case bb::platform::NotificationMode::Normal : {
                notificationGlobalSettings->setMode(bb::platform::NotificationMode::PhoneOnly);
                break;
            }
            case bb::platform::NotificationMode::PhoneOnly : {
                notificationGlobalSettings->setMode(bb::platform::NotificationMode::Vibrate);
                break;
            }
            case bb::platform::NotificationMode::Vibrate : {
                notificationGlobalSettings->setMode(bb::platform::NotificationMode::Silent);
                break;
            }
            case bb::platform::NotificationMode::Silent : {
                notificationGlobalSettings->setMode(bb::platform::NotificationMode::AlertsOff);
                break;
            }
            case bb::platform::NotificationMode::AlertsOff : {
                notificationGlobalSettings->setMode(bb::platform::NotificationMode::Normal);
                break;
            }
            default : {
                notificationGlobalSettings->setMode(bb::platform::NotificationMode::Normal);
                break;
            }
        }
    }
    
  • the keyboard does not have to return the system to the standby mode

    Windows 7 Home Premium 64-bit system.

    The fundamental problem is that, after working properly for more than a year and a half, this Win7 machine suddenly stopped enlightenment of the mode before using the keyboard a few months ago. It still immediately responds to a mouse click, then dysfunction of the keyboard was only a minor inconvenience. The keyboard is equipped with a PS/2 connector, the mouse uses a USB port.

    However, several times lately the keyboard did not return after the awakening of the system; It is a biggest drawback. Each of these three times the keyboard had returned to normal after a reboot of the operating system, using the mouse to manipulate the Start Menu. I noticed nothing otherwise askew with the keyboard at any time, which suggests that this is not a problem with hardware keyboard. I would like to know how to get the system back to normal.

    I don't know if the following is relevant, but it is similar:
    There is a card audio semi professional, with its own control panel software, installed in the computer. With the exception of the occasional limited testing, I do no audio recording here, but I often work on audio recordings downloaded from other sources. Thus, the audio card is really only reading used mode.

    A few months ago a question arose on the settings of the control panel to monitor a recording against existing tracks. Under Win7, the map control panel is configured differently that in previous versions of Windows, if the answer was not immediately obvious.

    I worked on the necessary configuration changes in Control Panel of the card as a test to determine how this follow-up. I may also changed some settings in the console Windows, but I'm not sure. Unfortunately, unlike in versions previous OS, the Windows mixer table affect use of the sound card and it is possible that I got all inputs muted in the Windows mixer as a general precaution.

    Put the system into "sleep" (in the Start Menu) is done several times during my normal day. After running these tests of control, I found that the card does not work after that system was return of the mode 'sleep'. Immediately after the trials I reset control panel of the sound card for my normal use. All seems OK for audio operation was normal except after public awareness of Sleep Mode.

    Audio playback seemed normal in all applications. Programs appear to progress successfully through a recording during playback. Indicators like meters, position of playback cursor and displays the elapsed time has shown its normal operation, but nothing has reached the map output Sockets. I could not find any audio settings that seem to not correct. The Device Manager said that the card was working properly. Restart the normal audio returned BONE, as it does now (most of the time) for the keyboard.

    I played with things for two or three weeks. I've posted questions on some audio related forums, but no suggestion had no effect. Finally, I was ready to uninstall the card its and its drivers, then reinstall, when I remembered on the System Restore Points.

    I found there was a generated system restore point made a few hours before I did my test of the monitor-the-new-record. I used the restore point and the audio card to return to normal, the awakening with the rest of the system.

    The only thing I could say to be uninstalled by the restoration of the system has a few updates of Microsoft Security Essentials. I immediately did a manual update of that, to ensure it would not be any effect on the audio. Audio worked properly since registration, including, but I have not retested monitoring check against existing tracks.

    It was shortly after the keyboard problem has started. In this case I don't know what it is changed on the computer that could have led to the problem, but it seems not unlikely that some settings in the registry system is again wrong.

    Hello

    Thanks for posting your question on the Microsoft Forum.

    Receive you error messages, if so, what is the exact error message?

    What is the number and the model of the keyboard?

    I suggest you to follow the steps below and check if it helps.

    Method 1

    Try to start the troubleshooter from the link below and check if it helps.

    http://Windows.Microsoft.com/en-in/Windows7/open-the-hardware-and-devices-Troubleshooter

    Method 2

    I suggest you perform the clean boot.

    Put your system to the clean boot state helps determine if third-party applications or startup items are causing the problem. You must follow the steps in the article mentioned below to perform a clean boot.

    See the link to perform the clean boot.

    How to perform a clean boot in Windows

    http://support.Microsoft.com/kb/929135/en-us

    Note: Refer to "How to reset the computer to start as usual after a clean boot troubleshooting" under more information to prepare the computer to start as usual after a repair.

     

    Method 3

    For problems with the computer does not wake from sleep, see you at the suggestion of Leo Huang

    http://social.technet.microsoft.com/Forums/windows/en-US/0866de60-a16b-41c4-8a6e-b56c848478f3/new-computer-using-windows-7-will-not-wake-up-from-sleep-mode-i-have-to-manually-turn-it-off-and?forum=w7itprogeneral

     

    Please let us know if the problem persists. We will be happy to help you further.
    Thank you.

     

  • Comp hangs upon the release of the standby mode

    I have a Pavillion g7 notebook comp running Windows 7. About a week after the expiration of the warranty he began to break down during the recovery from the sleep mode. Now, it crashes almost everytime. I tried to download updated drivers from HP.com, but it did not help. I would like to do a reinstall clean (don't know if it's exactly the right name for it) in which the model is returned to the State it was in when it was brand new, with the exception of save personal files in My Documents, my pictures, etc. The model did come with a disc to restore so I don't know how to do it. Thank you very much in advance for the help and be specific because I've never done this before.

    There are several ways to recover the OS to factory settings... Here we go.

    (1) Please try to run the f11 recovery that will install the operating system using the recovery partition. It's the best way to solve the problem. type just hit f11 when the turn on/off the computer. (Make sure that the recovery media is already created by you using Manager HP recovery for future use).

    (2) snack F11 does not work and that you have created the media, use your own recovert holder that was created on the same computer.

    (3) where no one (f11 and self created dvd/CD) work and you need to get the DVD from DVD HP. order HP and use them to re - install the operating system.

    This should help get the media.
    http://support.HP.com/us-en/document/bph07143

    Otherwise, please visit www.hp.com ; Select the country from the left of the bottom if you are outside the United States.

    now, please select "support and drivers" > now click on drivers & software > enter a model number of your computer. (if the list is populated in the case of similar models are there in this series, select the model you have)

    Select the operating system you have received this with computer and click Next > now, you should get an option "order recovery media - select it and under that you have the type of available media.» SELECT and the desired media.

    Incase you have problem ordering media; You can try after some time or contact support HP to get media ordered.

    also for the recovery of countries or products little online ordering is not available; in this case, the visit of the region/country ( www.hp.com and some countries). Click on connect with HP and HP. e-mail/phone support contact numbers are available, please call to place an order for your product in the country concerned (if available).

    I hope this can help, good luck!

  • RAC ASM database and system files in the standby mode

    I have a database of ASM the knot two of the CARS and want to create a physical file system standby active database. This is supported by oracle? and you can share tips? Thank you

    I hope that's what you're looking for... See the below links

    http://pythianpang.WordPress.com/2009/07/07/Data-Guard-ASM-primary-to-filesystem-physical-standby-using-RMAN-duplicate/
    http://indiandba.blogspot.com/2011/03/create-physical-standby-on-normal-file.html

    Kind regards
    http://www.oracleracexpert.com
    RMAN Oracle 11 g new features
    http://www.oracleracexpert.com/2011/12/Oracle-recovery-managerrman-new.html
    Understand the Oracle RMAN Reporting
    http://www.oracleracexpert.com/2011/06/understand-Oracle-RMAN-reporting.html

  • Adding STAND OF REDO LOG in the primary side...

    Hi all

    I set STANDBY_FILE_MANAGEMENT = AUTO side pending and LOG_FILE_NAME_CONVERT points to a location that exists at the level of the BONE...
    When I added a data file to an existing table in the primary circuit and made a journal on the same order. The obtained additional data file
    relflected next to the day BEFORE...

    But when I try to add that a log file pending (new group) does not have added...

    Please help me on this...


    For this I need to perform the steps below.
    1. Add a redolog watches over the primary side...
    2. then cancel the recovery managed by the side process ensures...
    3 - Add the redolog ensures even (same name and size) on the side pending
    4 put the watch into recovery mode...

    Thank you

    STANDBY_FILE_MANAGEMENT = AUTO for data files is...

    See Doc...
    http://docs.Oracle.com/CD/B14117_01/server.101/b10755/initparams206.htm

  • Copy the datafiles/redo logs from the Production Server to QA Server

    I need to update the QA database on server QA with the Production database on the Production Server. I intend to copy logs files from data/recovery of the Production database to replace the QA database datafiles/recovery logs. Should I stop the Production database before you start copying? If this is not the case, what happens if a Production database data file has been copied to QA and then this Production obtained data file updated before other newspapers of data/recovery files have all been copied to QA?

    Thanks for any help.

    881656 wrote:
    Should I stop the Production database before you start copying? If this is not the case, what happens if a Production database data file has been copied to QA and then this Production obtained data file updated before other newspapers of data/recovery files have all been copied to QA?

    If you use this technique without closing the database, copied datafile/recovery logs will be incompatible.

    You can use the RMAN utility to take backup of the production database and restore it on server QA.

    If the database size is small (about 10-20 gb) you can use EXPDP/IMPDB.

  • Firefox does not comment based on Facebook on all websites (for example Huffpost): I tried the safe mode, disabling anti-ad... nothing works.

    I can get on FB and post. etc., but sites that use them commenting on do not display comments. I've tried safe mode, re - install Firefox: not to go.

    It's complicated. There are many links in the chain...

    You want to check if Firefox is actually sending a request to Facebook many different servers and receive a normal response? Here's how you can try it.

    While watching the HuffPost (or other) page, press Ctrl + Shift + k to open the Web Console in the lower part of the tab along its top edge, click Network. Then reload the page and network monitor should start to fill with dozens of URL in the order that makes Firefox the application.

    After he calms down, you can scroll down or click on the header of the column field sort by site and search queries to these areas. They were called in the order in my little test, among a bunch of other things:

    For example, if there is no request to connect.facebook.net, then a script blocker or a blocker Tracker can kick in. If there is no request for html pages, then the script could be at fault or another type of block can be considered.

    Note: I stay connected on Facebook, so being connected may have some influence on this point that I'm not aware of.

Maybe you are looking for