Implent streams on primary database having one standby database

hi
we have two databases one is primary amd second one is standby database.
i.e.,we implemented dataguard.
Now we are planing to implement stream of primary data to different database not the standby database.
Does any one suggest that streams can be implement along with dataguard.
I f yes please suggest to me how to implement streams in 10g release2.
Regards,
JAY

Hi Jay
I'm facing the same problem.
Did you or anyone else manage to put both working?
My problem is that I cannot get rid of the log_archive_config parameter. He demands me to include the streaming destination database on it. When I putted , he says that's not a dataguard database (off course is not) .... so , I'm in a deadlock trying to configure a dataware house model with streams under dataguard environment
Any help?
Thank you

Similar Messages

  • Using streams to capture data from physical standby database.

    Does anybody know if it is possible to use streams to capture data from physical standby database instead of PROD database? The standby database is in read only mode. We use Oracle 11gR2.
    Thanks in advance.

    physical are closed : how will it managed the queues and overspill queues when target is not present? Also the data dictionary must reflect the primary but If you run capture, then you introduce rules that are not on primary: How ?

  • Move datafile on Primary not replicted on Standby Database

    I'm using an automated script to move datafiles between partitions on my standby database, this ensures that only recent data is on the faster fibre channel disks, and older data is on SATA disks.
    The commands it uses:
    1. alter tablepspace offline;
    2. unix command to mv data file from one partition to another.
    3. alter tablepspace <tbname> rename datafile ' old datafile path' to 'new datafile path';
    4. alter tablepspace online;
    This works fine on the primary database, but the standby is not moving the datafiles.
    Any help as to why this is happening would be much appreciated.
    Thanks.

    And why would it be replicated? If there already is the same file on the standby, redo entries can be applied to it. Renaming of data files is
    not an operation that would be visible in redo logs, it is visible only in the control file(s). Standy databases apply redo logs from the primary
    database, period. That is all they do. If the change is not visible in the redo logs, it isn't applied to standby. If a file is created, dropped or
    changed in size, that is communicated to the standby which reacts appropriately if the STANDBY_FILE_MANAGEMENT parameter is set to AUTO on the standby side. Redo entry contains the following information:
    <ol><li>     SCN for the change.</li>
    <li>     The file number to which the change was made</li>
    <li>The block number of the changed block.</li>
    <li>     The offset and the size of the changed information.</li>
    <li>     The changed information itself.</li>
    </ol>
    When the standby receives the archived log file and parses that information, it applies the information to the corresponding file on
    the standby side, regardless of the file name. If the file 123 exists and contains the block 9876543210, redo entry will be applied
    and all will be well. There is absolutely no way by which the standby database would be able to discern the new file name. There is
    absolutely no need for that. To change the file name on the standby side, do the following on the standby side:
    <ol><li>ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;</li>
    <li>ALTER DATABASE DATAFILE 123 OFFLINE;</li>
    <li>ALTER DATABASE RENAME FILE 123 TO '/my/db/path/new_file.dbf';</li>
    <li>ALTER DATABASE DATAFILE 123 ONLINE;</li>
    <li>ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;</li>
    </ol>

  • Physical Standby database Vs. Logical Standby database

    I have few questions regarding capability of Logical Standby Database against Physical Standby database.
    1. How efficient is Logical Standby database in terms of Physical Standby Database?? How both differ from each other and can I use Logical Standby Database for disaster Recovery?? Can It be use for recovering the failed Primary Instance?? If yes how efficient and reliable it is??
    2. What are the known bugs and roadblocks for logical standby database on Oracle 10.2.0.1 on Soalris X86-64?
    3.As logical standby database not going to replicate each and every schema of Primary database?? how is the change management effects to the logical standby from primary?? I mean there are some parameters and job that we create on primary how can it be transferred over to the logical standby??

    1. How efficient is Logical Standby database in terms
    of Physical Standby Database?? How both differ from
    each other and can I use Logical Standby Database for
    disaster Recovery?? Can It be use for recovering the
    failed Primary Instance?? If yes how efficient and
    reliable it is??I'm not sure what sort of "efficiency" you're talking about here...
    Physical standby is just the old, tried and true application of archived logs to recover a database. Very solid, very old school.
    Logical standby, on the other hand, is parsing the redo log, extracting logical change records, and applying them to the standby database. This obviously takes a bit more processing effort, it's newer technology, it doesn't have quite the level of support that physical standby does (i.e. certain data types are excluded), etc. You certainly can use it for failover, but it isn't quite as robust as a physical standby. Of course, this is getting better and better all the time and is definitely a focus of Oracle's development efforts.
    On the other hand, logical standby systems can do things other than act as a warm standby. They can be open serving reports, for example. You can create additional structures (i.e. new materialized views) to support reporting. A physical standby is pretty much always going to be in managed recovery mode, so it cannot be queried.
    2. What are the known bugs and roadblocks for logical
    standby database on Oracle 10.2.0.1 on Soalris
    X86-64?a) You'll want to do a Metalink search
    b) If you're talking about a high-availability solution, why are you looking at a base release of the database? Why wouldn't you apply the latest patchset?
    3.As logical standby database not going to replicate
    each and every schema of Primary database?? how is
    the change management effects to the logical standby
    from primary?? I mean there are some parameters and
    job that we create on primary how can it be
    transferred over to the logical standby??I'm not sure I understand... Changes made to the primary generate redo. Oracle parses that redo, generates a LCR, and sends that to the standby database where that change record gets applied.
    Justin

  • A new question on how to Enable Flashback Database on the standby database?

    Best Practice document said:
    Enable Flashback Database on the standby database to minimize downtime for logical corruptions.
    I would like to know where to find document or anybody already had experience for this topic?
    Also I would like to know what is the best practice for backup/recovery of the Physcial standby database?
    Thanks in advance.

    Hello;
    Just an opinion but I like the book "Oracle Data Guard 11g Handbook" as both the document and the answers to the second question.
    Chapter 12 covers the A to Z of RMAN with Data Guard.
    This book sold me on Flashback since Flashback allows a former Primary database to be reinstated after a failover operation with being restored ( provided sufficient flashback logs are available)
    My own experience is I tried a failover test without it and trash my test Primary.
    I did a simple failover test a few weeks ago, here are my notes.
    http://www.visi.com/~mseberg/Data_Guard_Failover_Test_using_SQL.pdf
    Best Regards
    mseberg

  • ALTER DATABASE RECOVER MANAGED STANDBY DATABASE

    Hi,
    on 10g R2, how to know if :
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE
    DISCONNECT;
    is already applied ?
    thank you.

    user522961 wrote:
    thanks to all.
    Should I issue the following and others on standby or on primary ?
    select process,status from v$managed_standby;
    Regards.You need execute that from standby instance.In additionally you can see standby instances alert.log.And if this process is active then if you execute this command again then you will get an error like "Media recover is active".

  • ALTER DATABASE  RECOVER MANAGE STANDBY DATABASE

    During the creation of Logical Standby database (NOAA2), after issuing the statement:
    "ALTER DATABASE RECOVER MANAGE STANDBY DATABASE"
    the following error appears:
    FAL[server, ARC1]: Complete FAL noexpedite archive (thread 1 sequence 46 destination NOAA2)
    ARC1: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (3113)
    ARC1: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
    PING[ARC1]: Error 3113 when pinging standby NOAA2.
    Can someone please shed any light on the problem.
    Thank you.

    Perform these steps on Standby and see if it works
    %lsnrctl stop
    %lsnrctl start

  • Can i convert logical standby database to physical standby database

    Dear All,
    Can i convert a logical standby database to physical standby database?
    If yes, what are the steps to follow?
    Thanks
    Mahipal

    I never needed or tested something like this, but below maybe usefull -
    Transient Logical Standby
    Users can convert a physical standby to a transient logical standby database to effect a rolling database upgrade, and then revert the standby to its original state as a physical standby database once the upgrade is complete - using the KEEP IDENTITY clause. This benefits physical standby users who wish to execute a rolling database upgrade without investing in redundant storage otherwise needed to create a logical standby database.
    http://www.oracle.com/technology/deploy/availability/htdocs/DataGuardOverview.html
    But opposite is documented - http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ls.htm#BEIGJCAC
    best regards.

  • RAW primary database and ASM standby database

    Hi,
    I would like to know if it is possible to have a ASM standby database for a primary database which is on RAW files.Is there any changes in procedure for a switchover to DR site.

    Sekar_BLUE4EVER wrote:
    Hi,
    I would like to know if it is possible to have a ASM standby database for a primary database which is on RAW files.Is there any changes in procedure for a switchover to DR site.Yes, you can. and there is no change in procedure for switchover.
    for creation of standby DB, consider these parameters: db_create_file_dest,db_recovery_file_dest,control_files
    see an example here: http://pythianpang.wordpress.com/2010/02/18/data-guard-non-asm-primary-to-asm-physical-standby/
    HTH
    Tobi
    Edited by: teits on Nov 20, 2012 12:13 PM

  • Logical standby database to physical standby database

    I already start my logical standby database and I want to return it again to physical standby database. So what should I do?

    >
    The "may be" is because I have tested flashback of a physical standby to before resetlogs, but not a logical standby.
    >
    A physical standby keeps the DBID of the primary - a logical standby does not. That is exactly the problem that restricts the reconversion into physical from logical, and you did not encounter that problem.
    >
    I haven't used "keep identity" but from what I read it relates to "convert to physical" not "flashback database".
    >
    Exactly. And that is what the OP wants to do: convert to physical (from logical).
    You mentioned that this might be possible with flashback.
    Problem: During the conversion from physical to logical, the DBID gets changed unless you specify (in 11g) KEEP IDENTITY. This would make it possible to reconvert into phyiscal from logical.
    In short: If there is no solution for the changed DBID of the logical standby in order to flashback it into physical as you suggested, then it is not possible .
    When I saw your first answer, I thought that you might have a solution in mind in order to solve that obvious problem. Sorry for having bothered you.
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • Apply Patches on Oracle Database with Logical Standby Database

    Here I am:
    I got a primary database with a logical standby database running Oracle 11g. I got two client applications, one is the production site pointing to the primary one, another one is just a backup site pointing to the logical one.Things will only be written into the primary database every mid night and client applications can only query the database but not add, update nor delete.And now, I want to apply the latest patch on both of my databases. I am also the DNS administrator, I can make the name server pointing to the backup site instead of the production one.I want to firstly apply the patch on the logical one, and then the physical one.
    I found some reference which explains how to apply patches by adopting "Rolling Upgrade Method". however, I want to avoid doing any "switch over" mentioned in the reference because I can make use of name server. Can I just apply patches as the following way?
    1)Stop SQL apply
    2)Apply patches on logical standby database
    3)let the name server point to the backup site
    4)Apply patches on the primary database
    5)Start SQL apply
    6)Let the name server point back to the production site
    Thanks in advance.

    Pl follow the steps in MOS Doc 437276.1 ( Upgrading Oracle Database with a Logical Standby Database In Place )
    HTH
    Srini

  • How to convert logical standby database to Physical Standby Database

    Hi,
    Does anyone know how to convert logical standby database(10.2.0.3) to Physical Standby Database(10.2.0.3)? Is this possible? If so,please give me steps for it.
    Thanks.
    Regards,
    RJ.

    I don't believe this to be possible. One of the steps invloved in the creation of a logical standby is the following:
    ALTER DATABASE OPEN RESETLOGS;
    This makes the logical standby a different incarnation of the db from the primary.
    A physical standby is a binary copy of a primary db, a logical standby is a completely seperate db that just happens to get sql statements applied to it that are generated from a primary db, but is open read/write.
    One avenue, though would be if you had flashback database enabled and you flashed back all the way to when the db was a physical standby and then rolled forward with the archived redo logs.
    It's somewhat unlikely you are in that situation, but that is a possibility.
    Indeed the 11g snapshot standby does this sort of thing:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/manage_ps.htm#sthref740
    jason.
    http://jarneil.wordpress.com

  • Database refresh from standby database

    All,
    OS : Sun version : 11.1.0.7
    I'm doing database refresh using stand by database datafiles in different server.
    1)Disabled Data guard broker in standby database .
    2)Copied all datafiles in mount stage to target server (different server)
    3)created controlfile and started the database in mount stage in different server
    4)Applied all archive log files .
    5)But still the database not recovered .
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 10401147296308 generated at 01/13/2012 09:03:43 needed for
    thread 1
    ORA-00289: suggestion :
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57879.arc
    ORA-00280: change 10401147296308 for thread 1 is in sequence #57879
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57879.arc
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57885.arc
    ORA-00279: change 10401156453328 generated at 01/13/2012 10:48:01 needed for
    thread 1
    ORA-00289: suggestion :
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57886.arc
    ORA-00280: change 10401156453328 for thread 1 is in sequence #57886
    ORA-00278: log file
    '/u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57885.arc' no longer
    needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01196: file 1 is inconsistent due to a failed media recovery session
    ORA-01110: data file 1:
    '/mounts/qecgdeva_data/oradata/qecgdeva/dbfiles/qecgprod_system.dbf'
    ORA-01112: media recovery not started
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01196: file 1 is inconsistent due to a failed media recovery session
    ORA-01110: data file 1:
    '/mounts/qecgdeva_data/oradata/qecgdeva/dbfiles/qecgprod_system.dbf'Am I missing any steps here ? Please advice me on this .
    Thanks.

    Hi,
    When you copy files of standby server to another target server ? - Yesterday.
    Is standby is SYNC with primary? or MRP is still running? - ---------yes, standby db is running fine .
    Even you can open database with resetlogs after recreating controlfile, no need of recovery too -- >I was unable to open . So went to apply arch files.
    Do you have archive of thread 1 is in sequence #57887, -- No , Because sequence 57887 yet generate. I have applied all recent available archive log files.
    ORA-00289: suggestion :
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57886.arc
    ORA-00280: change 10401156453328 for thread 1 is in sequence #57886
    ORA-00278: log file
    '/u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57885.arc' no longer
    needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01196: file 1 is inconsistent due to a failed media recovery session
    ORA-01110: data file 1:
    '/mounts/qecgdeva_data/oradata/qecgdeva/dbfiles/qecgprod_system.dbf'
    ORA-01112: media recovery not started
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01196: file 1 is inconsistent due to a failed media recovery session
    ORA-01110: data file 1:
    '/mounts/qecgdeva_data/oradata/qecgdeva/dbfiles/qecgprod_system.dbf'Edited by: 805877 on Jan 12, 2012 10:43 PM

  • Flashback database and Physical Standby databases

    Hi,
    We are thinking about the following scenario in our Production Standby databases. We are trying to do this to avoid number database cloning situations.
    When we require live data to test data fixes :-
    1. Switchover/failover the standby database.
    2. opened this database in read write mode.
    3. Apply the fix and test.
    4. Flashing back the database prior to the SCN which did the switchover/failover.
    5. Activate the standby again using a new standby controlfile.
    Would you experts please comment on this idea?
    Is this is possible? If so, would you please guide through the steps/some documentation.
    Thanks in advance

    This will not work according to me,
    1)U can give previous SCN in rollback and gets the data till that SCN, but it will not become standby unless u make it a standby again manually by creating standy controlfile etc(may be this will be succesfull and limited up to check the data fixes).
    2)Iif your first step succesfull then what about the fixes u test by applying patches using opatch and patchsets that cannot be rollbacked using flashback because they are copying new version files and adding some more configuration files to oracle home?.
    There are lots of pitfalls and loop holes needed to be checked
    Regards
    Kaunain

  • One primary and two physical standby database creation

    hi
    i want to create two standby (physical) and one primary dataguard.
    so please tell me what is sequence for db_file_name_convert and db_file_name_convert.
    i mean how i will give database name or path in this parameter.

    Hello;
    One option is Data Guard Cascading Standby.
    Here are my complete test notes if it help :
    http://www.visi.com/~mseberg/Data_Guard_Cascading_Standby_Setup_and_Test.pdf
    Best Regards
    mseberg

