Dataguard 10g question

This is from the doco:
A physical standby database can be opened temporarily in read/write mode for development, reporting, or testing purposes, and then flashed back to a point in the past to be reverted back to a physical standby database. When the database is flashed back, Data Guard automatically synchronizes the standby database with the primary database, without the need to re-create the physical standby database from a backup copy of the primary database.
This doesn't affect the primary database at all, right? I just want to confirm. I recall having some issues trying to open the standby database in read/write. Can anyone confirm if they've been able to open the standby database read/write while leaving the primary up and running.
Thanks.
P.S. This is on Oracle 10g R2

This is a new and wonderful feature from 10g version.

Similar Messages

  • Dataguard Interview questions and most frequeently asked DG issues

    Hi Gurus,
    I am new to this forum and happy to be a part of it.
    Can someone help me in posting " Dataguard Interview questions and most frequeently asked DG issues" as i am preparing for the interviews.
    And also share the enhancements to DG in 11g.
    Thanks in advance.

    I'm not impressed by any of the questions at any of the linked sites provided so here are the one's I would expect someone to be able to answer:
    1. What is the difference between Physical and Logical Data Guard in terms of how they work and how they are used in the enterprise?
    2. What is the difference between vanilla Data Guard and Active and Snapshot?
    3. How do you enable the Data Guard Broker process and why and when would you want to?
    4. Who is Larry Carpenter and why should you care?
    5. What parameters in using orapwd are critical for success?
    6. What would you recommend as a value for SEND_BUF_SIZE and why?
    7. Given a primary production database, and a full RMAN backup that takes 1 hour to fully restore ... how long would it take you to implement Physical Data Guard from the time you started working?
    If the answer to question 7 is greater than 2 hours ... my assumption would be that you probably had never done it before and it wouldn't matter that you got the first six questions correct.

  • RMAN and Dataguard (10g)

    Hi all,
    I know this topic has been discussed several times over on this forum, but I have a peculiar situation.
    I have just inherited a client system with 10g and DataGuard with RMAN. The standby is Physical and both nodes are on HP-UX version and patchsets.
    The standby is persistently idle. The client insists on backing up the physical standby only.
    My question is this, is there any danger in backing up on the physical standby?. I've argued the case that we should backup the Primary and Standby to no joy. I am a little worried that we may experience a failure on the primary and start a recovery with backup taken from the Standby node. Is this feasible at all?
    Please confirm that I am right.
    Regards,
    Timothy.

    Having a recovery catalog, there's a resync with the standby controlfile after the backup, the backup informations are now in the catalog. Now when you need to restore/recover the primary database you connect to this and to the catalog. Primary and standby are clones , so you access the same record in the catalog regardless whether you are connected to the primary or to the standby. Because of this a resync will refresh the primary controlfile with the backup records which were taken while connected to th standby. A simple backup/recovery example looks like this:
    1) connect target sys/pwd@stdby catalog rman/pwd@rmancat
    2) backup database; (resync happens automatically after this)
    4) connect target sys/pwd@prim catalog rman/pwd@rmancat
    5) resync catalog;
    6) restore database;
    7) recoverer database:
    It's not mandatory, but recommended to backup the archivelogs on the primary side. Here you are sure to have all archivelogs (at least under regular circumstances). For many reasons it could happen, you miss some archives on the standby side.
    It's possible to run a standby in read-only mode for reporting purposes. In this case archivelog applying is suspended. If you have such a situation it's not recommended to backup the standby database, possibly it does not change for a long time and in case of recovery you have to apply a large number of archivelogs.
    Werner

  • DataGuard 10g

    Hi:
    I am working on DataGuard on 10g database. I have a question about the db_file_name_convert parameter in init.ora file on Primary database. I set db_file_name_convert='d:\oracle\product\10.2.0\oradata\standby', 'd:\oracle\product\10.2.0\oradata\orcl'. BUT now I found I have 6 files on 'd:\oracle\product\10.2.0\oradata\orcl', and one on D:\ORACLE\PRODUCT\10.2.0\DB_2\PERFSTAT.DBF. Would you please tell me how to set the db_file_name_convert for my case?
    Thank you very much!
    User

    You can try:
    db_file_name_convert=('d:\oracle\product\10.2.0\oradata\orcl', 'd:\oracle\product\10.2.0\oradata\standby', 'D:\ORACLE\PRODUCT\10.2.0\DB_2','d:\oracle\product\10.2.0\oradata\standby')Note that odd parameters (1st, 3rd, etc) specify primary database datafile file name and that even parameters (2nd, 4th, etc.) specify
    standby database datafile file name.
    See Reference Guide http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams112.htm#CHDGDFFD
    Edited by: P. Forstmann on 23 déc. 2009 14:13
    Edited by: P. Forstmann on 23 déc. 2009 14:16
    Edited by: P. Forstmann on 23 déc. 2009 15:00: added missing quote

  • Using Oracle Dataguard 10g With Oracle EBS

    Hello,
    I am working on Linux with Oracle Database 10g and Oracle EBS R12 and trying to configure Oracle Data Guard with Oracle EBS. I have been reading Oracle My Support Document (Business Continuity for Oracle E-Business Release 12 Using Oracle 11g Physical Standby Database [ID 1070033.1] ).
    Please let me know of any another useful documents. It will also be helpful if anyone could share real time experiences.
    Thank you.

    Hi,
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/ha/dataguard/physstby/physstdby.htm
    http://www.oracle.com/technetwork/database/features/availability/dataguardoverview-083155.html
    Regards
    Yoonas

  • Dataguard quick question

    Hi:
    I have dataguard implemented for version Oracle 10gR3. During migration, we had to import from old server to new server. While import, we had to turn off Archive Log for about 2hrs to speed up the import process. Once the import was done, we enabled the Archive log. During this switch, DG Physical standby failed. When i try to reinitialize, the standby is not applying any more logs from teh time the Archivelog was disabled.
    My question is - Shoul i recreate the DG standby by dropping the current one which is lagging more than 50 logs or can i repair the standby to start applying the logs and move forward?
    Please advise.
    Thanks
    Here are few commands i used to sync Standby with Primary:
    --On standby in MOUNT state: "alter database recover managed standby database disconnect from session;"
    --Verify new archived redo log file applied- few from the list
    1 SELECT SEQUENCE#,APPLIED FROM V$ARCHIVED_LOG
    2* ORDER BY SEQUENCE#
    SEQUENCE# APPLIED
    2397 YES
    2398 YES
    2399 YES
    2400 YES
    2442 NO
    2443 NO
    2444 NO
    2445 NO
    2446 NO

    Yes. When you say 're-initiate'--recreate from scratch by dropping the current one? When i drop the current one and start the recreation - should this have any impact on the primary? I believe it will not bounce or take anything offline on the primary right? Just want to confirm....thanks.

  • 10g Question, or issue, anyone smarter than me?

    Hi,
    We want to install 10g, we are currently running 9i. We want to do this in silent mode since we have so many databases to move to 10g. We've got a few questions & concerns about the procedures that are supposed to be done.
    If someone could kindly read over some of our concerns, we'd appreciate it.
    First, we used the -record method to create a response file. How much do we have to manually edit that file once Oracle creates it for us? Or is it ready to go after we exit the OUI.
    When we tried to do the install, it said it successfully installed 10g, but it failed on some of the configuration assistants. Do we need to run all of the configuration assistants? I mean, TNS is already configured. Does it change for the 10g install?
    Additionally, once the 10g software is complete, the environment is still set to 9i. How does that get changed for the silent install to continue with the DBUA? I mean, we do have databases that need upgrading.
    Any help with steps would be very helpful to us. We're getting error messages like this:
    The installation of Oracle Database 10g was successful, but some
    optional configuration assistants failed, were cancelled or skipped.
    Please check
    '/ora2/app/oracle/oraInventory/logs/silentInstall2006-10-26_01-26-39PM.log'
    for more details.
    UnsatisfiedLinkError exception loading native library: njni10
    java.lang.UnsatisfiedLinkError: jniGetOracleHome
    at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
    at oracle.net.ca.NetCA.main(Unknown Source)
    Oracle Net Services configuration failed. The exit code is -1
    Thank you in advance for your help.

    There's a problem reported for library libnjni10.so under AIX, it doesn't happen in the same context, but anyway you could try the given solution:
    You should have environment variable LIBPATH, which includes references to $ORACLE_HOME/lib and / or $ORACLE_HOME/lib32, libnjni10.so exists in both directories.
    The correct version for this library is in 'lib32', so lib32 must come in front of 'lib' in LIBPATH, despite of the fact it's AIX 64bit.
    Werner

  • Oracle 10g questions, please

    I looked through Oracle 10g reference documentation, but still have some questions.
    1) Could "Global Temporary" tables contain SDO-type columns now?...
    2) Could O10g AS MapViewer be used not only in browser pages, but in JAVA applications, wrote in Swing etc.?
    3) Where MapViewer's itself and its JAVA-API's documentation locates?.. I haven't found it :(((

    1) Could "Global Temporary" tables contain SDO-type columns now?...Yes, they can. But you cannot create any spatial index on temporary tables:
    ORA-29918: cannot create domain indexes on temporary tables
    2) Could O10g AS MapViewer be used not only in browser pages, but in JAVA applications, wrote in Swing etc.?
    Sure. However, your application will still need to interact with the mapviewer server.
    3) Where MapViewer's itself and its JAVA-API's documentation locates?.. I haven't found it :(((
    Check out: http://www.oracle.com/technology/software/products/mapviewer/index.html
    Albert

  • Oracle 10gR2 Dataguard quick question

    Hi -
    Just a quick question about Oracle 10gR2 Dataguard. I'm in the process of creating dataguard standby, which is running for few hours and could take few more hours because of the size and the standby's network latency, and i'm using OMS to create the DG. I'm in a situation now to create new tablespace(A) and also one more datafile to the existing tablespace(B).
    Question is: How would this new tablespace and the new datafile in the existing tablespace affect the DG standby which is about to finish in couple hours? Will the DG pickup the new changes from the primary? Or, will it be done with error from the mismatch of the number of files? The issue is that i can't wait for the standby creation to be done as the additional tablespace and datafile requirement is production critical, and should be added right away.
    note: standby_file_management is set to auto.
    Thanks for your response.
    regards.

    Your post is a bit vague, as OMS is an acronym for Oracle Management Server, which is a service only.
    If you would have stated you are using Database Control, or RMAN duplicate database, the picture would have been much clearer.
    Database Control uses rman duplicate database.
    Recovery is the mandatory implicit last step of this procedure to pick up all changes since you started the duplicate.
    One word of warning: Network latency is one thing to avoid like hell in a standby configuration.
    It might even slow down your production database.
    Sybrand Bakker
    Senior Oracle DBA

  • 10g Questions - Folder structure, Files, Post-migration Scripts

    Hi, Oracle Pros
    I have a few questions that I have encountered in my 10g installation process. I hope I could get some help from you.
    1- After I have installed 10g (release 2) software AND Enterprise Manager (release 1), I have noticed the installation has arranged the folders under 'Oracle' differently in my Windows 2003 Server. For example, I have two 'oradata' folders; one (EM) is right under the root 'oracle'; the other one (10g) under 'product > 10g'.
    We'd like to re-arrange those folders to make it consistent and make more sense. Would this re-arrangement of folders affect applying patches later? I assume the way the install arranges the folders is following the OFA. That's why I am afraid to re-arrange folders after the install.
    2- Does one use p-file or sp-file to start a database? I understand one can create one from the other. Does using either make any difference? If so, how?
    3- I was told that after the software is said and done, not only do we need to import our 8i datafiles, but also write some script for the user, grant, tablesspace to be migrated as well. Is writing script for those objects really necessary? Why can't the OUI take care of all that?
    I'd appreciate any of your help.
    Have a good day.
    CJ

    2- Does one use p-file or sp-file to start a
    database? I understand one can create one from the
    other. Does using either make any difference? If so,
    how?Either one.
    The issue with PFILE is that it must be available to the DBA running the STARTUP command - on that DBA's platform. If you have multiple DBAs and possibly permit remote administration, there is a danger that you will have several PFILEs that are not in sync.
    Because of this, Oracle created the SPFILE concep. It ensures there is only one natural initialization file, and that file is under the control of the server. It can be backed up by RMAN, it can be used by RAC instances, etc.
    After kicking and screamiung at the change, I have become quite happy using SPFILE only - except for those increasingly rare non-dynamic parameter changes.

  • AWM 10g Questions

    Hi,
    I am running AWM 10g (10.2.0.1.2A) on a 10.1.0.4 database. Here're couple of questions I have,
    1. How do I create Sub - Measure folders in AWM? Earlier, I could use CWM2 procedure to create a catalog and a sub-catalog under that, which would then look like a directory tree structure while accessing using discoverer. I do not see anything that let me create a subfolder in AWM. Can you tell me how to achieve that?
    2. Is there a way to hide a measure or calculated measure I created in a Cube?
    Thanks for your help.

    Suresh,
    Here's a quick example - slightly contrived, I don't have access to anything better at the moment. It's all java, if you need more I can probably help next week.
    Only other point to note is that if you use Discoverer to view your measure folders, then the lower levels won't appear unless you have added a measure to the lowest folder. Not sure about the other tools.
    Cheers.
    String awName = "U1";
    //Connect
    AWConnection m_awConnection = new AWConnection(id, pwd, con);
    //read the AW metadata
    AW m_aw = AW.readAWDefinitions(m_awConnection, awName, "RW");
    //add some folders
    //create a folder off of the root
    MeasureFolder folder1 = m_aw.createMeasureFolder();
    folder1.setName("FOLDER1");
    folder1.setLongName("Root folder");
    folder1.setShortName("Root folder");
    // and add measures to the folder, assumes you've defined/found the measure
    Cube l_cube = m_aw.findCube("CUBENAME");
    Measure l_meas = l_cube.findMeasure("MEAS1")
    folder1.addMeasure(l_meas);
    // Add the sub folder
    // OPtion 1: Create the meas folder directly as a child
    // MeasureFolder folder2 = folder1.createMeasureFolder();
    MeasureFolder folder2 = m_aw.createMeasureFolder();
    folder2.setName("CHILDFOLDER");
    folder2.setLongName("Child Folder");
    folder2.setShortName("Child Folder");
    Measure l_meas = l_cube.findMeasure("MEAS2")
    folder2.addMeasure(l_meas);
    // Option2 : Create meas folder in same way, and then add to existing meas folder
    folder1.addMeasureFolder(folder2);
    // Don't forget this step!
    folder1.Create(m_awConnection);
    // FInally commit
    m_aw.Commit(m_awConnection);

  • Dataguard general question

    If you are using 11gR1 DataGuard ...
    If you truncate a table and import data back into the table on the PRIMARY will these actions carry forward to the STANDBY?
    Edited by: G. Chaika on Aug 13, 2010 11:49 AM

    Dear G. Chaika,
    The answer to your question should be "yes" and i think you may simply try it on your database.
    On the other hand since you are using the 11gR1 you can open the standby database with the read-only option and start the MRP process durin the physical stanby database is open. That means the data guard will continue to replicate the database while doing that, the physical sandby will open (read-only).
    This makes you easily trace the standby database actions when something changes on the primary database.
    Hope That Helps.
    Ogan

  • Dataguard 10g parameter

    hello
    i am setting up dataguard on 10g winxp,
    i want that the standby database have the same name like the primary , but wouldnt that create a conflict in this parameter
    LOG_ARCHIVE_CONFIG='DG_CONFIG=(chicago,boston)'
    LOG_ARCHIVE_CONFIG='DG_CONFIG=(chicago,chicago)'
    thanks?

    hello
    i was reading the documentation its says that this parameter specifies the
    DB_UNIQUE_NAME of the primary and standby databases
    is that the same as their services names ?
    thanks again

  • OCP 10g question: Policy-based database configuration framework

    Hi Oracle Gurus out there,
    I am preparing for Oracle 10g certification. I was able to find answers to most of my questions from the documentation. But this particular topic is somehow missing everywhere, or I am not understanding it correctly.
    There are some questions on this topic according to the people who gave their beta exam 1z1-040
    Does anybody has any idea what does Oracle mean by 'Policy-based database configuration framework'
    Any help will be appreciated
    Thanks
    Yogesh

    Ofonime,
    the link to the document is
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=11740.1
    But you need a MetaLink account in order to access it.

  • Oracle Forms Builder 10g Questions

    Good day everyone,
    I want to start off by saying that I'm very new to Oracle Forms Builder (it was dumped on my table about a month ago) and I'm having some issues I need resolved in order to complete a project for a client.
    I'm looking mainly for documentation or resources that will show me how to do the following in Oracle Forms Builder 10g:
    * Use either the ENTER button or mouse click to navigate between mandatory fields in a form (currently only TAB works)
    * Populate a field[s] after pressing a search button based on a SQL query
    * Populate a field[s] on launch based on a SQL query
    * Throw a warning message if an SQL query returns with a specific result
    * Populate a drop down menu based on a SQL query (ie only show valid options to user)
    * Remove static highlighting (fields should only be highlighted if necessary, which is never on this particular form)

    I've been able to reduce my problem down to the fact that Oracle Forms Builder 10g is not configured correctly on my machine for my environment. I can seem to get Oracle Forms Builder to see my libraries. When I load the form I'm working on I get the following error:
    FRM-18108: Failed to load the following objects.
    Source Module:utlf_gui
    Source Object: TOOLBAR_MDI
    +... (many more of the one above)+
    I press ok and get the following error:
    FRM-10102: Cannot attach PL/SQL library sdsl. This library attachment will be lost if the module is saved.
    +... (many more of the one above)+
    From my various searches on the internet I've learned that this is because Oracle Forms Developer can not find the listed PL/SQL libraries and I should check my Environmental variables. I've set up two Environmental variables with the following:
    Forms_Path = C:\<project path>\Lib\   (This is the folder in the project folder where all the PL/SQL libraries are stored)
    Forms90_Path = C:\<project path>\Lib\   (This is the folder in the project folder where all the PL/SQL libraries are stored)
    I created both Environmental variables because there wasn't any consistency on the sites I was checking to which was needed.
    Also if I try to attack a PL/SQL library I get the following error:
    Attached library name <name> contains a non-portable directory specification. Remove path?
    I press yes or no and get the following error:
    PDE-PLI038 Cannot open file for use as a PL/SQL library.
    Any help is much appreciated.
    Edited by: ThomasBoxall on 12-Dec-2011 12:18

Maybe you are looking for

  • Left over objects from install?

    I had started to migrate DNS and DHCP from a Netware 6.5 server to an OES 11 server and then held off. DNS and DHCP are both still running fine on my two Netware 6.5 servers. I noticed that I have some odd objects scattered around my tree now. Netwar

  • JSms 2.1.6:- how to know the status of message sent through GsmSmsService

    hi, i am using jSms 2.1.6 can any one help in knowing the status of the messege which i sent through GsmSmsService, wheather messege reached the destination or not is there any way to know this please it is urgent nalin

  • Add field in listing/exclusion selection screen

    Hi, expert, i have create a condition table for my listing type Z001. there is a field name ZZABCD in the condition table. In VB03, I can see the conditon table in 'Key combination'. Now i want to add the field into the selection screen when i click

  • Copy prices between documents assigned to different pricing procedures

    Different pricing procedures are assigned to sales document & Billing document -- however some of the condition types are common in the two procedures-- would the pricing get copied for the those common conditions if the copy control is set to copy (

  • Sub-projects keep disappearing

    I have a master project set up with five sub-projects but just recently whenever I open the master project, the sub-projects are not there, the whole task sheet is just blank. Sometimes doing a combination of 'Show outline level 1' and then 'Show all