Enabling the Active Dataguard and Real Time Apply

11.2.0.2 on AIX
I gather that , to enable Active Dataguard, you need to execute
STARTUP ; ----not startup mount
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;The above commands will enable both Active Dataguard (Real Time QUERY) and Real Time Apply. Right?
To enable just 'Real Time Apply' , I need to
startup mount
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;Am I right ?
Question on 'WITH SESSION SHUTDOWN' clause
While googling I've come across the following variant with an additonal 'WITH SESSION SHUTDOWN' clause
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE WITH SESSION SHUTDOWN;What difference does this clause bring ?
Is this claused used to enable Active Dataguard feature or 'Real Time Apply' or both ?

I gather that , to enable Active Dataguard, you need to execute
STARTUP ; ----not startup mount
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;
The above commands will enable both Active Dataguard (Real Time QUERY) and Real Time Apply. Right? Yes, It will be in both recovery / realtime + Read only mode, Also you can use
To enable just 'Real Time Apply' , I need to
startup mount
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;Am I right ?Yes. It will be in just recovery/real time mode.
Question on 'WITH SESSION SHUTDOWN' clause
While googling I've come across the following variant with an additonal 'WITH SESSION SHUTDOWN' clause
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE WITH SESSION SHUTDOWN;What difference does this clause bring ?
Is this claused used to enable Active Dataguard feature or 'Real Time Apply' or both ?It has multiple options based on startup type
For this example check link of Julian Dyke.
http://juliandyke.wordpress.com/2010/10/14/oracle-11gr2-active-data-guard/

