Streams on a standby database

Does anyone know if Streams can be implemented on a standby database (logical or physical stnadby)? In other words, can a standby database be the source or primary database for streams?

Additional inforamtion for my posted question below:
Can Stream be implemented on a logical standby database? For example, use Stream to replicate one schema objects (tables and indexes ..) from an remote database to a logical standby database of a different primary database?
In this case, the remote database will be the source database and the logical standby database will be the destination database.
Thanks in advance!

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 ?

  • Oracle stream and  standby database

    i want to implement stream(table level) in the following scenario
    what i must to set for standby as when i switch to standby database the stream work correctly like when primary was working.
    DB1--------------------stream---------------------DB2
    DB1standby .......................................DB2standby
    Narges.

    Your schema above do not tell us if this is a streams master/master. Also it is important to know if you a doing full schema replication or only some tables.
    For the db_name think global name : how do you setup a propagation when the source DB and target DB have the same TNS entry - whose name is driven by the rule dblink name = global_name = tns entry.
    Here it is a slightly different case : DG will succeed to SRC and appear as the same DB for the remote though they are on different hostname. Only way is the fail over in tns entry when you set multiple host for the same services.
    The rest should be ok except for the lost data of SRC which requires a re-sync.
    On the streams side problems remains and I am still skeptic on the feasibility : on paper no problems but problems come fast for the data's lost during the switch to DG (and this is to be expected with async DG, last SCN's will be missing on DG but not necessary on remote target site).
    Then both sites will start suffering on the loss of this data most probably with ORA 1403 data not found or Streams transactions pending and there is no way to predict the extend of this in advance. The re-sync of this status is then crucial and I am working on this. I will come back to the community with a generic procedure for master-master re-sync. One of the main problem is to identify table remote correspondents: These are easy to determine for declarative transformations but for transformation done within apply handler or transformation function associated to a context I have not find better than to comes back to the DBA and ask pitifully which are the remote target tables. The correspondence is a precious data that do not appear in any data dictionary view, but is only into the text of a pl/sql block.
    For my comments on the others thread, when the former SRC comes back, I have not considered the possibility in 11g to re-sync the former Master with a DG being the new master and sound like I should have.
    But this is all new also for me and I need to test it. if it works then you don't have the problem to setup a downstream capture between 2 DB having the same db_name.

  • 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

  • Logical Standby Database in NOARCHIVE Mode

    Hi,
    I have configured a Logical Standby Database for Reporting purposes. A Physical Standby Database is running for MAA. i.e. in case of Role Transition (switch/Failover) the Physical Stdby Db will get the role of the Primary.
    The logical standby database is creating a lot of Archive Redologs files, nearly every minute. Redolog files are 50MB and there is no work done in db during the time. I'm NOT using Standby Redolog files.
    Is there a need for logical standby database to be in NOARCHIVELOG mode? The Primary is definatley in ARCHIVELOG mode.
    Thanks for any responses.
    regards
    Sahba

    hi,
    well there are two things to the above:-
    1. there was an archive file nearly every minute:
    this is due to a db recovery. for some reason, the db was in inconsistent state, after a sudden shutdownof the OS. I was on a test environment, on windows vista, unfortunately. unimportant ... a reboot solved it.
    2. Logical standby db in NOARCHIVE MODE when setup for the purpose of Reporting.
    As long as the MAA configured for the primary db, such as physical standby db, and a second, the logical standby db setup purely for the purpose of reporting, which then can run with NOARCHIVELOG mode, after converting the physical standby db to logical.
    logical standby db uses Streams architecture, so this method brings cost, time and performance advantages to the customer.
    regards
    Sahba

  • How to find the timestamp and SCN in the standby database?

    Hai,
    I have Oracle 9.2.0.4 RAC with 2 nodes in the production. The logs generated at these servers will be manully moved to my standby database and will be applied. To know what isthe maximum log files applied in the standby database, i am using the below mentioned query in the standby database,
    Select thread#,max(sequence#) from v$log_history group by thread#
    In general i am using "recover standby database until cancel" command and then checking the database with the above mentioned query whether all the logs are applied or not.
    If i use time based or scn based recovery in standby database i.e., "recover standby database until time <time>" or "recover standby database until change <scn number>" , after completion of the recovery, apart from the message "Media recovery complete" or by seeing the alert log, is there any way to query the standby database, so that i can identify the time or scn upto which the archived redo log files got applied.

    Hi Sridhar,
    There should be some view which will have applied_scn information. There is one more option i can suggest, you can create a heart beat table in production with 2 column like scn and timestamp. Update this table every minute. From standby db you can query this table and get fair idea on applied_scn and timestamp.
    While exporting you can export using flashback_scn by taking the value from heartbeat table of standby.
    This heartbeat table is used very common in streams environment. Just see if this helps you.
    hth,
    http://borndba.com

  • Logical standby database

    Guys,
    Is it possible to create a logical standby database without installing Oracle Data Guard.And if yes how sync. is performed.
    Thanks

    Hi,
    Is it possible to create a logical standby database without installing Oracle Data Guard.In a sense Oracle Streams and Quest Shareplex created a logical standby, but you can have them open too . . . Madhu Tumma explains this in his Oracle Streams book, but it's only conceptually similar to logical standby in Data Guard:
    http://www.rampant-books.com/book_2004_2_streams.htm
    Hope this helps. . .
    Don Burleson
    Oracle Press author
    Author of “Oracle Tuning: The Definitive Reference”
    http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

  • Logical standby database SE

    In the past we creating and maintaining physical standby database in SE (without DataGuard, via scripts).
    Is possible create and maintain LOGICAL standby database in SE without DataGard (any example are welcome!)
    Thanks in advance!
    Diego.

    According to Metalink Note:271886.1
    "Message queuing and apply features of Oracle Streams are available in Standard Edition and Standard Edition One, but change capture is available only in Enterprise Edition."
    HTH
    Thanks
    Chandra Pabba

  • 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

  • Logical standby database questions

    Hi,
    1.Is it possible to encrypt just the logicals standby database? ie primary is not encrypted but when the data comes to logical standby it gets encrypted?
    2. Is it possible to replicate only certain schemas to logcial standby?
    Please let me know,
    Thanks a lot
    Sumathy

    Hi Sumathy,
    1.) Yes this is possible
    2.) Yes also possible. However Logical Standby will always gather all information from the primary, and only skip in the apply process.
    If you want to lessen your transfer, then you should use other replication mechanism like
    - Golden Gate (preferred but does cost money)
    - Streams (free, but depricated)
    Regards
    Sebastian

  • Asynchronous CDC on a Logical Standby database (10gR2)

    Hi,
    Question:
    Is it possible to setup Asynchronous CDC on a Logical Standby database (10gR2)?
    Background:
    In our Oracle Data Warehouse environment where we need to provide up-to-the-second "operational" reporting against a Logical Standby database (10gR2 Data Guard) as the production application database owners do not permit direct reporting against the Primary database (10gR2); we also have a Data Warehouse database (10gR2) that requires more sophisticated/summary reporting which is updated at less regular intervals from the Logical Standby database.
    The complication is that although the Logical Standby database will serve the purpose of a 'syncronized' version of the Primary database by giving us a current-state view of the data, we require more detailed change data capture on certain tables to audit change history between the points we extract data for the Data Warehouse.
    The DBAs do not want to set-up Asynchronous CDC on the Primary database, so is it possible to setup Asynchronous CDC on a Logical Standby database?
    Anyone done it before?
    Any issues?
    Any alternatives?
    Any help would be much appreciated.
    Thanks

    As far as I know it is but it would be easier, and more robust, to just create a second logical standby and feed them both from the primary.
    Logical Data Guard and Streams are essentially just two implementations of the same technology written by the same team of developers.

  • Streams Replication: Logical Standby DB as source

    I don't have much experience with streams replications. So, the following might sound like a silly questions to Oracle Gurus:
    If the source database is a logical standby database, can stream replication be used to replicate some of the tables in the source database to the target DB ?
    The source and the target DB are 11g R2.
    Thanks in adavance:
    - Sanjay
    Edited by: sanjayku on Dec 8, 2010 4:38 PM

    Never done it, but I don't see any reason why it should not work.
    Streams, at capture site, is only a data dictionary game and in a logical standby your data dictionary is open read write.
    Streams, at capture site, never touch the source tables, in fact they may even not exists from Streams point of view,
    as it deals only with the redo that are generated.
    So Streams horizon is limited to the data dictionary, the log buffer, the archives and, in SYSAUX tablespace, all the LOGMNR_% tables. All these structures are read write in the logical standby. However, for the capture/propagation you may have to set to true the 'include_tagged_lcr' parameters.

  • Streams or Physical standby?

    I have a scenario here as below
    I have an Oracle 10gR2 database server in state A and would like it to be replicate over to a new database in State B. Db server at State A is the primary server which will be access by users and DB server at State B will be use only if Server at State A is crash or down. So which approach should I use?
    Streams or physical standby?

    user12259190 wrote:
    ya logically from the scenario it is more suitable to use dataguard physical standby than Streams but my worry is would it be a problem (e.g: unstable WAN) for this approach since it is going to be go through the WAN? From my experience dataguard physical standby server required to be rebuild from the production server(which required a downtime) when it is not in sync or something?
    Just to let you know that the user required to access the server once the primary server is down(regardless is server crash or WAN network down)DataGuard can afford a Gap, it depends on how long the gap was sustained for, on busy databases a few hours can be enough, i had a database that went down and i could speed-apply redo logs 5 days later.

  • Best way for standby database?

    hi,
    I heard that DataGuard and Streams are two ways to have a standby database ready in case your normal database fails?
    Can someone please share their experience of using either of these so that I can decide which one I should research into?
    thanks

    I am not very good in streams but whatever little I know , based on that , DG is a block by block copy of the production over the standby making it sure that in the case of the disaster, if you would do failover, there won't be anything that you would be missing. That's why physical standby is the best and if I can say, the only way to do take care of a disaster. Further enabled with Broker, it can be done completely without the dba's intervention which would happen in 20seconds maximumly ( I hope the timing is correct) making it an idle solution for the HA. With 11g enhancements of Active Dataguard and Snapshot Standby, it has really become a useful entity for normal functionality/working of the databases as well.
    Streams, on the other hand is a replicaton tool based on some rules that you define. Compared to DG, it can be just a part of the production system which is replicated over the other side. So I won't consider this as an ideal to take care of disasters.
    Just my 2 cents.
    Happy new year and belated merry Christmas as well :-) .
    Aman....

  • How to clear Error alerts ORA-01219 on standby databases

    Hello all
    I'm using EM 10.1.0.5. Some weeks ago, we did an upgrade of our standby databases to 10.2.0.4. At that moment, we got many alerts of type Error: ORA-0219: database not open, queries allowed on fixed tables/views only. That's right, these databases are not open. Now I'm getting tired of seeing these 130 messages every day, I would like to delete them. But I cannot ! I removed several alerts of type Warning by setting the threshold value of the metric to NULL and then back again. This works fine. But I cannot use the same procedure for Error alerts, because I do not find these metrics. Example: the metric Streams Capture Message Statistics is displayed on the All Metrics page, but NOT on the Metric and Policy Settings page (selecting All Metrics in the drop down list). Apart from upgrading the EM to 10.2.0.4, is there a way to remove these Error alerts ?
    Thank you for any advice
    pher

    I have checked my 10.2.0.4 OMS and the "Streams Capture Message Statistics" metrics are not displayed on the Metric and Policy Settings page either. This looks like it could be a bug. You might bnefit from raising an SR with Oracle support. In the meantime I will continue to seek a resolution.

Maybe you are looking for