Doubt regarding REAL time redo apply in Dataguard

Friends, how to check whether 'REAL TIME REDO APPLY' is configured in my dataguard configuration. If it is not 'on' , how to enable 'REAL TIME REDO APPLY' on using dataguard broker.
Thanks in advance.

918868 wrote:
Friends, how to check whether 'REAL TIME REDO APPLY' is configured in my dataguard configuration. If it is not 'on' , how to enable 'REAL TIME REDO APPLY' on using dataguard broker.
Thanks in advance.You have to check the client process whether it is LGWR or ARCH process. The CLIENT PROCESS refers to corresponding primary database process.
SQL> SELECT THREAD#,SEQUENCE#,PROCESS,CLIENT_PROCESS,STATUS,BLOCK#,BLOCKS FROM V$MANAGED_STANDBY;
   THREAD#  SEQUENCE# PROCESS   CLIENT_P STATUS           BLOCK#     BLOCKS
         0          0 ARCH      ARCH     CONNECTED             0          0
         0          0 ARCH      ARCH     CONNECTED             0          0
         0          0 ARCH      ARCH     CONNECTED             0          0
         0          0 ARCH      ARCH     CONNECTED             0          0
         1        149 ARCH      ARCH     CLOSING           61440       1244
         0          0 RFS       N/A      IDLE                  0          0
        "1        150 RFS       LGWR     IDLE               8910          1"
         1        150 MRP0      N/A      APPLYING_LOG       8910     204800