Similar Messages

  • Liquid Analytics enables the sales force in real-time

    Problem
    The success of wholesale and manufacturing distribution operations largely hinges on the efficacy of sales teams that must deal with a host of pricing and product challenges. For the sales group, the biggest game changer is their ability to access and leverage insight into the customer’s behavior and historical buying patterns.
    Due to the technological limitations of the past, the sales team was unable to access information about customers’ buying patterns, leverage new products, establish dynamic pricing, and set realistic goals and as a result would miss opportunities with customers or lose their faith altogether.
    Even with these pressing needs noted and observed, not just any technology can be introduced to a sales team and expect to be adopted. This is because the unique characteristics of the sales force must be carefully considered in order to seamlessly integrate new technologies aimed at sales enablement.
    Liquid analytics understands the field and the interplay between marketers, sales teams, and customers and uses this knowledge to inform its technology. The firm understands that the sales force operates primarily in the field and therefore does not have the capability to manually input data into sales tracking forms, or that sales teams with different products visit the same customers but do not necessarily work in tandem to leverage each other’s footprints. Without a foolproof means of measurement and assessment in the field, the disconnect between the sales and marketing teams is often heightened making set goals unrealistic for sale representatives.
    Solution
    Liquid analytics uses its understanding of the sales archetype and big data and predictive analytics to bring viability to its target industries when it counts most. The proprietary technology takes predictive algorithms and mobile tracking, visualizing the various components in a comprehensive, easy-to-use dashboard. For mobile sales representatives, valuable information can be easily searched on an account, and sales activity is easily logged to demonstrate ROI.
    For wine and liquor sales representatives, the solution has been proven to do a number of things:
    The technology uses algorithms based on history of sales which are able to forecast what will be needed and allows the sales team to make fact- based orders, save time on each customer account by avoiding duplication, and increase customer loyalty. In addition, access to inventory in real time allows the sales rep to deliver in a timely manner and avoid missed shipments by 95 percent.
    The Liquid analytics dashboard allows representatives selling liquor, wine or beer to view one universal dashboard to note what sales tasks have yet to be done or have been completed and develop a workflow that collectively benefits all representatives on the account.
    The leaderboard creates a gamification experience for the sales team meant to increase sales by incentivizing through potential conversion rates and goal reward system.
    On an individual basis, representatives are able to log their hours and use the record to negotiate better terms. Logged hours also provide context as to whether a representative is spending too much time while profitability remains low, leading to new sales strategies.
    The feedback loop between the marketing and sales team is closed as the solution generates real-time notifications about where media is used by sales team as well as categorizes product attributes that can be used for better product placement and targeted campaigns.
    Watch the Video
    Join the conversation and follow us on twitter @SAPstartups #HANAusecases.

    Thanks for this pointer.
    I followed this link and enabled 0fi_gl_4 for real time reporting in R/3
    What do I do now in BW side I already have a infsource that I am updating a DSO/ODS in BW. What do I need to do in BW side to ensure that the data in R/3 will flow through to BW.
    Thanks
    Karen

  • Data Guard Transport and Real Time Apply Configuration

    Hello,
    I'm configuring a Data Guard configuration using Oracle 12.1.0.2 and I have observed that in a máximum perfomance configuration, that is the default.
    The system upgrade to a SYNC configuration.
    DGMGRL> show configuration
    Configuration - DRSolution
      Protection Mode: MaxPerformance
      Members:
      orcl - Primary database
        STBY - Physical standby database
    Fast-Start Failover: DISABLED
    Configuration Status:
    SUCCESS   (status updated 53 seconds ago)
    SQL> show parameters log_archive_Dest_2
    NAME                                 TYPE        VALUE
    log_archive_dest_2                   string      service="stby", ASYNC NOAFFIRM
                                                      delay=0 optional compression=
                                                     disable max_failure=0 max_conn
                                                     ections=1 reopen=300 db_unique
                                                     _name="STBY" net_timeout=30, v
                                                     alid_for=(online_logfile,all_r
                                                     oles)
    However, if I insert 1 row in a test table at primary database and commit, immediately I see the change in the standby database.
    If this behavior new in this versión?
    How can I revert to the classic max performance configuration, where only send the archive when it is full.
    Thanks
    Arturo

    >How can I revert to the classic max performance configuration, where only send the archive when it is full.
    That is ARCH shipping.  The default in 11.2 and above LGWR shipping.  So LGWR ships the redo immediately.  The only thing with ASYNC is that it doesn't wait for the Standby to acknowledge before it returns a COMMIT to the user.  In a  low-load environment,  if the standby can apply the redo fast enough, ASYNC is virtually the same as SYNC.  That is MaximumPerformance becomes the same as MaximumAvailability.  Only when the redo load is higher than the available bandwidth or the speed at which the Standby can apply it , will you see a lag in the Standby.  (To force an explicit lag, there is a separate DELAY parameter).
    ARCH shipping is deprecated.

  • 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

  • Real time apply

    Hello
    Oracle 10.2.0.1
    I have dataguard configuration with standby file management auto and real time apply
    SQL> SELECT DEST_ID, RECOVERY_MODE FROM V$ARCHIVE_DEST_STATUS
    where dest_id=2;
       DEST_ID RECOVERY_MODE
             2 MANAGED REAL TIME APPLY1-) I create a table in primary database
    2-) I cancel recovery in standy database (recover managed standby database cancel;)
    3-) I open standby database in read only
    Since real time apply is enabled why I cannot see my new created table in standby database?

    Khurram;
    When I change the protection mode, I got the below alerts, therefore I couldnt open the database:
    LGWR: Primary database is in MAXIMUM PROTECTION mode
    LGWR: Destination LOG_ARCHIVE_DEST_2 is not serviced by LGWR
    LGWR: Destination LOG_ARCHIVE_DEST_1 is not serviced by LGWR
    LGWR: Minimum of 1 LGWR standby database required
    Mon Sep 28 20:19:15 2009
    Errors in file /oracle/u01/admin/orclprod/bdump/orclprod_lgwr_29882.trc:
    ORA-16072: a minimum of one standby database destination is required
    Mon Sep 28 20:19:15 2009
    Errors in file /oracle/u01/admin/orclprod/bdump/orclprod_lgwr_29882.trc:
    ORA-16072: a minimum of one standby database destination is required
    LGWR: terminating instance due to error 16072
    Instance terminated by LGWR, pid = 29882

  • ORACLE 11G  "real time apply" not work?????

    we have a database original on ORACLE 10.2.0.4 and we upgrade it to 11.1.0.7.
    after that we create standby database and tried to use "real time apply" feature.
    Primary database can transfer log files to standby database and standby database also can apply logs. The problem is it can NOT work on "real time apply".
    Ant ideal what wrong?
    === procedures ====== (standby database)
    SQL> startup mount;
    ORACLE instance started.
    Total System Global Area 2087780352 bytes
    Fixed Size 2161272 bytes
    Variable Size 1795163528 bytes
    Database Buffers 251658240 bytes
    Redo Buffers 38797312 bytes
    Database mounted.
    SQL> alter database open read only;
    Database altered.
    SQL> alter database recover managed standby database using current logfile disconnect;
    Database altered.
    SQL> select PROTECTION_MODE, PROTECTION_LEVEL, DATABASE_ROLE, SWITCHOVER_STATUS, OPEN_MODE, GUARD_STATUS from v$database;
    PROTECTION_MODE PROTECTION_LEVEL DATABASE_ROLE SWITCHOVER_STATUS
    OPEN_MODE GUARD_S
    MAXIMUM PERFORMANCE MAXIMUM PERFORMANCE PHYSICAL STANDBY NOT ALLOWED
    MOUNTED NONE
    SQL> select process, status from v$managed_standby;
    PROCESS STATUS
    ARCH CONNECTED
    ARCH CONNECTED
    ARCH CONNECTED
    ARCH CONNECTED
    RFS IDLE
    MRP0 APPLYING_LOG
    6 rows selected.
    ========== Primary database init.ora file setup =====
    ### for DG use
    db_unique_name = DBPMY
    log_archive_config='dg_config=(DBPMY,DBSBY)'
    log_archive_dest_1='LOCATION=/Archive/DBPMY/arch/arch MANDATORY'
    log_archive_dest_2='service=DBSBY valid_for=(online_logfiles,primary_role) db_unique_name=DBSBY LGWR ASYNC=20480 OPTIONAL REOPEN=15 NET_TIMEOUT=30'
    *.log_archive_format='DBPMY_%r_%t_%s.arc'
    log_archive_dest_state_1 = enable
    log_archive_dest_state_2 = enable

    There are a couple of things to look at.
    1. Real time apply requires standby redo logs on the standby database. On the standby database run this query:
    SELECT * FROM v$logfile where type = 'STANDBY';
    if you get 0 rows back you'll need to create standby logfiles
    The general guideline is to size them exactly like your redo logs but add one additional standby log to ensure it doesn't cause a bottleneck.
    2. Get the size of your logfiles:
    SELECT GROUP#, BYTES FROM V$LOG;
    3. For example if you have 3 redo logs that are 50 MB in size, create 4 standby redo logs 50 MB each and don't multiplex them.
    ALTER DATABASE ADD STANDBY LOGFILE ('/Archive/DBSBY/onlinelog/slog1.rdo') SIZE 50M;
    ALTER DATABASE ADD STANDBY LOGFILE ('/Archive/DBSBY/onlinelog/slog2.rdo') SIZE 50M;
    ALTER DATABASE ADD STANDBY LOGFILE ('/Archive/DBSBY/onlinelog/slog3.rdo') SIZE 50M;
    ALTER DATABASE ADD STANDBY LOGFILE ('/Archive/DBSBY/onlinelog/slog4.rdo') SIZE 50M;
    4. Cancel recovery on standby
    recover managed standby database cancel;
    5. Restart recovery using real time apply
    recover managed standby database using current logfile disconnect;
    6. To validate that real time is working you can check a few places.
    -It will say in the database alert log on standby that it's using real time apply
    OR
    -Check primary
    SELECT status, recovery_mode FROM v$archive_dest_status where dest_name = 'LOG_ARCHIVE_DEST_2';
    If the recovery_mode is "MANAGED REAL TIME APPLY" then real time apply is working, if it's anything else then we'll need to check more things.
    NOTE that if you are going to allow your current primary to switch roles and become a standby then you'll want to create standby redo logs on primary as well
    Sometimes recovery gets "stuck" and simply resetting the destination parameters can resolve it:
    alter system set log_archive_dest_2='service=DBSBY valid_for=(online_logfiles,primary_role) db_unique_name=DBSBY LGWR ASYNC=20480 OPTIONAL REOPEN=15 NET_TIMEOUT=30';
    There are some other things we can check next but let's start with the easiest fixes first.

  • How can I make Recover_Mode Is Real Time Apply in Data Duard

    Hi Experts
    I have Primary and Standby Databases I need to know how can I change the recover mode to Real Time Apply?
    I run the following queury in Primary Site:
    SELECT RECOVERY_MODE FROM V$ARCHIVE_DEST_STATUS WHERE DEST_ID=2;
    RECOVERY_MODE
    MANAGED
    I have oracle 11g R2 / Windows Server 2008 R2!
    Logs generated and transfered successfully!

    Hello;
    Cancel recovery on the standby and then.
    SQL
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT FROM SESSION;
    Note: You should have Standby redo at both the Primary and Standby sites.
    Best Regards
    mseberg

  • Need SAP-HR Module wise Blue prints and Real time questions

    Hi HR Team,
                    can u send me the OM issues and real time questions and any HR module Questions and Blue prints .pls if useful awarded points
    my mail id is [email protected]

    Hi HR Team,
                    can u send me the OM issues and real time questions and any HR module Questions and Blue prints .pls if useful awarded points
    my mail id is [email protected]

  • RMAN in active data guard with real time apply ON without a catalog DB

    I would like to know whether I can take RMAN backups (both level 0 & incremental) in active data guard with real time apply ON without a catalog database. version is 11.2.0.3.2. Will it make difference in the control file of standby syncing with primary? Can I use these backups on primary to restore and recover the database(including control file backup)?

    Thank you very much msberg. Could you please answer the below queries as well?
    Should I cancel Real Time Apply before starting RMAN?
    Will it make difference in the control file of standby syncing with primary? Is it possible to use these backups on primary to restore and recover the database(including control file backup)? If possible, how will I do that?

  • 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

  • I'm in the activation process for setting time and date but been stuck in that screen for a while please help

    just installed my Apple TV and it's been in the activation screen to set time and date for a while .
    not sure what the issue is

    It's not properly connected to the network
    Make sure location is set correctly
    DNS should be on auto (settings - general - network)
    If on wifi try Ethernet
    Check that router has port 123 open (refer to manual if unsure)

  • I want to be able to tweak the graphic equalizer in real time while recording - and have this have the audible effect written to the recording.   At the moment i have to go into post-production and manually set the graph equalizer at various time points .

    i want to be able to tweak the graphic equalizer in real time while recording - and have this have the audible effect written to the recording.
    At the moment i have to go into post-production and manually set the graph equalizer at various time points ...

    This won't be real-time as you record, but you could tweak the EQ in real-time after the recording thus:
    Record what you want to tweak into GB with no effects.
    Solo the track and output it into something like Audacity.
    Start Audacity recording, then play your track in GB as you make those tweaks. That's what Audacity will record.
    Get that file from Audacity and put it into GB, then you'll have that effect.
    Sorry if it's complicated, but that's what came to mind. Hope it works.

  • My iphone 3GS needs updating but when i plug it into itunes it reads and said the activation is out of time and the phone keeps going off?

    my iphone 3GS needs updating but when i plug it into itunes it reads and said the activation is out of time and the phone keeps going off?

    jadekinsey wrote:
    when i plug it into itunes it reads and said the activation is out of time
    No such message occurs.
    Are you trying to state that it says "Unable to activate"? 
    If so, this typically indicates the device has been hacked or jailbroken.  If that is the case, no support can be provided via these forums.

  • How Real Time Apply works while physical standby is open in Read Only mode

    Hi,
    With Active data guard option, we can open physical standby DB in read only mode, while redo log are being applied. (Real Time Query)
    Standby Redo log (SRL) enables Real Time Apply (with "USING CURRENT LOGFILE" clause in recover database command on standby DB)
    I am interested to know, how Real Time Query works ?
    What is the mechanism with allows us to open physical standby DB in read only mode while redo logs are being applied continuously ?
    Regards,
    Sujit

    Dear user7419391,
    That is a new feature in Oracle Database 11g. MRP can use the real time apply in 10g but the concept here is different.
    Taken from the following document;
    http://www.ascent.co.za/documents/oracle/Oracle%20databse%2011g%20Active-Data-Guard%20datasheet.pdf
    *Unique Advantages of Oracle Active Data Guard*
    +Active Data Guard is an evolution of Data Guard technology, providing unique+
    +performance advantages while leveraging all other enhancements included in Oracle+
    +Data Guard 11g. For example, any Data Guard 11g physical standby database can+
    +be easily converted to a Snapshot Standby. A Snapshot Standby is open read-write+
    +and is ideally suited as a test system, able to process transactions independent of the+
    +primary database. A Snapshot Standby maintains protection by continuing to receive+
    +data from the production database, archiving it for later use. When tests are+
    +complete, a single command discards changes made while open read-write and+
    +quickly resynchronizes the standby database with the primary.+
    The other link in the previous post is excellent and you really have to read it to understand the active data guard aspects.
    Regards.
    Ogan

  • Recovery_mode managed vs managed real time apply

    Hello All,
    I am using Oracle 11.2.0.3
    My primary database is an Oracle RAC 2 nodes database with ASM and my standby database is a single instance physical standby database on file systems.
    My protection mode is MAXIMUM PERFORMANCE
    What is the difference I do :
    alter database recover managed standby database using current logfile disconnect; (managed real time apply)
    and
    alter database recover managed standby database  disconnect; (managed)
    Does managed real time apply have any performance impact or disadvantage?
    Regards,

    Does managed real time apply have any performance impact or disadvantage?
    Performance i don't think will not be..
    For the rest of the queries you have to deside what is real use of it..? I will so you path of pros and cons of it
    Difference between real time apply and active dataguard
    What are the pros and cons using Active Data Guard vs Data Guard?
    redo apply Vs real time apply

Maybe you are looking for

  • How to sync two iCloud accounts with MS-Outlook?

    Hi People! Me and my wife have iPhones and each of us has a personal "[email protected]" account. We share the same desktop computer at home, and I am wondering how to bring both accounts info (e-mail, contacts and calendar) to the MS-Outlook. Does a

  • Trouble upgrading from iPhoto '09 version 8.1.2 to latest version

    Currently, I am using iphoto '09 version 8.1.2 and want to SAFELY upgrade to the latest version of iPhoto (and I have already upgraded to Lion). I've heard about a lot of lost data when doing this!  I started by trying to install version 9.0.1 it won

  • Archive log files are not being created

    I am doing some testing of the backup and recovery of our databases. I have a database which is in archive log mode. I have added some records to a table and I am expecting to see some archive files being written to but nothing is being produced. We

  • Client Error Message

    Does anyone know how what the error, "Maximum number of rows exceeded" means? I have a customer who is getting this error every time they try to retrieve data from an essbase cube.Thanks in advance for your time.Nicole

  • Bridge Start Up

    Hi, I have Bridge CS4, is it neccessary for Bridge to start up with windows vista?,or can I disable it from the start up in vista.Thanks