Oracle 10g replication

hi,
i have two oracle 10g database installed in Linux machines. at present only one database server in live. now i want to configure replication between these two databases... so that i can use second server for any failure.
My requirement is..... i want to replicate entire database to second server and replication should run online.
actually i am new to this oracle..... so can any body help me to come out of this thing. and also give me step by step process to configure replication.
any immediate help will be highly appreciated.
cheer's
gowtham
Edited by: user10665114 on Jan 13, 2009 1:29 AM
Edited by: user10665114 on Jan 13, 2009 1:38 AM

Hi,
Then, you are talking about Materialized views
See this thread How to do replication in oracle 10g
There are an explanation by Justin Cave...
Best Regards,
Rodrigo Mufalani
http://mufalani.blogspot.com

Similar Messages

  • Question on replication in Oracle 10G Release 2

    Good day,
    I have a few questions on setting up replication that fits my scenario described below. Thank you in advance for reading and answering my post.
    Scenario
    I need to replicate 100-200 tables from the first OLTP server to the second DSS server that is read-only. The servers are physically located in different countries. Both servers use Oracle 10G Release 2. Required frequency of refreshes is 1-3 hours.
    Questions
    1. Is it optimal to use materialized views with fast/force refreshes for implementation of this scenario? If no, what are the better options?
    2. How do network interruptions and latency affect stability of work of replication with materialized views?
    3. How big is additional performance overhead at OLTP (source) server due to setting up replication with materialized views?

    1) I guess it depends on how you define "optimal". It's certainly a reasonable option. You might also look at Streams or even logical standby databases. There are various trade-offs involved, so it really depends on your environment.
    2) What does "stability of work of replication" mean, exactly? Obviously, if the network fails, the replication job(s) will generate errors. Depending on how you set things up, the replication process will be retried after increasing intervals until it succeeds.
    3) Maintaining materialized view logs on the OLTP system could certainly impact performance-- the logs have to be maintained synchronously with the OLTP transactions. That may or may not noticably impact OLTP transaction performance-- it's probably roughly equivalent to putting a trigger on each of the 100-200 tables. Something like Streams is designed to put less load on the source system because changes are captured asynchronously.
    Justin

  • Can we use replication usings oracle 10g steams for EBS r12 database?

    HI,
    We are using EBS 12.0.6 and database 10.2.0.3 on linux 32-bit/64-bit OS (Multi-Node env).
    Actually We want to decrease the load of custom reports on actual production system, so thats why
    we need reports server and as my past experience I had used oracle streams for replication with simple schema based replication and tablespace replication also.
    So, please educate me, that can i used the oracle 10g streams for EBS schemas like APPS, GL ,INV, PO, ONT, ODM, AR, AP, CM etc?
    Please provide us the above related env docs and road Map.
    If you have any other way to create the Report Server?
    Regard,
    Fayaz Ahmed

    Hi,
    We are not in a position to upgrade the EBS from 12.0.6 to 12.1, because this is lengthy task, but we had already tested technically it in test env, but functional testing in pending.
    Now we want to immediate solution if possible, because this is production?
    So, please suggest another.
    regards

  • Data replication and synchronization in Oracle 10g XE.

    We are trying to do data replication and synchronization sort of thing for all our servers. We are using Oracle 10g. XE. I guess there are some features in oracle already for replication but I am not very sure about them.
    To explain it more clearly - we will have individual database servers in our sub-divisions and then divisions and centers and then main server. We need to synchronize at various levels. So If any body is aware of any techniques, please let me know.

    Hi,
    Could you tell me what exactly synchronisation your talking about..?
    we will have individual database servers in our sub-divisions and then divisions >>and centers and then main serverIf you have mulitple DB servers then you can connect it by DB links. also if you are talking DB synchronisation then you can have Triggers,Materialized views.
    we also have two independent severs which are synchronised(atleast schema levels).
    Regards!

  • Replication in oracle 10g

    hi,
    please anyone tell about the schema level and table replications in oracle 10g.

    user3266490 wrote:
    hi,
    please anyone tell about the schema level and table replications in oracle 10g.Refer :
    Step by step guide ...
    http://dbataj.blogspot.com/2007/11/advance-replication-part-ii-master.html
    Regards
    Azar
    DBA

  • Types of replications in oracle 10g

    Hi
    Iam new to oracle10g.
    I want to replicate my database.
    Before that i want to know how many types of replication methods are available in oracle 10g?
    Thanks

    There is no single correct answer to that question.
    You've certainly got Streams and materialized views. You could subdivide each of those into three or four separate options based on the configuration (single-master vs multi-master materialized views, for example).
    You might group technologies like DataGuard-- logical and physical and Change Data Capture (CDC) under the general banner of replication depending on how you define the term.
    You could always write your own replication process using database links, triggers, etc. Or load and unload data via export & import, SQL*Loader, and/or external tables.
    Transportable tablespaces might also fall under the replication rubric.
    Depending on the problem you're trying to solve, the granularity you're counting, and what you consider "replication", you could come up with anything from 2 to 1002.
    Justin

  • Replication of table from Oracle 10g to sql server 2000

    Could i replicate table from Oracle 10g to sql server online. we have tables with same configuration and if any change happen in oracle 10g or sql server in that table we need to replicate that change to other database.
    What is the solution for this two way replication between sql server and Oracle 10g

    But the tutorial is saying that i will have to install Oracle database on the server already having sql server, is it client or whole database, if it is then it will acquire lot of resource.
    I want to find out that for Heterogenous Service ODBC, we need third party software for ODBC Driver of SQL SERVER for Linux and secondly if we use Transparent Gateway then what are the steps for its configuration.
    I could not find steps of configuration of Transoparent gateway, when i am trying to install Transparent gateway from Universal installer, it is not there. where do i find it , Do i need to purchase it too.

  • One way replication from MS sql server to Oracle 10g

    Hi,
    We are using Sql server 2005 windows 2003 32 bit and Oracle 10g 10.2.0.3 on linux 64 bit
    Is it possible to replcate table data on real time from sql server (2005 32 bit or sql server 2000 32 bit)to oracle 10g running on linux 64 bit?
    If yes then what are the steps.
    It will be one way replication from sql server to oracle.
    Which option is best sql server dts or Oracle Stream replication to replicate table data?
    Regards,

    If you want to push data from SqlServer, then ODBC, Linked tables, DTS etc.
    If you want to pull data from Oracle, then Heterogenous Services / Gateway.

  • How to do replication in oracle 10g

    hi,
    I am new to Oracle.
    I want to do Data Replication. I am using Oracle 10g. Can any one help me by telling the steps of Oracle replication.
    Thanks in advance.
    Message was edited by:
    user577340
    Message was edited by:
    user577340

    I'm not sure which of the linked articles you're following, but I expect that you're making things more complicated than they need to be. Those articles discuss configuring multi-master replication, but it sounds like you only need simple materialized view replication. In that case, all you'd need to do is
    1) Create a database link from the destination system to the source system
    2) Create a materialized view log on the source table on the source system
    3) Create a materialized view on the destination that selects all the data from the remote table and is set to be fast refreshable and to refresh every 5 minutes.
    On the destination system
    CREATE DATABASE LINK to_source_system
      CONNECT TO username_on_source_system
      IDENTIFIED BY password_on_source_system
      USING 'tns_name_for_source_system_on_dest_system';On the source system
    CREATE MATERIALIZED VIEW LOG
      ON table_to_replicate
      WITH PRIMARY KEY
      INCLUDING NEW VALUES;On the destination system
    CREATE MATERIALIZED VIEW table_to_replicate
      REFRESH FAST
      START WITH sysdate + 5/(24*60)
      NEXT sysdate + 5/(24*60)
    AS
    SELECT * FROM table_to_replicate@to_source_systemIf you have multiple tables that you want to be replicated in a transactionally consistent manner, you can put multiple materialized views into a refresh group and schedule a refresh of the refresh group.
    Justin

  • Oracle Stream Replication 10G

    Hi.
    We are planing to use 10G stream replication for our production enviorment. But we are concenred over few things before we move ahead with option. Our prior experience with 9i stream replication was not that good.
    9i does'nt functionality to do some advance maintenance task that could required on production enviorment. We are hoping 10G would be better option to go with streams.
    However, following are few questions that we have regarding this product. Request your valuable inputs on Oracle 10G streams replication.
    -->How effective this tool is compared to prior version 9i.
    -->How stable Streams are with 10G? Are still there any know critical issues with stream replication 10G for e.g bugs or patches that are under review e.g?
    -->For replication of production enviorment, would it be an ideal choice compared to third party vendor like golden Gate or shareplex.
    You reponse would be greatly appreciated.
    Thnks
    Ratheesh

    Hi Rateesh,
    -->How effective this tool is compared to prior version 9i.Very good. I use Streams in many production environments, even for bidirectional replication. Streams is very stable in 10g.
    For replication of production enviorment, would it be an ideal choice compared to third party vendor like golden Gate or shareplex.It depends on several factors. It's better than GG and Shareplex by far (IMHO).
    Madhu Tumma has some great Streams notes on this in his book "Oracle Streams":
    http://www.rampant-books.com/book_2004_2_streams.htm
    Hope this helps. . . .
    Donald K. Burleson
    Oracle Press author

  • 2 way replication using Oracle 10g OID

    Hi Friends,
    Is it possible to have 2 way replication between Oracle E-Biz R12.1.3 and Microsoft Active Directory(windows 2008 server) at the same time using Oracle 10g OID.
    Regards,
    DB

    Hi Leoncio,
    Thanks and the requirement is :
    1) user will be cretaed in Oracle e-biz R12.1.3 HRMS application and it should be replicated to Microsoft Active Directory (windows 2008 server)
    2)E-mail address will be cretaed in Microsoft Active Directory (windows 2008 server) against an existing user and it shoule be replicated/updated in Oracle e-biz application User
    Regards,
    DB

  • Oracle 10g SEO replication to Oracle 10g EE RAC

    Hi!!!
    I have 200 nodes with Oracle 10g Standard Edition One and a DataCenter with 3 nodes Oracle 10g Enterprise Edition Real Application Clusters. My questions is, how to replicate data from each node to datacenter with the objective to centralize all data.
    The database structure is the same in all nodes, and there is no conflict.
    My real problem is Oracle Standard Edition One, it's not support advanced replication like Streams and Materialized Views, and i cant use other version of oracle because it´s huge money.
    Please any advice?
    Thanks in advance.

    I'm more of an Oracle developer than a DBA, and I'm not sure this is feasible, but it sounds like you are in dire need of an idea, so here it is. Take the transaction logs from your 200 nodes, copy them to your central site (at whatever time interval you require), and peform a "restore" to the central server using those logs, even though they did not come from the central server.

  • Replication of data from LDAP to Oracle 10g Database

    Hi All,
    in our application we are using Oracle Identity manager, and Oracle 10g database.
    we are storing the user,profile and privilages in LDAP and due to some reason we have to create user table in the 10g database.
    this user table values and LDAP user table values must be same.
    here the source is LDAP and destination is Oracle.
    so is there any way we can synchoronize or replicate the data from LDAP to 10g database?
    since oracle identity manager is integrated with LDAP,
    i feeel this must be possible.
    but really dont know how?
    kindly suggest me.
    and if any examples available please let me know, i will be very greatful to you.
    Thanks in advance

    Check out thread How synchronize OID user to a table?
    The title of the thread is: How synchronize OID user to a table?

  • Deploying a J2EE web application in Oracle 10g

    Hi friends,
    <br>
    I had worked with Oracle9i 9.0.3 . But it's my first experience with Oracle 10g . I have installed Oracle 10g Infrastructure , Metadata Repository and one Middle tier - Forms and i hope i have followed The Oracle 10g installation guide Properly. Anyway installation is successful.
    The problem is a J2EE web application which is deployed properly on Oracle9i 9.0.3 doesn't get deployed in Oracle 10g. The following is the exception :
    <br>
    Deployment failed: Nested exception
    Root Cause: deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application Spom_Apps: Error loading package at file:/C:/Oracle/Ora9iASForms/j2ee/home/applications/Spom_Apps/JmsSubscriberMdb.jar, Error deploying file:/C:/Oracle/Ora9iASForms/j2ee/home/applications/Spom_Apps/JmsSubscriberMdb.jar homes: No location set for Topic resource MessageDrivenBean JmsReceiverMdb
    <br>
    <br>
    where JmsReceiverMdb is the deployment file containing the message driven beans.
    <br>
    Thanks in advance,
    paskal

    Hi,
    Thanks for responding . I am sending the file contents of ejb-jar.xml, orion-ejb-jar.xml, jms.xml.
    Could you also check whether dtds versions of 10g and 9i in these xmls are conflicting? If you can specify your email-id i can send these file as attachments.
    Hope you could strike the right spot.
    ejb-jar.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <session>
    <description>Session Bean ( Stateless )</description>
    <display-name>spomPmConfigSSB</display-name>
    <ejb-name>spomPmConfigSSB</ejb-name>
    <home>jnipackage.spomPmConfigSSBHome</home>
    <remote>jnipackage.spomPmConfigSSB</remote>
    <ejb-class>jnipackage.impl.spomPmConfigSSBBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    <message-driven>
    <description>Message Driven Bean</description>
    <display-name>JmsReceiverMdb</display-name>
    <ejb-name>JmsReceiverMdb</ejb-name>
    <ejb-class>jnipackage.impl.JmsReceiverMdbBean</ejb-class>
    <transaction-type>Container</transaction-type>
    <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
    <resource-ref>
    <res-ref-name>jms/alarmTopicConnectionFactory</res-ref-name>
    <res-type>javax.jms.TopicConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>jms/alarmTopic</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Topic</resource-env-ref-type>
    </resource-env-ref>
    </message-driven>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>JmsReceiverMdb</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
    <method>
    <ejb-name>spomPmConfigSSB</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Supports</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    Orion-ejb-jar.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
    <orion-ejb-jar>
    <enterprise-beans>
    <message-driven-deployment name="JmsReceiverMdb" max-instances="100" min-instances="0">
    <resource-ref-mapping name="jms/alarmTopicConnectionFactory"/>
    </message-driven-deployment>
    <session-deployment name="spomPmConfigSSB"/>
    </enterprise-beans>
    <assembly-descriptor>
    <default-method-access>
    <security-role-mapping impliesAll="true" name="&lt;default-ejb-caller-role>"/>
    </default-method-access>
    </assembly-descriptor>
    </orion-ejb-jar>
    jms.xml
    <?xml version="1.0" standalone='yes'?>
    <!DOCTYPE jms-server PUBLIC "OC4J JMS server" "http://xmlns.oracle.com/ias/dtds/jms-server-9_04.dtd">
    <jms-server port="9127">
    <!-- Queue bindings, these queues will be bound to their respective
    JNDI path for later retrieval -->
    <queue name="Demo Queue" location="jms/demoQueue">
    <description>A dummy queue</description>
    </queue>
    <!-- Topic bindings, these topic will be bound to their respective
    JNDI path for later retrieval -->
    <topic name="Demo Topic" location="jms/demoTopic">
    <description>A dummy topic</description>
    </topic>
    <!-- Topic bindings, these topic will be bound to their respective
    JNDI path for later retrieval -->
    <topic name="AlarmQueue" location="jms/alarmTopic">
    <description>A topic</description>
    </topic>
    <topic name="FaultTextQueue" location="jms/faultTextTopic">
    <description>A topic</description>
    </topic>
    <topic name="FaultTopologyQueue" location="jms/faultTopologyTopic">
    <description>A topic</description>
    </topic>
    <!-- path to the log-file where JMS-events/errors are stored -->
    <log>
    <file path="../log/jms.log"/>
    <!-- Uncomment this if you want to use ODL logging capabilities
    <odl path="../log/jms/" max-file-size="1000" max-directory-size="10000"/>
    -->
    </log>
    <queue name="jms/OracleSyndicateQueue" location="jms/OracleSyndicateQueue">
    <description>Oracle Syndication Services Queue</description>
    </queue>
    <!--
    <queue-connection-factory name="jms/OracleSyndicateQueueConnectionFactory"
    location="jms/OracleSyndicateQueueConnectionFactory"/>
    -->
    <queue-connection-factory location="jms/OracleSyndicateQueueConnectionFactory"/>
    <queue name="jms/OracleUddiReplicationQueue"
    location="jms/OracleUddiReplicationQueue">
    <description>Queue for replication scheduler</description>
    </queue>
    <!--
    <queue-connection-factory
    name="jms/OracleUddiReplicationQueueConnectionFactory"
    location="jms/OracleUddiReplicationQueueConnectionFactory"/>
    -->
    <queue-connection-factory location="jms/OracleUddiReplicationQueueConnectionFactory"/>
    <queue name="jms/OracleWebClippingQueue"
    location="jms/OracleWebClippingQueue">
    <description>Queue for Web Clipping</description>
    </queue>
    <!--
    <queue-connection-factory
    name="jms/OracleWebClippingQueueConnectionFactory"
    location="jms/OracleWebClippingQueueConnectionFactory"/>
    -->
    <queue-connection-factory location="jms/OracleWebClippingQueueConnectionFactory"/>
    </jms-server>

  • Oracle 10g :: APEX not running

    Hi,
    I have installed Oracle 10g in my pc with the default configuration.
    First day of installation APEX client was running but now its not running.
    Server is running correctly as I saw server processes in the Process Manager (Task Manager).
    I am using a debian flavor of Linux.
    Can anyone help me, How to find out why it's not running?
    Thanks

    Hi,
    I tried to run those commands but none of them is working here. I am providing all the logs which generated while starting the Server.
    Thanks
    LOGS:
    Mon Jun 4 19:52:28 2007
    Starting ORACLE instance (normal)
    Cannot determine all dependent dynamic libraries for /proc/self/exe
    The open() system call failed for the file /proc/self/exe
    Linux Error: 13: Permission denied
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    sessions = 49
    __shared_pool_size = 83886080
    __large_pool_size = 4194304
    __java_pool_size = 4194304
    __streams_pool_size = 0
    sga_target = 285212672
    control_files = /usr/lib/oracle/xe/oradata/XE/control.dbf
    __db_cache_size = 188743680
    compatible = 10.2.0.1.0
    db_recovery_file_dest = /usr/lib/oracle/xe/app/oracle/flash_recovery_area
    db_recovery_file_dest_size= 10737418240
    undo_management = AUTO
    undo_tablespace = UNDO
    remote_login_passwordfile= EXCLUSIVE
    dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
    shared_servers = 4
    job_queue_processes = 4
    background_dump_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/bdump
    user_dump_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/udump
    core_dump_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/cdump
    audit_file_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/adump
    db_name = XE
    open_cursors = 300
    os_authent_prefix =
    pga_aggregate_target = 94371840
    PMON started with pid=2, OS id=9688
    PSP0 started with pid=3, OS id=9690
    MMAN started with pid=4, OS id=9692
    DBW0 started with pid=5, OS id=9694
    LGWR started with pid=6, OS id=9696
    CKPT started with pid=7, OS id=9698
    SMON started with pid=8, OS id=9700
    RECO started with pid=9, OS id=9702
    CJQ0 started with pid=10, OS id=9704
    MMON started with pid=11, OS id=9706
    MMNL started with pid=12, OS id=9708
    Mon Jun 4 19:52:29 2007
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 4 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Mon Jun 4 19:52:29 2007
    ALTER DATABASE MOUNT
    Mon Jun 4 19:52:33 2007
    Setting recovery target incarnation to 2
    Mon Jun 4 19:52:33 2007
    Successful mount of redo thread 1, with mount id 2505516605
    Mon Jun 4 19:52:33 2007
    Database mounted in Exclusive Mode
    Completed: ALTER DATABASE MOUNT
    Mon Jun 4 19:52:33 2007
    ALTER DATABASE OPEN
    Mon Jun 4 19:52:33 2007
    Thread 1 opened at log sequence 5
    Current log# 2 seq# 5 mem# 0: /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/onlinelog/o1_mf_2_35gv5kcp_.log
    Successful open of redo thread 1
    Mon Jun 4 19:52:33 2007
    SMON: enabling cache recovery
    Mon Jun 4 19:52:34 2007
    Successfully onlined Undo Tablespace 1.
    Mon Jun 4 19:52:34 2007
    SMON: enabling tx recovery
    Mon Jun 4 19:52:34 2007
    Database Characterset is WE8MSWIN1252
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    QMNC started with pid=19, OS id=9724
    Mon Jun 4 19:52:35 2007
    db_recovery_file_dest_size of 10240 MB is 0.98% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Mon Jun 4 19:52:36 2007
    Completed: ALTER DATABASE OPEN

Maybe you are looking for

  • How can I use apps downloaded by different users on the same iPad?

    I have a 'work' iPad so the apps on it have been downloaded using two different accounts. Which was fine until I did an update at the weekend and suddenly I can only use the one's I downloaded. Is there anyway of 'sharing' these apps so who logs in c

  • Portlets not coming as per layout for the Cutomized layout structure

    I have created new Customized layout for our application. I could see the cutomized layout properly in Workshop. When i am adding the portlets to all of the placeholders in layout and running the portal , out put i could see all the portlets are comi

  • Import photos from harddrive problem

    Please help......I just got my computer this week and I can't import photos into the library in iphoto. When I go to add to library, the photos attempt to transfer and then I get an error message that states unreadable files. When I open the files ou

  • HT3205 Green light flashing on and off every second

    What is indicated by the green light on the charger going off and on every second?

  • IPhone sends jpg, Mac demands jpeg

    If I email myself photo from my iPhone, why do I get: You cannot save this document with extension ".jpg" at the end of the name. The required extension is ".jpeg" [Why oh why did I switch to the Mac?]