Maybe you are looking for

  • Problem with jdbc oci in oracle full installation

    Hi, My server has Oracle 10g R2 in full installation, and not run jdbc in oci, my java command: /usr/java/jre1.5.0_07/bin/java -Dlibrary.path=/oracle/product/10.2.0/db_1/lib -cp ... mypackage.myclass and its says: java.lang.UnsatisfiedLinkError: /ora

  • I want an iPhone bad, but should I wait???

    Do I wait? I've been with Verizon for 10 years now, and I'm completely obsessed with the iPhone. Their version, the Voyager, is junk compared to the iPhone. My house is full of Mac products, and the only thing missing now is the iPhone. I like the cu

  • MATCHING TEMPO TO IMPORTED SONG

    Hello all,, need some help here, My band wants me to track a song,,(play along to pre-recorded song w/click on left). Basically I imported the whole song into logic and am trying to match up BPM so a click can be perfectly in sync,, I have tried what

  • Pages load incorrectly - no scroll bar

    I've been having a strange problem with Safari after upgrading to Leopard. Sometimes when I load or go back to previously loaded pages, the scroll bar disappears and I can't navigate to the entire page, even with the arrow keys. There seems to be no

  • Canon HV20 and HDV footage

    Hello All, I recently purchased a Canon HV20, but have only recorded and edited in SD DV. Today I was reading a clip on the internet that gave me a bit of a surprised. Here is a part of the clip, [This article was first published in the Sept/Oct, 200