Oracle Replication

Dear Sirs,
Where can i find information on how to setup database replication ?. My client requires database replication between his head office and two factories which are all situated about 20kms apart. The connectivity at present is by means of ISDN dialup, between all these locations, and they don't intent to be online 24 hrs.
The servers are all running Redhat Linux 6.2 with Oracle Standard Edition Database (Release 8.1.5).
The requirement for example is like; The purchase order entered in head office db will have to be updated on the db's present in the factories, and the goods receipt notes entered in the factory db's will have to be updated in the head office db.
Please help.
Regards,
R M Saji

We have taken ping output and sometimes its response time goes beyond 600. But we have not seen any broken job. We have four groups which contains updateable and read only snapshot and its refresh times duration is one minute, ten minutes and thirty mintues. Despite of poor connectivity at somtimes , there is no broken jobs. What could be reason.

Similar Messages

  • Oracle Replication and SQL*Load direct Path

    We are setting up Oracle replication and have a few tables which are loaded using SQL*Loader Direct path. I have following questions:
    1. Can MultiMaster replication replicate direct patch sqlloaded data.
    2. If the answer to the above question is no, should we set up a new snapshot replication group . All other tables are in the Multi Master replication.
    3. Another question is on the number of replication groups. How many of these we should create. We have total of about 500 tables and database size is about 450 Gig. We plan to replicate all the tables and the refresh interval we want to be one minute for all the tables. Does having more/less replication groups help??
    Thanks for your help

    We are setting up Oracle replication and have a few tables which are loaded using SQL*Loader Direct path. I have following questions:
    1. Can MultiMaster replication replicate direct patch sqlloaded data.Yes, I don't think it should matter how the table is getting updated.
    2. If the answer to the above question is no, should we set up a new snapshot replication group . All other tables are in the Multi Master replication.see above
    3. Another question is on the number of replication groups. How many of these we should create. We have total of about 500 tables and database size is about 450 Gig. We plan to replicate all the tables and the refresh interval we want to be one minute for all the tables. Does having more/less replication groups help??
    Thanks for your help I believe what Oracle recommends is that you split up your tables into replication groups transactionally. I personally have 6 replication groups supporting 700+ tables. They are broken up more by business function than by number and size.

  • Difference Between Oracle Replication & Oracle Streams.

    Hi All,
    I am trying to evaluate Oracle Streams & Oracle Replication technologies.
    I need to know what are exact differences between 2 technologies? Advantages (if any) of using Oracle Streams against Oracle Replication.
    After reading Oracle Streams documentation, i found that it can capture DML as well as DDL changes, whereas Oracle Replication can capture DML changes.
    Can someone provide more information?
    Thanks in Advance.
    Regards,
    Vidyanand

    Oracle Replication is designed to replicate exact copies of data sets to various databases. Oracle Streams is designed to propagate individual data changes to various databases. Thus, Replication is probably easier if the end goal is to maintain identical copies of data, where Streams is easier if the end goal is to allow different databases to react differently to data changes.
    Oracle Replication is a significantly more mature product-- it is quite usable with older databases. Oracle Streams is a much newer technology and is only usable among different 9i databases. Most competent Oracle developers and DBA's are familiar with Oracle Replication, while many fewer have any real experience with Streams.
    The Streams architecture strikes me as a lot more flexible than Oracle Replication's. This leads me to suspect that Oracle will be pushing Streams over Replication in subsequent releases, so I would expect new features in Streams, like DDL changes, that aren't in Oracle Replication. Realistically, though, I don't expect any serious movement away from Replication for at least a few releases, so I wouldn't tend to be overly concerned on this front.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • About Oracle replication interface for the third-party programmer

    Hi,
    I want to construct a program like SharePlex from Quest software to provide the function of oracle replication. Somebody who knows how does the Shareplex monitor and analyse the redo logs? And Is there API provide by Oracle?
    Thanks!!!

    Hello
    There are no other supported interfaces or tools other than LOGMINER to mine and interpret the oracle redo/archived logs. Oracle has the rights to change the redo format or make any changes in the redo stream or change vectors as part of any patchsets or new releases. Any third party software might face problems if Oracle changes its redo format or makes changes in the redo format.
    You might need to take a look at the following metalink note:
    <Note: 97080.1> "Extracting Data from Redo Logs Is Not A Supported Interface"
    However Oracle has a replication technology called Oracle Streams which infact mines the redo/archived logs with the help of a new background process called 'capture process' which does not use any APIs but is built into to Oracle Kernel itself. Oracle Enterprise Edition will have this feature built-in.
    Thanks,
    Rijesh

  • Can't stop oracle replication without affecting existing table...

    Hi All,
    I am facing some problem with oracle replication set up. I have a replication set up already running fine. There is a table called Emp_temp in the replication group which is in ASYNCHRONOUS mode(replicating data for every 15 min). My application is writing data into this table which is in primary server (there are only two servers in the set up i.e. primary and secondary).
    I want to stop the replication but my application should keep on writing to Emp_temp table even after replication stopped. But when I stopped the replication (through oemapp GUI) my application is throwing errors stating that it could not commit to that table. Can anyone tell me how to gracefully stop the replication? Is there any way even after stopping the replication application can continue writing to the Emp_temp table?
    My application talks to the Oracle using OCI.
    Error in my application log is: "Error ORA-23326: object group "PUBLIC"."ASYNCH" is quiesced"
    Oracle Version using: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    OS: Solaris 10
    Your early reply is highly appreciated
    Thanks in advance.
    Regards,
    Iqbal

    Hello
    Yes, breaking the PUSH job would be the only solution. In multimaster replication the changes are applied on the remote site through the PUSH job hence you should mark this job as BROKEN to stop the replication.
    If you QUIESCE (or SUSPEND) the replication group via OEM, then it would not allow any DML changes to the tables in the replication group. Hence you should break the PUSH job instead of SUSPENDing the Replication Group.
    Again, you should re-enable the PUSH job at the earliest else the base queues for replication would grow very fast in a high OLTP system. Once these queues have grown considerably then that could raise performance problems with the PUSH job.
    Hope this helps.
    Thanks,
    Rijesh

  • Differenece between oracle streams and oracle Replication

    Hi all,
    Can anyone tell me difference between oracle streams and oracle replication?
    Regards

    refer the link:Difference Between Oracle Replication & Oracle Streams.
    Oracle Replication is designed to replicate exact copies of data sets to various databases. Oracle Streams is designed to propagate individual data changes to various databases. Thus, Replication is probably easier if the end goal is to maintain identical copies of data, where Streams is easier if the end goal is to allow different databases to react differently to data changes.
    Oracle Replication is a significantly more mature product-- it is quite usable with older databases. Oracle Streams is a much newer technology and is only usable among different 9i databases. Most competent Oracle developers and DBA's are familiar with Oracle Replication, while many fewer have any real experience with Streams.
    The Streams architecture strikes me as a lot more flexible than Oracle Replication's. This leads me to suspect that Oracle will be pushing Streams over Replication in subsequent releases, so I would expect new features in Streams, like DDL changes, that aren't in Oracle Replication. Realistically, though, I don't expect any serious movement away from Replication for at least a few releases, so I wouldn't tend to be overly concerned on this front.
    answered by Justin
    Distributed Database Consulting, Inc.
    reference from forum thread:
    Difference Between Oracle Replication & Oracle Streams.

  • Oracle Replications in Solaris

    I want to do Database replication between two solaris servers
    Both are in different places, connected thru net(Leased line).
    The connection speed is 64Kbps.
    version : solaris - 8 (enterprise 450)
    Oracle - 8i
    Please let me know the answer immediately.

    What is the question?

  • Oracle Replication - Encrypted Data and Oracle Data Guard

    We are working on a high availability architecture for one of our new projects. The preliminary architecture has Oracle 10g Release 2(10.2.0.2) production database (primary database) running on Solaris10 server for OLTP operations. And a production replicated database (standby database) is running on another node running on Solaris10 server for reporting, ETL data extractions etc. The plan is to implement Oracle data guard (DG) to replicate data between primary database and standby database (logical standby database). As a side note, there is going to be one to two minute time log for data synchronization between primary and standby databases.
    We need to encrypt sensitive data (like SSN, Credit Card No. etc) in the primary production database. Initially we thought this can be achieved by using Oracle Transparent Data Encryption (TDE), this is a new encryption method Oracle came up with their 10g version. But the issue here is Oracle TDE doesn’t support setting up the logical standby database (using Oracle data Guard) for reporting on the second node. I have confirmed with Oracle on this, so we are kind of stuck in the middle on this new requirement. So our next option is to look out for any third party vendors who can resolve this puzzle, and looking for your help for any suggestions.
    · Do you know any vendor who can support both data encryption and data replication for Oracle databases?
    · Do you know any vendor who can support just data encryption for Oracle databases?
    (I am thinking if we can find a vendor, we would like to ask them if they have any technical issues working with Oracle data guard for data replication and use some kind of technique to decrypt the data on the standby/reporting database.)

    You can always use the DBMS_CRYPTO or DBMS_OBFUSCATION_TOOLKIT to encrypt the data rather than using TDE. You may have to do some work on the key management side, though, but it shouldn't be too painful.
    Justin

  • Error MySQL to Oracle Replication   ERROR   OGG-00146 Failed to Query Meta

    Hello Guys,
    I have a configured replication between MySQL database and Oracle Database using Golden Gate.
    Extract data from MySQL is replicated to Oracle.
    MySQL is on Linux and version is 5.5
    Oracle is 11gR2 RAC on Linux (I am using one node for replication)
    When i start extract and replicat they works fine, but as soon as record is inserted in source database i.e MySQL extract ABENDED with this error in the log file:
    *2013-04-11 16:24:40 ERROR OGG-00146 Oracle GoldenGate Capture for MySQL, smpp7.prm: VAM function VAMRead returned unexpected result: error 600 - VAM Client Report* *<CAUSE OF FAILURE : Failed to Query Metadata from Table : smpp7.sent_sms WHEN FAILED : While Sending Insert and Delete Record WHERE FAILED : MySQLBinLog Reader Module*
    CONTEXT OF FAILURE : No Information Available!>.
    *2013-04-11 16:24:40 ERROR OGG-01668 Oracle GoldenGate Capture for MySQL, smpp7.prm: PROCESS ABENDING*
    This is my extract and replicat:
    Extract
    GGSCI>ADD EXTRACT SMPP7, TRANLOG, BEGIN NOW
    GGSCI>EDIT PARAMS SMPP7
    EXTRACT smpp7
    DBOPTIONS HOST 10.168.20.253, CONNECTIONPORT 14422
    SOURCEDB [email protected]:14422, USERID "*******", PASSWORD "*******"
    RMTHOST 10.168.20.31, MGRPORT 7809
    RMTTRAIL /u01/app/oracle/oradata/GG/dirdat/D2
    TRANLOGOPTIONS ALTLOGDEST /mysql/node3/data/mysql-bin.index
    TABLE smpp7.sent_sms;
    GGSCI>ADD RMTTRAIL /u01/app/oracle/oradata/GG/dirdat/D2, EXTRACT SMPP7, MEGABYTES 5
    GGSCI>INFO RMTTRAIL *
    GGSCI>START EXTRACT SMPP7
    Replicat
    GGSCI>ADD REPLICAT smpp7, EXTTRAIL /u01/app/oracle/oradata/GG/dirdat/D2, checkpointtable ggs_owner.checkpoint
    3) edit params smpp7
    REPLICAT SMPP7
    USERID *******, PASSWORD *******
    ASSUMETARGETDEFS
    HANDLECOLLISIONS
    SOURCEDEFS /u01/app/oracle/oradata/GG/dirdef/smpp7.def
    DISCARDFILE /u01/app/oracle/oradata/GG/dirrpt/smpp7.dsc, PURGE
    MAP "smpp7.sent_sms", TARGET MYSQL_SMPP7.sent_sms, COLMAP (usedefaults,COMPRESS_=compress,SERVICE=@STRCAT(service,"_sms"));
    GGSCI>START REPLICAT smpp7
    I have given full rights to MySQL user:
    GRANT ALL PRIVILEGES ON *.* TO '**********'@'localhost' IDENTIFIED BY 'kannel' WITH GRANT OPTION;
    GRANT ALL PRIVILEGES ON *.* TO '**********'@'10.168.20.253' IDENTIFIED BY 'kannel' WITH GRANT OPTION;
    Can you please help me to get through this problem.
    Regards, Imran

    Hi,
    I have the same error between two Mysql 5.5.
    I have added this line in the extact param file :
    vam params (arliberror -14 warn)
    And on my replicate param file :
    map "aix"."etat", target "FR"."etat", REPERROR (-1403, EXCEPTION);
    It looks working better.
    But I can't modify my max_binlog_size to 4069 (4k). It make have to much file and slow my system.

  • Best Strategy for Oracle Replication Dataguard/Streams/Mat Views...

    We have a database in Atlanta and a Nat. Office DB in DC. The primary workhorse is the ATL db. The DC office needs to be able to review the most current ATL database data and make small changes to status codes and comment fields (not necessarily on the database but can be if that is the best way). The DC database in the case of network failure/Loss of communication with ATL wants to be able to continue to work on the most current data as of the network failure and resync/or send those changes back to ATL db when the network is restored.
    Iam interested in startegies you would take to accomplish these goals.
    We will be using Oracle 10.2
    Thanks in Advance

    Sounds like a typical Replication Streams use case. DataGuard is not quite in the picture.
    If your remote office only need to replication few tables from ATL, setup Mview based replication seems a good idea.
    Check more information here,
    Oracle® Database Advanced Replication

  • Error in Master Site Setup for Oracle Replication

    Hi Guys,
    While i was trying to setup the Master Site for Oralce 8.1.7
    replication, a error is poping up like this :
    ORA-06550:LINE 2, CLOUMN 4:
    PLS-00201: IDENTIFIER 'DBMS_REPCAT_ADMIN.GRANT_ADMIN_ANY_SCHEMA'
    MUST BE DECLARED
    ORA-06550: LINE2, CLOUMN 4:
    PL/SQL: STATEMENT IGNORED
    looking forward to your kind help. If you have any idea about
    solving this error then do contact me at my personal email :
    [email protected]
    Thanks in advince.
    Souren

    Niels,
    1st check the storage prerequisites: http://itnewscast.com/chapter-6-oracle-vm-22-san-iscsi-and-nfs-backend-storage-configurations
    2nd clean each servers cluster configs as show in the prerequisites section then create the pool.
    Respectfully,
    Roddy

  • Ports required for GG setup (Oracle to Oracle replication )

    GG version: 11.2.1.0.1
    OS : RHEL 5.4
    We are going to configure GoldgenGate which is going to replicate the DMLs for few tables (Uni-directonal) from source to target.
    Since there is a firewall between source and target, We need to request the network team to open ports at both source and target servers.
    For manager process , we are going to use the default 7809 both at source and Target. What are the other ports that we need to request the network team to open for both servers ?

    Hi,
    If a firewall is being used at an Oracle GoldenGate target location, additional ports are required on the target system to receive dynamic TCP/IP communications from remote
    Oracle GoldenGate processes. These ports are:
    ● One port for each Collector process that is started by the local Manager to receive propagated transaction data from remote online Extract processes. When an Extract
    process sends data to a target, the Manager on the target starts a dedicated Collector process.
    ● One port for each Replicat process that is started by the local Manager as part of a remote task. A remote task is used for initial loads and is specified with the RMTTASK
    parameter. This port is used to receive incoming requests from the remote Extract process.
    ● Some extra ports in case they are needed for expansion of the local Oracle GoldenGate configuration.
    ● Ports for the other Oracle GoldenGate products if they interact with the local Oracle GoldenGate instance, as stated in the documentation of those products.
    To specify these ports, use the DYNAMICPORTLIST parameter in the Manager parameter file.
    Follow these guidelines:
    ● You can specify up to 5000 ports in any combination of the following formats:
    7830, 7833, 7835
    7830-7835
    7830-7835, 7839
    ● The ports must be unreserved and unrestricted.
    ● Each Manager instance on a system must use a different port list..
    Although not a required parameter, DYNAMICPORTLIST is strongly recommended for best performance. The Collector process is responsible for finding and binding to an available
    port, and having a known list of qualified ports speeds this process. In the absence of DYNAMICPORTLIST (or if not enough ports are specified with it), Collector tries to use port 7840 for remote requests. If 7840 is not available, Collector increments by one until it finds an available port. This can delay the acceptance of the remote request. If Collector runs out of ports in the DYNAMICPORTLIST list, the following occurs:
    ● Manager reports an error in its process report and in the Oracle GoldenGate ggserr log.
    ● Collector retries based on the rules in the Oracle GoldenGate tcperrs file
    For more information about PORT and DYNAMICPORTLIST, see the Oracle GoldenGate Windows and UNIX Reference Guide.
    Hopefully this will help you
    Annamalai.

  • Oracle Replication update conflict handler creating notifications

    Hi All,
    I want to use an update conflict handler that overwrites the records in the destination database, while notifying the dba about the conflict by creating a log entry to a log file (alert log or other custom log file).
    I know that I can use prebuilt overwrite update conflict handler to overwrite the conflicting record. As far as I know there is no way to create a log entry using this prebuilt conflict handlers.
    Is there a way to create a log entry via prebuilt conflict handlers?
    Or else I can use pl/sql to create a log entry and a pl/sql can be used as conflict handler.
    But how can I create a pl/sql overwrite conflict handler?
    Thank you,
    Sasika.

    You must create your own update conflict handler.
    Conflict handler is a PL/SQL procedure (usually in package). For given conflict type is defined what parameters this procedure must have.
    And in procedure you simply put locig you need:
    1/ write a log entry
    2/ update (overwrite) data in table

  • Query related to replication method supported by ORACLE in 10g...

    Hi All,
    I have few question related to ORACLE replication methods. I have two database on different machine and I want to copy at schema level from source to target database.
    for this I have few queries related to Replication method as stated below:
    1- I have two option one is Materailized view and another is Stream.
    2- if I go for Materialized view then what it's advantage in compare to Stream?
    3- if I go for Stream replication then what it's benefits?
    4- For stream replication I have read that its require to set "global_names=true", with out this can we able to setup stream replication?
    Please suggest me optimal solution.
    Thanks....

    Hello,
    4- For stream replication I have read that its require to set "global_names=true", with out this can we able to setup stream replication?Anyway, when you manage Distributed Database, it's always recommended to set global_names=true. By that way you enforce that a dblink has same name as the DB it connects to.
    Else about Stream the both (Source and Target) databases should be in Archivelog mode.
    More over, Stream Replication allow to replicate DDL change (for instance you add a column on a Table), and have much more features than Materalized Views. If you want to share datas among several databases, Stream is an interesting technology.
    Materialized view is more suitable on DSS database.
    Hope this help.
    Best regards,
    Jean-Valentin

  • Database replication between Oracle RAC and Oracle Standalone DB

    Hi,
    We have currently 4 node RAC environment and Oracle RAC implementation with 4 Oracle instances. We want to move the one instance and make it Standalone with Oracle database due to availability issue. Thus we will remain with 3 nodes on the RAC database and one Standalone database. We want to implement Oracle replication on this solution, where partial database of RAC environment needs to be replicated to Standalone node.
    We will have Oracle 9i database server for both RAC and Standalone machine.
    The partial data that we are looking for replication are of size 25GB. Some of questions we have:
    1. Is there any other replication mechanism apart from Materilzed view for this solution?
    2. Is it feasible to sychronize around 25GB data between servers?
    3. What can be estimated time for refresh or Synchronization?
    Thanks in advance for help.

    The methods that we are evaluating currently for this replication are:
    1. Multi Master replication
    2. Oracle 9i Datagaurd.
    Please let me know if we need to look for some other methods of replication also.

Maybe you are looking for

  • How to reduce order quantity in sales order

    hi                    I have one scenario in that suppose order quantity 100 then client want to apply discount on order quantity  suppose it is 25%(manually enterd) then quantity applicable for pricing = actual order quantity (100) - quantity not ap

  • The document "fine_name" couldn't be opened

    Has anyone had the pleasure of working on a pages file, printing it, saving it, closing it and when you go back to open it, it says "The document "fine_name" couldn't be opened" It is a .page file format, I have tried opening it up in text edit and c

  • Possible to copy text to clipboard through script?

       I'm currently creating a temporary textPath and copying that to the clipboard with the app.copy() method.  Is there a way to just simply copy the text directly to the clipboard rather than having to do it through copying an object?

  • New number for a workflow template

    Hi all, do you know if it's possible in 4.7 to change the number of a workflow template, for example from WS90000017 to WS90000007. After some technical problems I need this kind of operation but I've seen that after a copy the number is automaticall

  • Help with targetSection?

    I have a elevator interface where 3 buttons that target different sections (floors) on the timeline. Everything is working fine except when I try to click on a button that is not the first floor(which is the first on the timeline). For example, when