Two-way replication in two databases in a single server

I have two instances of installation OGG, one for each database. Let's say that they are respectively OGG1 and OGG2 for DB1 and DB2. Ogg1 has two extracts and OGG2 has 1 replicat for replication of the first. It works well independently.  OGG2 has two excerpts and OGG1 1 replicat for replication of the second, which is for the direction of backword. It also works well independently. As I got to know previously, this is how I do two-way replication, by running these two processes together. I did it.

But when I did, it gives me the desired result. What currently happening given cannot be changed in one of the databases. When the data changes, it shows the change. but when committed, itself data is modified in its original values. What's the harm? Two processes works well independently.


ORASCN Hi Vicky, you were the subject of this question with me. It's good if you can have a look.

Yes, that was the problem. I added "TranLogOptions ExcludeUser ogguser" the main excerpt from two replications. ogguser is my user goldengate.

Extract einta1q

SETENV (ORACLE_SID = "dd")

UserIdAlias ogg_user

TranlogOptions IntegratedParams (max_sga_size 256)

TranLogOptions ExcludeUser ogguser

Exttrail ./dirdat/ip

LOGALLSUPCOLS

UPDATERECORDFORMAT COMPACT

Table SC2.*;

Now looping does not occur. Replication is as expected. Thank you.

Tags: Business Intelligence

