When using DataGuard, the logical standby DB is already "OPEN"?

When I was setting up the physical standby DB several years ago no DataGuard got involved), I had the impression that the standby DB is in MOUNT status.
But since when using DataGuard to set up the logical standby DB, the logical standby DB can be used as it is already OPENed.
Is it actually in OPEN status? If so, can the primary and logical standby have the same SID without any trouble?
Please help advise. Thanks a lot!

Hello Christy,
yes it is ok that both database are in status OPEN, that is also the main reason for using logical standby databases (you can do changes and queries on standby too).
I hope you don't use a logical standby database in a SAP environment, because of this is NOT supported. Check sapnote #105047 - Point  "14. Data Guard". A logical standby database has limitations.
If you just want to use the physical standby database for queries you can open it in read only or you can use flashback technology for read/write. With Oracle 11g you have these features included in data guard itself (Active Data Guard / Snapshot StandBy) to perform such steps automatically.
Regards
Stefan

Similar Messages

  • DB_NAME used by the Logical Standby db

    Hi all,
    It's Oracle 11g R2
    I have a general question about converting a Physical standby database to a Logical Standby database.
    An important step of the conversion procedure is to issue the following command:
    ALTER DATABASE RECOVER TO LOGICAL STANDBY <NEWDBNAME>;
    My question is: this statement changes the database name of the Standby database.
    How come I still can connect to the new database without having to change the SERVIC_NAME in the tnsnames.ora file?
    Here's the connection names used in the file:
    db2 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = oradb2.mydomain.com)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = oradb)
      )Here's the new db_name:
    SQL> SELECT VALUE FROM V$PARAMETER
    WHERE NAME LIKE lower('DB_NAME%')
    VALUE
    ORADBLS
    SQL> conn hr@db2 
    Enter password:
    Connected.

    If I understand you correctly, you are asking why changing the database name does not necessitate changing the service name? There is no direct relationship between them, you can define any number of service names to register with the listener. By default, there will be a service that does have the same name as the database (possibly with a domain appended) but you do not have to use that one. Query V$ACTIVE_SERVICES and DBA_SERVICES to see what services are available.
    Edited by: JohnWatson on Oct 11, 2012 1:50 PM
    Sorry - " a service that does have the same name as the database" should read " a service that does have the same unique name as the database"

  • Why Would The Logical Standby Lag?

    Oracle 11.2.0.2
    Linux RedHat 5.3+
    Logical standby
    I have a logical standby that is lagging behind the primary a lot.
    The databases have the same amount of data...about 20 million rows.
    They have the same indexes.
    I am using SQL Apply.
    I know that the slow down is that the Logical Standby is doing a full table scan because the update statement contains DECODE statements.
    It takes about 19 minutes to process this statement on the Logical Standby.
    I know what the offending statement is.
    update /*+ streams restrict_all_ref_cons */ "APPLICA"."ARCH" p set "AG_ID"=decode(:1,'N',"AG_ID",:2),
    "CREATED_BY"=decode(:3,'N',"CREATED_BY",:4),
    "CREATED_ON"=decode(:5,'N',"CREATED_ON",:6),
    "DATA_CONTACT_EMAIL"=decode(:7,'N',"DATA_CONTACT_EMAIL",:8),
    "DATA_CONTACT_NAME"=decode(:9,'N',"DATA_CONTACT_NAME",:10),
    "DATA_CONTACT_PHONE"=decode(:11,'N',"DATA_CONTACT_PHONE",:12),
    "DATA_ITEM_ID"=decode(:13,'N',"DATA_ITEM_ID",:14),
    "ITEM_ACTION"=decode(:19,'N',"ITEM_ACTION",:20),
    "ITEM_DATE"=decode(:21,'N',"ITEM_DATE",:22),
    "ITEM_STATUS"=decode(:23,'N',"ITEM_STATUS",:24),
    "MESSAGE_TIME"=decode(:25,'N',"MESSAGE_TIME",:26),
    "MODIFIED_BY"=decode(:27,'N',"MODIFIED_BY",:28),
    "MODIFIED_ON"=decode(:29,'N',"MODIFIED_ON",:30)
    where
    (:31='N' or
    (1=1 and decode(:32,'N','Y',decode(:33,"CREATED_BY",'Y'))='Y'
    and decode(:34,'N','Y',decode(:35,"CREATED_ON",'Y'))='Y'
    and decode(:36,'N','Y',decode(:37,"DATA_CONTACT_EMAIL",'Y'))='Y'
    and decode(:38,'N','Y',decode(:39,"DATA_CONTACT_NAME",'Y'))='Y'
    and decode(:40,'N','Y',decode(:41,"DATA_CONTACT_PHONE",'Y'))='Y'
    and 1=1 and decode(:46,'N','Y',decode(:47,"ITEM_ACTION",'Y'))='Y'
    and decode(:48,'N','Y',decode(:49,"ITEM_DATE",'Y'))='Y'
    and decode(:50,'N','Y',decode(:51,"ITEM_STATUS",'Y'))='Y'
    and decode(:52,'N','Y',decode(:53,"MESSAGE_TIME",'Y'))='Y'
    and decode(:54,'N','Y',decode(:55,"MODIFIED_BY",'Y'))='Y'
    and decode(:56,'N','Y',decode(:57,"MODIFIED_ON",'Y'))='Y')) and
    (:58="AG_ID") and
    (:59="DATA_ITEM_ID")
    This table does have indexes but they do not cover the entire table.
    Primary Key: AG_ID,DATA_ITEM_ID
    Index1 : ITEM_STATUS,AG_ID
    I am NOT asking why the statement is doing a full table scan I know that much.
    What I am asking is if everthing with the structure, indexes and statistics is the same why is there no problem on the PRIMDB and there is a problem on the STBYDB?

    Well I found the issue...I should say a co-worker pointed me to the correct solution.
    We were talking about the indexes and primary key and still attempting to understand why to SQL Apply was rewriting my update to include DECODE statments when he said.
    "You have the same indexes and primary key but are they USABLE."
    Well I thought of course they are usable...I just built the one index and the other is the primary key.
    After looking a bit further we found that that index for the primary key was marked as unusable. Then I remembered that when we rebuilt the standby database that I had moved that table to reduce space within the tablespace. Moving a table can invalidate the primary key index. We rebuilt the index on the primary key and all is good now.
    Regards
    Tim

  • Upgrade 10.2.0.4 RAC to 11.2.0.2 RAC using a transient logical standby?

    Has anyone performed a successful upgrade from 10.2.0.4 RAC to 11.2.0.2 RAC using a transient logical standby? I found one reference to this white paper "http://www.oracle.com/technetwork/database/features/availability/maa-wp-10gr2-transrollupg-168590.pdf" that describes steps to us transient logical standby to upgrade to 11.1.0.6 but I wasn't sure if it also works for upgrades to 11.2.0.2.
    I have a 3 node 10.2.0.4 RAC cluster running on rhel 4.8 with a 3 node dataguard physical standby (which the customer want to keep as a physical standby after the upgrade) that I need to upgrade to 11.2.0.2 with as little downtime as possible. This approach seems like a possible solution but I want to know if it is proven.

    Hi,
    I have a 3 node 10.2.0.4 RAC cluster running on rhel 4.8 with a 3 node dataguard physical standby (which the customer want to keep as a physical standby after the upgrade) that I need to upgrade to 11.2.0.2 with as little downtime as possible. This approach seems like a possible solution but I want to know if it is proven.I suggest you to log a S.R and confirm the same.
    thanks,
    X A H E E R

  • Best practice on using Flashback and Logical Standby

    Hello,
    I'm testing a fail-back scenario where I first need to activate a logical standby, then do some dummy transactions before I flashback this db and resme the redo apply. Here is what the steps look like:
    1)     Ensure logical standby is in-sync with primary
    2)     Enable flashback on standby
    3)     Create a flashback guaranteed restore point
    4)     Defer log shipping from primary
    5)     Activate the logical standby so it’s fully open to read-write
    6)     Dummy activities against the standby (which is now fully open)
    7)     Flashback the database to the guaranteed checkpoint
    8)     Resume log shipping on primary
    9)     Resume redo apply on secondary
    In the end, i can see the log shipping is happening but the logical standby does not apply any of these..and there is no error in the alert log on Standby side. But the following query could explains why the standby is idle:
    SELECT TYPE, HIGH_SCN, STATUS FROM V$LOGSTDBY;
    TYPE HIGH_SCN STATUS
    COORDINATOR ORA-16240: Waiting for log file (thread# 2, sequence# 0)
    ORA-16240: Waiting for log file (thread# string, sequence# string)
    Cause: Process is idle waiting for additional log file to be available.
    Action: No action necessary. This informational statement is provided to record the event for diagnostic purposes.
    I dont understand why it's looking for sequence #0 after the flashback.
    Thanks for the help.

    Hello;
    I hesitate to answer your question because you are not doing a good job of keeping the forum clean :
    Total Questions: 13 (13 unresolved)
    Please consider closing some of you old answered questions and rewarding those who helped you.
    No action necessary.
    Do you really have a thread 2? ( Redo thread number )
    Quick check
    select applied_scn,latest_scn from v$logstdby_progress;Use the DBA_LOGSTDBY_LOG View if you don't have a thread 2 then the sequence# is meaningless.
    COLUMN DICT_BEGIN FORMAT A10;
    SELECT FILE_NAME, SEQUENCE#, FIRST_CHANGE#, NEXT_CHANGE#,
    TIMESTAMP, DICT_BEGIN, DICT_END, THREAD# AS THR# FROM DBA_LOGSTDBY_LOG
    ORDER BY SEQUENCE#;Logical Standby questions are difficult, not a lot of them out there I'm thinking.
    Check
    http://docs.oracle.com/cd/E14072_01/server.112/e10700/manage_ls.htm
    "Waiting On Gap State" ( However I still believe you don't have a 2nd thread# )
    OR
    http://psilt.wordpress.com/2009/04/29/simple-logical-standby/
    Best Regards
    mseberg
    Edited by: mseberg on Apr 26, 2012 5:13 PM

  • Using streams or logical standby

    We are runing Oracle 9.2.0.3.0 and have a requirement to replicate the production database on another server for query and reporting purpose.
    The changes can be applied to the reporting database on a daily basis. Of course, the faster the better if there is no additional overhead added on the production database (performance acceptable on the production database).
    Do you recommend using Oracle Streams or the logical standby database and why? which one is more stable now?
    Thanks in advance for your help.

    Hi,
    there is no difference on the primary site between ADG and normal DG. And there is also no difference in shipment of the redo logs.
    The apply performance on the standby is minimally slower (< 2%) and only recognizable if you already have problems that the standby keeps up to date. But then again this does not effect your DR.
    It only means that a switchover/failover will take minimally longer....
    On the other side, there is always headroom to optimize apply performance. See here:
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-11gr1-activedataguard-1-128199.pdf
    Regards
    Sebastian

  • After I installed the recent Apple security patch, I can no longer save PDFs when using Safari. And Firefox no longer can open website PDFs. Any suggestions?

    After I installed the recent Apple security patch, I can no longer save PDFs when using Safari. And Firefox no longer can open website PDFs. Any suggestions?

    Dansyacht wrote:
    If the previous Safari suggestion doesn't work try the following:
    In Finder, go to Macintosh HD/Library/Internet Plug-ins and move AdobePDFViewerNPAPI.plugin to the Disabled Plug-ins Folder.  Restart Safari.  If this works you may just want to delete that FUBAR plug-in.
    Thanks.  This was the solution for me.
    Message was edited by: tvdowntown

  • On Yahoo Groups, Internet Explorer show a clipboard function for posting photos. When using Firefox the clipboard doesn't show up, so you can't post photos.

    On Yahoo Groups, using Internet Explorer, one can use a clipboard function to post photos to messages. When using Firefox, the clipboard doesn't appear and you cannot post photos on group messages.

    Make sure that you allow pages to choose their colors and that you haven't enabled High Contrast in the Windows Accessibility settings.
    *http://kb.mozillazine.org/Website_colors_are_wrong
    *http://kb.mozillazine.org/Websites_look_wrong

  • HT1551 When using Airplay, the display on my tv isn't being fully used (its not taking up the full widescreen tv display). How do I fix that issue?

    When using Airplay, the display on my tv isn't being fully used (its not taking up the full widescreen tv display). How do I fix that issue?

    Intermittent issues will point to a local network/wifi issue.
    Reboot ATV and router, make sure both are up to date
    Try ethernet
    The home sharing connection will cut out if the iMac goes to sleep.

  • When using reader, the font gets very large on last page and I cant change it

    when using reader, the font gets very large on last page and I cant change it

    You cannot edit PDF files with Reader. You can change the View options to make what you see smaller. View -> Zoom

  • When using FaceTime the picture is delayed and goes black ever since I updated to iOS6.0.1???

    Since I updated to iOS 6.0.1 when using FaceTime the picture is delayed and goes black???

    The <b>authorize<i></i>.net</b> website is using autocomplete=off to prevent Firefox from saving and filling the name and password.
    You can remove autocomplete=off with a bookmarklet to make Firefox save the name and password.
    *http://kb.mozillazine.org/User_name_and_password_not_remembered
    *https://support.mozilla.org/kb/Username+and+password+not+remembered

  • Is CDC feature working on the logical standby database

    I would like to implement CDC on the standby logical database instead of primary production database. Is CDC working on the logical standby database??
    Thanks.

    Thanks. My database version is: 10.2.0.4.0 and no plan to upgrade to 11g.
    Either asyn or syn CDC on logical standby database is ok for me. I searched but couldn't find any docs for how to set CDC for logical standby, they are all for primary database.
    Please help.

  • When using more than one tab, once I have opened a pdf using firefox my laptop will not allow me to type or click in another tab unless I drag the pdf into it's own window?

    when using more than one tab, once I have opened a .pdf using firefox my laptop will not allow me to type or click in another tab unless I drag the .pdf into it's own window? not a major problem just irritating.

    I found the cause but no solution, it's actually a plugin that does that: divx plus weblpayer (it gets installed when you install DivX on your system), if you disable it and restart firefox it all works again. But I want that plugin... so DivX need to fix this, unless it is a Firefox bug in its own core... anyway these two together creates the problem.
    (I'm running Firefox 9.x on OSX Lion)
    I also wish firefox tab tear out tab worked more like chrome's tab tear out, much friendlier...

  • When on Facebook (for example), Firefox is not allowing me to open pictures; when using apps, the bottom of the screen is missing so cannot utilize the apps. All working on Safari; just downloaded new Firefox 4, so seems to be a problem with this version?

    Question
    When on Facebook (for example), Firefox is not allowing me to open pictures; when using apps, the bottom of the screen is missing so cannot utilize the apps. All working on Safari; just downloaded new Firefox 4, so seems to be a proble

    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    See also "Help About".
    *Tap the Alt key or press F10 to show the Menu bar.
    In current Firefox releases (29 and later) the orange Firefox menu button has been replaced by the three-bar Firefox Menu button at the far right end of the Navigation Toolbar and this button is always visible, whether you have the menu bar visible or hidden<br>A consequence of this location is that you no longer can hide the Navigation Toolbar
    *There is a star like button next to the search bar on the Navigation Toolbar to bookmark the current web page and a "Show your bookmarks" button next to it to open the Bookmarks in a drop down menu.<br>You can find "Show All Bookmarks" to open the Bookmarks Manager (Library) at the bottom of this drop-down list
    *If you bookmark a page then "Bookmark This Page" in the Bookmarks menu changes to "Edit This Bookmark"
    *You can make the title bar visible via the "Title Bar" button at the bottom left in the Customize palette window
    It is still possible to have the menu bar visible via the right-click context menu of a toolbar to have menus like the File menu with Print (Ctrl+P) and Print Preview and the Bookmarks menu available.
    See also:
    *https://support.mozilla.org/kb/how-to-make-new-firefox-look-like-old-firefox
    *https://support.mozilla.org/kb/common-questions-after-updating-to-new-firefox
    *https://support.mozilla.org/kb/learn-more-about-the-design-of-new-firefox

  • When i click the edit tool on iPhoto, iDVD opens up every time. Now i am not able to use my edit tool. Why is this happening?

    I cannot edit any of my photos in iPhoto. When I click the edit tool on iPhoto, iDVD opens up every single time in my iMac toolbar. I cannot edit, crop or make changes to my photos. Is anything corrupt in my computer? Thanks in advance..

    Check the Preferences settings in iPhoto. You may have set iDVD as external editor.
    Set "Preferences > Advanced > Edit Photos" to "In iPhoto".
    Regards
    Leonie

Maybe you are looking for

  • Date and null problem

    Hello Techies, I am using mysql 5.0 and trying to inserting couple of values in to a table called books. CREATE TABLE books(     book_id   INT AUTO_INCREMENT PRIMARY KEY,     author_id INT,     title     VARCHAR(255),     pub_date  DATE);when i inser

  • How to send emails to HTTP server?

    hi to all, iam dont know how to send a emails & receive emails using HTTP server like HOTMAIL,SIFY so and so... what is the HTTP host of HOTMAIL and so....? and successful with SMTP,IMAP,POP3... ITS Urgent, Nagaraju G

  • Oracle Java 7 in 32bit chroot

    Is anyone able to launch java applets using Oracle Java 7 and Firefox in a 32bit chroot environment? Whenever I browse to any site which opens a Java applet I instantly get the following exception: java.lang.NullPointerException     at java.lang.Proc

  • Db link error in PL/SQL but not in SQL

    oracle 10.2.0.4 solaris 10 I have a simple procedure (anonymous block) that uses a db link to update a table in another db (on same host) The procedure fails with the following error: ORA-02019: connection description for remote database not found I

  • Cannot sync apps because installed apps cannot be determined

    Ever since I downloaded IOS 6.0.1, I cannot sync my apps.  It comes up with the below message: "iTunes cannot sync apps to the iPhone because the apps installed on the iPhone could not be determined." Anyone know how to resolve this?