Similar Messages

  • Standby DB real time redo log apply problem

    Hi all,
    I am using Oracle 10g to create physical standby db. In the standby
    db, normal archived log apply does not have problem, but when I try to
    use redo log real time apply and issue command
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE;
    it shows:
    ERROR at line 1:
    ORA-38500: USING CURRENT LOGFILE option not available without stand
    What is the problem??
    Thanks a lot !
    Steven

    Note:3633226.8 from Metalink states:
    Setting a standby's RealTimeApply property to ON when there are no standby
    redo logs on the standby or the standby is not in SYNC transport, will
    seemingly succeed. However, the apply engine will not start. The DRC log
    will report an error like ORA-38500. In this case, add standby redo logs
    and set the log transport mode for the standby to be SYNC and set the
    standby state to ONLINE.
    Workaround:
    Add Standby Redo Logs on the standby and set the following broker properties
    on the standby:
    LogXptMode to SYNC and reset RealTimeApply to ON.
    Then set the standby state to ONLINE.
    HTH

  • Regarding real time java packages

    Hi,
    I am relatively new to java. can anybody tell me about real time java, and where can i find the implementation of javax.realtime package?

    i have found a real time java specification which has a package javax.realtime which lists some classes like timer,asyncevent etc. that would be helpful for me. i am supposed to use j9 jvm on qnx rtos. but these classes dont come with standard jdk. can u tell me how to proceed?

  • Regarding REAL time scenarios

    can any one give me real time scenario . or real need of the following scenarios...
    1. webservice to RFC
    2.HTTP to RFc
    3.file TO RFC
    4.file TO database
    looking forward for your help..

    Hi,
    Real time scenario depends on requirement and client environment, some times same requirement will to with different ways, ie. source and target channels will be change.
    1. webservice to RFC
        Here source is web service (SOAP) and target is R3 system, this scenario will be configure when sender can provider web service else it is not possible.  At receiver end generally will upload data through IDOC, if we want sync communication will go for RFC
    2.HTTP to RFc
       This requirement is same as above but without webservice
    3.file TO RFC
      This requirement will come when source data is flat file or xml file and receiver is R3 above we discussed
    4.file TO database
    This requirement will come when source data is flat file or xml file and receiver is external data base like orcale, Msaccess etc databases
    Find below links will help you for configuration
    RFC-Webservice:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
    Invoke Webservices using SAPXI
    Testing XI exposed Web-Services
    http://frprjsp2.prj.fr:8000/sap/bc/srt/rfc/sap/ZPM_CREDIT_CHECK_WSD3?wsdl
    http://help.sap.com/saphelp_nw04/helpdata/en/d8/3bfc3f8fc2c542e10000000a1550b0/content.htm
    RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
    RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
    File 2 RFC:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file%28without+bpm%29
    RFC Scenario
    Exposing BAPI as Web Services through SAP XI
    RFC Scenario using BPM --Starter Kit
    The specified item was not found.
    The specified item was not found.
    HTTP to RFC - A Starter Kit
    File to JDBC
    FILE to JDBC Adapter using SAP XI 3.0

  • Doubt regarding Restoring ORACLE_HOME after applying patch

    While going through this doc: http://docs.oracle.com/cd/B16240_01/doc/em.102/e15294/recovery.htm
    I encountered a doubt and I wanted to get it cleared:
    Under the heading Restoring ORACLE_HOME they have mentioned we can remove any changes made to the inventory.
    Does this mean, the patch applied will be rolled back?

    While going through this doc: http://docs.oracle.com/cd/B16240_01/doc/em.102/e15294/recovery.htm
    I encountered a doubt and I wanted to get it cleared:
    Under the heading Restoring ORACLE_HOME they have mentioned we can remove any changes made to the inventory.
    Does this mean, the patch applied will be rolled back?Yes
    remember close your thread after your questions will be solved
    Roshan Jose     
    Handle:      Roshan Jose 
    Status Level:      Newbie (15)
    Registered:      Jan 28, 2013
    Total Posts:      13
    Total Questions:      2 (2 unresolved)
    Name      Roshan Jose
    Occupation      Oracle DBAwhy so many unresolved questions?

  • The redo apply seems not work

    I use Oracle 11g r2 configure a data guard and fast_start fail over (using data guard broker) environment on linux.
    The standby database only sync the data from the primary if
    1. Issue 'alter system switch logfile;' on primary machine.
    2. Cancel the redo apply and restart it on the standby.
    And real-time redo apply can't start, when I issued 'ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE', the sqlplus is hanging and no response.
    And in the broker, there always following warning:
    Databases:
    orclPri - Primary database
    Warning: ORA-16829: fast-start failover configuration is lagging
    orclStd - (*) Physical standby database
    Warning: ORA-16829: fast-start failover configuration is lagging
    Edited by: user1665703 on 2011-7-29 下午5:02
    Edited by: user1665703 on 2011-7-29 下午5:04

    As a quick test, go to the primary and say
    SQL> select * from v$log;then connect to the standby and say
    SQL> select process,status,sequence# from v$managed_standby;Show the output here with copy & paste. Also the output from the primary of
    SQL> show parameter log_archive_dest_2or another destination you have setup to reach the standby.
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • Real time apply dataguard

    Hello
    I have some doubts about real time apply.
    If a transaction occurs in production, lgwr will automatically write this transaction to standby redologs in standby database.
    Is this transaction applied to standby database immediately or wait for standby redolog switch and applied as soon as standby log is archived ?

    Thanks Uwe.
    Eventhough you mentioned this before, I just want to ask last time to confirm:
    Regarding real time apply;
    When a transaction occurs in production, this transaction is not applied directly to standby database.
    It is first transferred to standby redolog( by the log writer of primary) and from there to standby database immediately. (I dont know which background proces is responsible for this)
    Is this right?By default, the archives are transferred(on completion) to standby database server using ARCH process and received by Remote File Server process (RFS) on standby database server. Optionally, you may choose to do the same using standby redo logs instead of archive log files (LGWR and LNS processes comes into picture). The standby redo logs are compulsory for real time apply regardless of protection mode.
    If you're using SRL, then redo data is transferred to SRL and once the SRL is archived the changes are written to the database using Managed Recovery Process (MRP) and hence minimizes the data loss in case of failover and minimizes the time in case of switchover and failover.
    If you're using Real Time Apply, then the standby redo log data is directly written to the database using LSP or MRP without waiting for SRL to be archived.
    Regards,
    S.K.
    Edited by: Santosh Kumar on Sep 22, 2009 3:53 PM

  • Real-time apply in Maximum Performance Mode Not Working

    We have configured physical standby database in maximum performance mode. It's working perfectly fine. Archive logs are being applied to the physical standby.
    We can open the DB in read-only mode, but real-time apply is not working. Physical standby database is lagging behind the primary db by an archive log. As soon as primary database generates an archive log, it's transported over to the standby and applied immediately by the media recovery process. But real-time redo is not working. Standby redo logs have been configured.
    On Physcial Standby:
    SQL> alter database recover managed standby database using current logfile disconnect ;
    Database Altered.
    SQL> select group#, DBID, status,first_time, last_time from v$standby_log ;
    GROUP# DBID STATUS FIRST_TIM LAST_TIME
    4 UNASSIGNED UNASSIGNED
    5 UNASSIGNED UNASSIGNED
    6 UNASSIGNED UNASSIGNED
    7 UNASSIGNED UNASSIGNED
    SQL> select * from v$dataguard_stats ;
    NAME
    VALUE
    UNIT TIME_COMPUTED
    apply lag
    +00 00:31:36
    day(2) to second(0) interval 22-JUN-2010 08:42:06
    transport lag
    +00 00:31:34
    day(2) to second(0) interval 22-JUN-2010 08:42:06
    As you could see from the output above, value of transport and apply lag is equal to the elapsed time since last archive log switch.
    ********* Standby init.ora
    db_name = CPRD
    db_unique_name = CPRDS
    instance_name = CPRD
    service_names = hrDBSBY.WORLD
    log_archive_format = CPRD%r%s.%t
    log_archive_dest_1 = "location=f:\orarch\hresysprod"
    log_archive_dest_2='service=hresysprod async db_unique_name=cprd valid_for=(primary_role,online_logfile)'
    log_archive_config='dg_config=(cprd,cprds)'
    fal_server=hresysprod
    fal_client=hresysprods
    standby_file_management=auto
    log_archive_trace=1
    log_file_name_convert = ('hresysprod','hresysprods')
    db_file_name_convert = ('hresysprod','hresysprods')
    remote_login_passwordfile = exclusive
    ******* Primary init.ora
    log_archive_config='dg_config=(cprd,cprds)'
    fal_server=hresysprods
    fal_client=hresysprod
    standby_file_management=auto
    log_archive_format = CPRD%r%s.%t
    log_archive_dest_1 = "location=f:\orarch\hrESYSPROD"
    log_archive_dest_2='service=hresysprods async db_unique_name=cprds valid_for=(primary_role,online_logfile)'
    log_archive_trace=1
    remote_login_passwordfile = exclusive
    Please advise.
    Thanks,
    jay

    Hi,
    In your case you are using ARC process for redo transfer as you have not specified any process in log_archive_dest_2 and default is arch.
    I will suggest you to use LGWR to transfer the redo to standby and also check the size of standby redo logs on standby is same to the size of online redo logs on primary
    Regards
    Anudeep

  • Real - Time Apply some times uses Archived log file

    Hi All,
    I have a doubt on real time apply in Oracle 10g 10.2.0.4 version where arch process has been configured on primary database and standby has been configured for maximum performance mode with real time apply.
    But in standby alert log file i use to find below message rarely
    Media Recovery Log /oraclearch/oraarch/ctdr/5548.dbf
    Media Recovery Log /oraclearch/oraarch/ctdr/5549.dbfSo my doubt is why archived files are applied as standby has been configured for real time apply where it should apply only from standby online redo log files.
    Also i dont find any information on standby database in the view v$standby_log that these standby online log files have been archived in archived column, so how to find how much of data has been written by rfs process on SRL's...
    -Yasser

    hi,
    As the remote file server (RFS) process writes the redo data to standby redo log files on the standby database, log apply services can recover redo from standby redo log files as they are being filled.
    please check http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/log_apply.htm
    thanks,
    baskar.l

  • Real time queries to know more about live project

    Hi All,
    I am new to XI, I have some doubts about real time xi project related activities.
    1.  Who will be responsible for preparing the minutes of meeting? (XI Developer/Team Lead/senior consultant etc…)
    2    In usual Dev->QA->Prod project cycle...
      Where would the Configuration and Version Control come into picture?
      Who is responsible for configuration process of the developed objects?
      How the configuration process would be in real time XI project? Are we needed to use any external configuration/version control tools like VSS etc..?
    3.   I come across the terms like Legacy Systems, Third Party systems, SAP systems, Non-SAP systems, Web Systems.
    In real time project, can you please answer with few names for each type of systems above I had mentioned? I know this depends on landscape of the project. But I would like to know how the names of these systems would be in real time.
    Like .. for Legacy systems --> Mainframe/AS-400 etc (Pls correct me,if i am wrong).
    These questions could be very basic questions for Experts. Please answer these questions.
    Thanks in advance.
    Latha

    Hi,
    <i>1. Who will be responsible for preparing the minutes of meeting? (XI Developer/Team Lead/senior consultant etc…)</i>
    In general , TL will prepare and rest of all seniors will approved/ signed if it is senior level meeting , Offcourse it depends upon the meeting .
    <i>2 In usual Dev->QA->Prod project cycle...
    Where would the Configuration and Version Control come into picture?
    Who is responsible for configuration process of the developed objects?
    How the configuration process would be in real time XI project? Are we needed to use any external configuration/version control tools like VSS etc..?</i>
    Yes Configuration will be the developer or the senior for interface configuration  / basis for SLD configuration
    the respective will be the responsible
    <i>3. I come across the terms like Legacy Systems, Third Party systems, SAP systems, Non-SAP systems, Web Systems.</i>
    It depens upon the project ... dont ask like this type questions .. these are very confidential ...
    I hope this is technical forum ..
    Regards
    Chilla
    <i>reward points if it is helpful..</i>

  • ABAP interface in real time

    Dear all,
    Hereafter is my scenario;
    My customer after sales system works on AS400. Assuming that I would manage spare parts (required for after sales) inventory, including goods entry, goods issue as well as the company financial accounting in SAP, I have to interface the two system.
    From SAP to AS400: (flow1) Master files + (flow2) goods entry
    From AS400 to SAP: (flow3) AR postings, (flow4) goods consumption
    Then my two systems will be in line in terms of referential data (flow1), stock movement (flow2 + flow4), invoicing (flow3).
    1) My question is to know what would be the best way to flow2 knowing that stock movement following a goods entry (done in SAP) should be visible in real time from AS400?
    2) Regarding other flows, no need for real time. So I guess flat file should be ok. However, would master data for instance sent from SAP to AS400 require a mapping table in order to be properly integrated in AS400?
    Regards.

    Real Time doesn't mean always fast. It depends on your application requirements.
    Anyway, don't think too much about Real Time in Windows. If it's possible, try to do all "time critical" operations in Matlab and after that pull data with LV.

  • Real Time datasources

    Few questions regarding REAL TIME datasources -
    1)How can we identify what datasources are REAL TIME datasources in R/3?
    2)Can any standard datasources be converted to REAL TIME datasources.
    If yes ,what are the steps in details?
    3)Why only ODS is used to load for REAL TIME datasources and not INFOCUBES.
    4)Can generic datasources be built as REAL TIME datasources.

    Hi,
    please see my answers underneath the respective question.
    1)How can we identify what datasources are REAL TIME datasources in R/3?
    ==> field REALTIME in table ROOSOURCE
    2)Can any standard datasources be converted to REAL TIME datasources.
    If yes ,what are the steps in details?
    ==> Yes, if the extractor can provide Real-Time data, i.e. at every point in time delta information. A negative example are FI-GL extractors which are only capable to provide data on a daily basis.
    If you identify such a DataSource and the DataSource is critical to your project success, please contact me directly via EMail.
    Proceeding is as follows (SPS8 is recommended):
    a.) Set field ROOSOURCE-REALTIME for respective DataSource (per customer ABAP report)
    b.) Replicate DataSource
    c.) Create DeltaInit InfoPackage and execute
    d.) Create Transformation and DTP to a DataStore Object (if applicable)
    e.) Create a daemon in Real-Time Monitor (Transaction RSRDA)
    f.) Locate your DataSource in the 'Not assigned' part of the tree structure
    g.) Assign InfoPackage and DTP to daeomon (via context menu on the DataSource)
    h.) Start the daemon
    3)Why only ODS is used to load for REAL TIME datasources and not INFOCUBES.
    ==> Since data is immediately available for reporting and we have an open request we have a specific update processing for the data target (with a special DTP). This has currently only been implemented for DataStore Object.
    4)Can generic datasources be built as REAL TIME datasources.
    Yes
      Cheers
        SAP NetWeaver BI Organisation

  • Real Time Counter

    Hi all,
    I have a problem regarding Real time counter. I have a field in the output structure that have unique values. The name of the field is unique document name.
    For example I sent a message today with a unique doc name of test-00001. How can I send another message so that its unique doc name would be test-00002? The message could be sent anytime (right after test-00001 or tomorrow).
    I understand that we can set counters for messages that are passed from 1 source. What if there are multiple sources?
    Regards,
    IX

    HI,
    Just red these comments from the same blogs. See if it helps you in your case otherwise you have to go for creation of custom z-table.
    Why ot just use the built in counter for the file name? In the receiver File communication channel, Processing tab,
    set the file construction mode to Add Counter, and then set the counter parameters accordingly.
    This is a standard feature and requires no workaround...
    Why not use the built-in counter?
    2009-10-06 06:17:01 Shabarish Vijayakumar Business Card
    the limitations of that would be my point 5;
    5. Counter option in the adapter - Only helps if you are using the NFS protocol
    and also only if the counter is needed at the end of the file name (before the file name extension)
    Regards,
    Sarvesh

  • Redo apply Vs real time apply

    Hi all ;
    I have some confusion regarding  redo apply Vs real time apply.
    When applying redo data  in standby site , how do we find whether it was done by redo apply or real time apply ?
    Please discuss in detail. I need some clarification about this.
    Thanks in advance ..

    Hi baris ,
    Thanks .. again little confusion. NO documents to find answer.
    If a logical corruption occurs on your primary by a human mistake such as truncate table, wrong delete etc,
    so a delayed standby is more appropriate. Furthermore you can configure flashback database feature
    on your standby database when you use real time apply.
    Is this possible ?
    1) Do you mean flashback will be enabled only in standby database except primary database ?
    What are the changes  made in primary that only transfer to standby  if so ,
    2) How do we recover deleted objects in standby ?
    FYI : I have a  doubt with time delay option, we will discuss this things in new thread. please do NOT mind it.

  • 11gr2 Dataguard Active Standby - Unable to get Real-Time apply working

    As above, I am unable to get real time apply to work WITHOUT it switching my standby back to MOUNT state. There does not seem to be anyting obvious from the broker, or alert logs.
    On the Standby:
    SQL> alter database recover managed standby database cancel;
    Database altered.
    SQL> alter database open read only;
    Database altered.
    SQL> select open_mode from v$database;
    OPEN_MODE
    READ ONLY
    SQL> alter database recover managed standby database using current logfile disconnect;
    Database altered.
    SQL> select open_mode from v$database;
    OPEN_MODE
    MOUNTED
    Primary:-
    SQL> SELECT status, recovery_mode FROM v$archive_dest_status where dest_name = 'LOG_ARCHIVE_DEST_2';
    STATUS RECOVERY_MODE
    VALID MANAGED REAL TIME APPLY
    Edited by: Imran on Apr 17, 2012 10:56 PM

    Hello;
    This is expected.
    Works the same exact way on my system. How Redo Data is applied is set when the database is MOUNTED.
    See - 6 Redo Apply Services
    Data Guard Concepts and Administration 11g Release 2 (11.2) E10700-0
    The document is vague on this at best, but think about the error you get if you try to start apply twice.
    Data Guard Real-Time Apply FAQ [ID 828274.1]
    Best Regards
    mseberg
    Edited by: mseberg on Apr 17, 2012 10:04 AM
    h1. Test
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> alter database recover managed standby database cancel;
    Database altered.
    SQL> alter database open read only;
    Database altered.
    SQL> alter database recover managed standby database using current logfile disconnect;
    Database altered.
    SQL> select open_mode from v$database;
    OPEN_MODE
    READ ONLY WITH APPLY
    SQL> So I get different results ??
    Edited by: mseberg on Apr 17, 2012 10:40 AM
    h2. Still more
    I would like to change my answer. Based on my test and queries as shown below I believe REAL TIME apply is working. Note the last log says NO because its in progress.
    Checking last sequence in v$archived_log
    STANDBY               SEQUENCE# APPLIED    COMPLETIO                                               
    STANDBY                     343 YES        16-APR-12                                               
    STANDBY                     344 YES        16-APR-12                                               
    STANDBY                     345 YES        16-APR-12                                               
    STANDBY                     346 YES        16-APR-12                                               
    STANDBY                     347 YES        17-APR-12                                               
    STANDBY                     348 NO         17-APR-12                                               
    6 rows selected.
    ----------------Last log on Primary--------------------------------------|
    MAX(SEQUENCE#)                                                                                     
               348                                                                                     
    1 row selected.Yes, I doubled check and it works on mine. I guess I read what I wanted to read.
    All my Standby redo are setup correctly ( size and numbers )
    READ ONLY WITH APPLYYour answer my be the Uwe answer at the end of this thread :
    Enabling the Active Dataguard and Real Time Apply
    Best Regards
    mseberg
    Edited by: mseberg on Apr 17, 2012 10:50 AM

Maybe you are looking for

  • "My Number" is not displaying anywhere on my iPhone

    I had a problem where "My Number" did not display anywhere on my iPhone or in iTunes. Resolution, get a new SIM card. In my case there was a problem when I activated the phone; the number was not saved to the card. iPhone and iTunes gets your number

  • Oracle Stored Procedure Call

    Hi, I have an Oracle Stored Procedure that I must be calling. The procedure takes two IN parameters, and returns a CHAR(1000) string, not via the OUT parameter, but as normal return. I have read articles about how to make Procedure Calls with OUT par

  • How to provision bootstrapped users to use portal

    We are running OID 10.1.4 and have successfully configured the AD/OID bootstrap and our sync process is running. However, I can not login to portal using any of the users. I can use the oiddas to create a user and login to portal with it, the new use

  • Getting TooManyHopsException with a simplest Proxy Servlet

    I am deploying a simple (dumb!!) stateless proxy to route INVITE message between 2 UAs. I am using WLSS 3.0 on WinXP. INVITE Message actually reaches the Servlet, because I have placed some console debug messages which I am able to see on WLS console

  • Photoshop CC Launch Problems

    I updated Photoshop yesterday and now it will not launch.