Similar Questions

  • Two databases on a single server - CPU allocation

    Is there a way of CPU resources between two databases in the same way that the resource groups can allocate resources within each database? Let's say split 60-40 between databases cpu?

    The answer is no. I think, it seems that you encounter a performance problem, and you try to solve it using process priorities. Am I wrong? Or I'm going to upgrade my crystal ball?

    If you were never able to do such thing, the first thing that comes to mind,... what you define as "the database" here, you do not have something you can touch and say "it's the database", the concept of database is a logical, not a physical concept, it is composed of memory, processes and files , and the main activity has to do with e/s where most of the time the problem of startup performance. even if you were able to abstract the logical concept of the DB in a single physical component, allocating CPU him would not be enough to solve performance problems.

    I strongly suggest to detail why you want to do this assignment and then we can discuss alternatives from there on.

    ~ Madrid
    http://hrivera99.blogspot.com

  • Install Oracle GoldenGate Linux to synchronize two schemas from database on a single server

    Hi all

    I have to synchronize two schemas from database (Oracle 12 c) in a single host RedHat Linux to demonstrate and understand the use of OGG V12.1.2.1.0. I try to do. But it's complicated and confused me because I am new to Oracle and Linux. I followed this tutorial ( install Oracle GoldenGate for Oracle 12.1.2 on CentOS/6.x to 6.x/RHEL Linux 6.x EL ). But it is difficult to understand how I can match with two diagrams of database on a single server.


    And I found this tutorial (Oracle GoldenGate on Linux: two-way replication of Oracle 11 GR 2 to Oracle 11 g 2). He said: "" If you have that one host, it may be useful to change the /etc/hosts file to create aliases forhost01.example.com and host02.example.com.". What it really means?

    The other seems to be useful. But it's totally different from 1. Is that this will help my job since I use 12 c Oracle Server?

    Can I get some tips to continue my task?

    Here's another tutorial - http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/12c/OGG12c_Integrated_Replicat/index.html

    It has everything set up on a single Linux host.

  • How to connect two databases to a single listener

    Hello

    How to connect two databases to a listener.is it is possible or not

    Hello

    Yes, you can record a single listener to respond to several databases. There are several ways to do it and the best way that I would suggest for you is the use of "Network Setup Wizard" or "netca", which is a graphical interface that allows you to meet your requirement. Otherwise, you can hardcode in your listener.ora file located in the 'ORACLE_HOME/network/admin/listener.ora '.

    Example is as follows

    Listener.ora

    SCREW =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = lab01) (PORT = 1521))
    )
    )

    SID_LIST_VIS =
    (SID_LIST =
    -1 database configuration
    *(SID_DESC =*)
    * (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)*
    * (SID_NAME = DB1) *.
    *)*
    -Database Setup 2
    *(SID_DESC =*)
    * (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)*
    * (SID_NAME = DB2). *
    *)*
    )

    Then restart your listener.

    Kind regards
    Asif Muhammad

  • Configure two MS for two databases on a single host, EM for first DB cannot open

    Hi all

    My 10 g database version 2.

    In the beginning, I created a database called "ORCL" and configured the EM to her, not manually of course. and it was working fine.
    Then, later, I found that I need to install a second database called "ORCLDW", and since I have used DBCA to create, EM is configured automatically as well.

    EM for ORCL is: http://phoenixbai:1158 / em
    EM for ORCLDW is: http://phoenixbai:5500 / em

    the problem is that the EM for ORCLDW works perfectly fine, even if I can't open the EM for ORCL.

    When I use 'emctl start dbconsole', it works for a very long time, but still, he tells 'EM for ORCL is started successfully.
    However, when I try to open the URL: http://phoenixbai:1158 / em
    Once again, it lasts very very long and doesn't have to open it.

    Then, someone at - it never met the similar situtaiton?
    someone has an idea of what could be the reason? and how to check and fix it?

    I thank you very much in advance and wish you all a great weekend!

    PhoenixBai wrote:
    Hi all

    My 10 g database version 2.

    In the beginning, I created a database called "ORCL" and configured the EM to her, not manually of course. and it was working fine.
    Then, later, I found that I need to install a second database called "ORCLDW", and since I have used DBCA to create, EM is configured automatically as well.

    EM for ORCL is: http://phoenixbai:1158 / em
    EM for ORCLDW is: http://phoenixbai:5500 / em

    the problem is that the EM for ORCLDW works perfectly fine, even if I can't open the EM for ORCL.

    When I use 'emctl start dbconsole', it works for a very long time, but still, he tells 'EM for ORCL is started successfully.
    However, when I try to open the URL: http://phoenixbai:1158 / em
    Once again, it lasts very very long and doesn't have to open it.

    Then, someone at - it never met the similar situtaiton?
    someone has an idea of what could be the reason? and how to check and fix it?

    I thank you very much in advance and wish you all a great weekend!

    the default behavior for OEM is that it supports a single database for each host
    If you need to support multiple DBs, use Grid Control.

    BTW - OEM is NOT necessary to run or support of Oracle's RDBMS

  • Synchronize two schemas from database on a linux server using Oracle GoldenGate

    I followed this guide ( http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/12c/OGG12c_Installation/index.html?cid=9167 & ssid = 0 ) and for two different databases running on the same instance of database schemas.


    What I have now is a Linux server with two Oracle database schemas.
    I have access through my Linux virtual machine. I want to do the synchronization possible between them.

    I use Oracle GoldenGate to make this possible. What should I do now? Goldengate is must be installed in the server too? I'm totally new to this situation. Can someone give me at least the major steps before going to the more comprehensive study?

    Well understood. This helped.

    Install Oracle GoldenGate Linux to synchronize two schemas from database on a single server

  • How performance measurement/reference of a new database on the new server?

    Hello

    I have two servers oracle with following (same) details:

    5.8 64-bit RHEL

    Oracle 10 g 2-10.2.0.5.8

    ASM 10 gr 2-10.2.0.5.8

    Server A: 32 GB of RAM, 8 processors @ 3 .00GHz

    Server b: 128 GB RAM, vCPUs 16 cores

    A server (physical server) already has a database of A. ServerB (VMware - Yes, my client moves all Oracle on VMware servers for some reason any) is a new installation and the new database B with exact same init params as A databas. I expdp data from database A and impdp in database B.

    According to the material, the material is better than the old server B. I made a very simple test to check if the new DB performs better than the one on the physical server. Here are the results:

    I ran a simple query to create a new table. The original table (say, table_a) contains 1.7 million lines and the size is 2.2 GB.

    create table test1

    as

    s elect * from table_a;

    It took 3:28mins on database B, it took 1:55mins only on A database. So, it seems that the new database B scene poor (apparently). Then I looked at the plan of the explain command (don't know if it means a lot, because it s a very simple query) and here's these two databases:

    A (physical server databases

    Plan
    SELECT STATEMENT ALL_ROWS
    Cost: 14 052 bytes: 2,161,302,003 cardinality: 16,250,391
    1 FULL TABLE ACCESS TABLE table_a
    Cost: 14 052 bytes: 2,161,302,003 cardinality: 16,250,391

    Database B (virtual server)

    Plan
    SELECT STATEMENT ALL_ROWS
    Cost: 59 844 bytes: 2,161,302,003 cardinality: 16,250,391
    1 FULL TABLE ACCESS TABLE table_a

    Cost: 59 844 bytes: 2,161,302,003 cardinality: 16,250,391

    Issues related to the:

    1. Why is the cost different? Should I "calculate statistics" on the B (virtual server) database?

    2. how to pursue the investigation and discover the reason for the difference in time?

    3. what other test can I run to make sure that I have the right database Setup?

    Don't know if it of just enough info - if not, please let me know what else I need to provide.

    The team I perform hands on this server refuses to accept it by saying that it is slower than the existing one.

    Please advise!

    Best regards


    Looks like you'd get only a few percentages of increase in performance by increasing the pga, while the downturn is probably elsewhere.  Follow Nikolay, Ed and John suggestions.  STATSPACK or AWR can also give clues to e/s, although it would be a mistake to expect them to reflect the performance of the production - but they might highlight if you have problems logwriter or something.    Don't know if I even have to mention My ISP4400: numbers of ORION

  • two-way replication

    I'm working on two-way replication between 11.2 and 12.1, can I use ogg 12.2.0.1.0 for databases of 11.2 and 12.1

    Thanks in advance

    Hello

    Yes, you can use it.

    Please check the link to the certification for Oracle GoldenGate 12.2 below. In this quest for link "configuration system required and taken platforms supported for Oracle GoldenGate 12 c (12.2.» *) ( xls) »

    http://www.Oracle.com/technetwork/middleware/IAS/downloads/fusion-certification-100350.html

    Kind regards

    Veera

  • Is there an easy way to merge the two databases?

    I would like to know if there is an easy way to merge two data from a single database?

    The two databases are generated on different machines with different data (no duplicates).


    Thank you!



    Mark

    It is possible that the db_dump and db_load utilities can be used here.   They are documented in the BDB C API reference manual.      Basic process would be to empty the database on a system, move the files to the other system can use db_load and load it into the existing db.    Since there is no duplicate, this process should work for you.

    Thank you

    Mike

  • Synchronization between two databases with only 2% of the data; Please help me

    Hi all

    I have two oracle databases in 2 different servers PROD and TEST instances. the two databases are in gr 10 2 in linux servers.

    My PROD database contains about 300 GB of data and is dedicated for production area.
    My Test database is dedicated to Spanish test for PROD database. (small server in terms of space and RAM comparing to PROD db)
    I would like to synchronize every week TEST db with PROD db with only 2% of the data and all the structures
    Could someone tell me, if you use a datapump export I can import only 2% of the amount of data and the structures ot theere is another way to do it?
    Thank you very much

    best regards,
    W

    I'm not really sure what you're talking about. There is no option, expdp and impdp x % of the data, is that? And if Oracle can sovle repositories inetegrity (PK, FK), it cannot be assumed which tables are lookup table (to be entirely exported) and can not assume the logical data integrity.

    Nicolas.

  • One or two database is necessary, if I have two FxM?

    My current FxM has prob and portal together.

    I intend to have two FxM, which means two probes.

    Should I two portal on each server, or a Portal Server who sit together with a probe?

    If you need a Portal Server, should I two database or a database to store parameters of monitor?

    In a situation where you have more than one collector/probe, it is advisable to have a portal that consolidated reports for Foglight.  The portal also provides a single interface for configuration.  This is particularly important if you have the same application or a site monitored by the collector/probes.

  • Copy of the object between two databases

    Hi, in SQLDeveloper I can copy the objects 'tools-> copy of database... "between two databases such as (tables, views, indexes, triggers, constraints, etc, etc...), but how can I do it with SYNONYMS and GRANT of the object? Thanks for your help.

    You can watch the cart (view > trolley).

    The cart can generate a script to include SUBSIDIES, and you must add synonyms. You can then run these scripts in your target database.

    Drag the table to your shopping cart. Add synonyms.

    Export your basket. Select "grants."

    Decide if you want the data or not.

  • Cost of the execution plan is different in the two databases

    Hi gurus,

    I have two databases, which are 12 C.

    The execution plan cost is different in the two databases for the same query.

    is it possible to copy the execution to another plan.

    Thank you in advance

    Kind regards

    REDA

    Jr.Raj wrote:

    There are a few differences.

    The machine that has a high cost, has setup up, linux, 2-node RAC, more CPU.

    and

    other machine windows server less Setup and less cpus.

    Please explain, cost really makes a difference.

    Thank you & best regards

    REDA

    You simply can't compare costs like that. It does not work like that. Especially through two different systems.  Here is a very good read: column the COST of the PLAN to EXPLAIN. Oracle FAQ

  • TCP. INVITED_NODES for two databases in an ORACLE_HOME

    Hello

    I have two databases in an ORACLE_HOME (11.2.0.3) and each database is accessible via the own earpiece.

    Is it possible to allow access to each database only from the IP (different IP addresses for db ech) adressess?

    The TCP parameter. INVITED_NODES (sqlnet.ora) is for any ORACLE_HOME not for specific db.

    Thank you.

    Marian

    It is not possible, other than to install two databases in two different houses.

    As a listener for each database is not necessary at all.

    Also using hard IPs in sqlnet is maintenance subject and should be avoided.

    ---------

    Sybrand Bakker

    Senior Oracle DBA

  • creation of link db between two databases.

    Hello

    I want to generate a query of two tables on two different databases on the same server. For this I am trying to create a db link.

    for example: I table 1 in soft base oracle people and table 2 in the hra database and I want to do a relationship. So I want to build a query from these two tables.

    I found the syntax for creating link db as

    create public database link
    myLink
    to connect to
    remote_username
    identified by
    mypassword
    using 'tns_service_name ';

    I use the interface of Toad to connect to these two databases. If I create the link to the db, how can I and where do I write the syntax above (in the database)?

    All entries would be very appreciated.


    Kind regards.

    Check this box
    http://docs.Oracle.com/CD/E11882_01/server.112/e26088/statements_5005.htm

    P.c.: This is the best place to post https://forums.oracle.com/forums/category.jspa?categoryID=18

    Mark as correct :)

    http://cool-bi.com

    Published by: Srini VIEREN on May 9, 2013 10:08

Maybe you are looking for