Golden Gate

Hello

I want using Golden Gate for level schema oracle to oracle replication replication (any object in the indexes, tables, triggers, procedures of plan...)

I have a scheme called dds1, this scheme a lot of objects. Please guide me how to implement the initial load of this objects and then start the replication?

Please guide me step-by-step:

1. install the door gold on both sides.

2 ......

3......

4.....

Help, please.

Hello

Schema level replication means, all objects in the schema which is

configured for replication OGG, will be replicated from the source to the target.

including the procedures, functions, packages, etc. To do this, you must activate

DDL replication. DML replication will not satisfy this.

Once again for the DDL replication, you must use DDL ARE MAPPEES parameter in

extract and Replicat parameter files. This setting will capture and

replicate all the DDL operations located on the side of the Source for the

particular mapped schema.

For more details, please see the links below.,.

1 installation and Configuration of DML-

http://www.Oracle-SCN.com/installation-and-DML-replication-configuration-of-Oracle-GoldenGate-11g/

2. the DDL Configuration-

http://www.Oracle-SCN.com/DDL-replication-configuration-of-Oracle-GoldenGate-11g/

3. What is the initial load-

http://www.Oracle-SCN.com/GoldenGate-initial-load-techniques/

There are several types of Oracle GoldenGate initial charge and you can also use

EXPDP / IMPDP for synchronization at the start of the source and the target. But as objects

procedures, packages, functions, etc. must be initially created in the

side of the target.

Kind regards

Veera

We sat, September 11, 2015 at 9:32, community-admin

Tags: Business Intelligence

Similar Questions

  • Integration of Golden Gate with HDFS

    Greetings,

    I had difficulty getting the Golden Gate to work with Manager HDFS.

    Basically, I want it to monitor changes to an Oracle Table propagate these changes to HDFS.

    My current settings are

    hdfs_ext.PRM

    EXTRACT hdfs_ext

    SetEnv (ORACLE_HOSTNAME = ' 10.0.0.4")

    SetEnv (ORACLE_SERVICE_NAME = 'oracle')

    Oracle username PASSWORD Xpand2015

    SetEnv (GGS_USEREXIT_CONF = "dirprm/hdfs.props")

    setEnv (GGS_JAVAUSEREXIT_CONF = "dirprm/hdfs.props")

    GetEnv (PATH)

    GetEnv (LD_LIBRARY_PATH)

    GetEnv (JAVA_HOME)

    SOURCEDEFS--./source.def

    EXTTRAIL--./dirdat/aa

    discardfile. / dirrpt/avro1.dsc, purge

    DDL include all

    LOGALLSUPCOLS

    CUSEREXIT libggjava_ue.so CUSEREXIT PASSTHRU, INCLUDEUPDATEBEFORES, PARAMS ' / home/xpand/app/oracle/ogg_src/dirprm/hdfs.props '.

    GETUPDATEBEFORES

    SOURCECATALOG pdborcl

    Oracle of the TABLE. A;

    -----

    HDFS.props

    GG.handlerlist = HDFS

    GG. Handler.HDFS.type = HDFS

    gg.handler.hdfs.includeTokens = false

    gg.handler.hdfs.maxFileSize = 1 g

    gg.handler.hdfs.rootFilePath=/ogg

    gg.handler.hdfs.fileRollInterval = 0

    gg.handler.hdfs.inactivityRollInterval = 0

    gg.handler.hdfs.fileSuffix = .txt

    gg.handler.hdfs.partitionByTable = true

    gg.handler.hdfs.rollOnMetadataChange = true

    gg.handler.hdfs.authType = none

    GG. Handler.HDFS.format = DelimitedText

    gg.handler.hdfs.format.includeColumnNames = true

    GG. Handler.HDFS.mode = TX

    GoldenGate.UserExit.Timestamp = UTC

    GoldenGate.UserExit.Writers = javawriter

    javawriter.stats.display = true

    javawriter.stats.Full = true

    GG.log = log4j

    GG.log.Level = trace

    GG. Report.Time = 30 sec

    GG.classpath=/Home/Xpand/app/Oracle/ogg_src/sites:/Home/Xpand/app/Oracle/ogg_src/Hadoop/lib/Hadoop-HDFS/*:/Home/Xpand/app/Oracle/ogg_src/Hadoop/lib/*:/Home/Xpand/app/Oracle/ogg_src/Hadoop/Jars/*

    ------

    Contents of the dir/home/xpand/app/oracle/ogg_src/sites

    Core - site.xml hdfs - site.xml ssl - client.xml ssl - server.xml

    After the start of the hdfs_ext process, nothing ever gets propagated to the HDFS.

    Here's the report typical https://www.dropbox.com/s/iyajf8begou90mz/HDFS_EXT.rpt?dl=0

    Note: the oracle with Golden Gate and the machine with hdfs are in the same network to following address 10.0.0.4 and 10.0.0.5

    Please notify.

    Can you please list ggsci

    > info ext1, detail

    > info ext1, showch

    > hdfs_ext info, detail

    > hdfs_ext info, showch

    Note that you can configure the adapter or bigdata extract to read a track OGG and one created by ext1 is fine.

    You can create another excerpt if you like and do the same thing as hdfs, except the name. Then add ext hdfs_two, exttrail ./dirdat/xx

    Yes do not put exttrail as the output of an ext hdfs hdfs.

    Now if hdfs_two works, lift a SR. provide the results of the information and report as well as your test files.

    See you soon

    Gan Kee

  • Golden Gate 12 c 1z1-447 will become available on view of scheduling? or is it passed through the beta process

    Hello

    Golden Gate 12 c 1z1-447 will become available on view of scheduling? or is it passed through the beta process.

    I remember never 1z0 - 447 Oracle 12 c Golden Gate Essentials review be a review.

    He has demonstrated lately on the oracle website.

    but I don't see it on the site of the view.

    I thought it was supposed to become available to plan August 8.

    Roger

    Looks like someone screwed up PV.  When you click on the "View reviews" link on the main page of Oracle to PearsonVue 1Z1-447 appears under «Other reviews"rather than «beta reviews»

  • Golden Gate clean transport logs

    Hi all

    What transactions, log files, etc. do I need attention or cleanup (delete) periodically to avoid lots of disk space?

    Just as the Archives of newspapers in database which grow fast and caused hang when not monitored, maintained and well managed.

    Are there things in the Golden Gate? For example, if the database target is stopped for a long time or caused error not able to apply logs the cause of accumulation?

    Thank you very much

    JC

    This is a documented method:

    https://docs.Oracle.com/GoldenGate/1212/Gg-Winux/GWURF/gg_parameters122.htm#GWURF597

    Kind regards

    Bashar

  • Golden Gate 12 c on Windows 8

    Hello

    I download and installed this version GG (12.1.2.1.0) on a laptop Windows 8.

    Version 12.1.2.1.0 OGGCORE_12.1.2.1.0_PLATFORMS_140920.0203

    Windows x 64 (optimized), Oracle 12 c on September 20, 2014 14:21:36

    My version of db is 11.2.0.4 and I am able to start the process of Bishop and this command, open a window with the journal of Bishop, like the previous version of GG (11), but when I try to start an extraction process, not nothing happens and doesn't generate any newspaper or info on ggserr.log or dirrpt for the extraction process.

    This is the info on mgr.log

    ***********************************************************************

    Oracle GoldenGate Manager for Oracle

    Version 12.1.2.1.0 OGGCORE_12.1.2.1.0_PLATFORMS_140920.0203

    Windows x 64 (optimized), Oracle 12 c on September 20, 2014 14:21:36

    Copyright (C) 1995, 2014, Oracle and/or its affiliates. All rights reserved.

    From 2014-11-22 16:13:01

    ***********************************************************************

    Version of the operating system:

    Microsoft Windows 8 on x 64

    Version 6.2 (Build 9200)

    Process ID: 13764

    Parameters of...

    port 30000

    purgeoldextracts. / dirdat / *, usecheckpoints

    dynamicportlist 30010-30100

    Extracted comment to start automatic extwest

    Comment excerpt Autostart pwest

    Comment by AutoRestart extract *, WaitMinutes 1, try again 30

    Comment 1 of LagReportHours

    Comment by LagInfoMinutes 30

    Comment LagCriticalMinutes 45

    ***********************************************************************

    * Run time Messages *.

    ***********************************************************************

    2014-11-22 16:13:01 INFO OGG-00983 Manager began (port 30000).

    2014-11-22 16:13:12 received GGSCI 00963-OGG-INFO command on the host [FE80::B18E:58FE:580 D: 61 C 2]: 54033 (EXTRACT REPLICA1 START).

    2014-11-22 16:13:12 INFO OGG - 00975 EXTRACT REPLICA1 begins.

    2014-11-22 16:19:18 received GGSCI 00963-OGG-INFO command on the host [FE80::B18E:58FE:580 D: 61 C 2]: 54159 (EXTRACT REPLICA1 START).

    2014-11-22 16:19:18 INFO OGG - 00975 EXTRACT REPLICA1 begins.

    And the info all the

    GGSCI (ag-acer) 15 > news

    Program status group Lag time since Chkpt Chkpt

    MANAGER RUNNING

    EXTRACT DECREE PREP1 00:00:00 25:03:39

    EXTRACT DECREE REPLICA1 00:00:00 25:03:41

    No idea how to fix this?

    Thank you very much

    Arturo

    Hello

    I couldn't test the editing that you said about the specification of access roads. I installed the version 12 c database and it worked correctly with the previous railways.

    Now, I have GG 12 c 12 c Oracle database replication on a Linux machine with the same configuration on top and work very well.

    In theory, Golden Gate supports Oracle Database 11 g, version 12 c GG installing install says that this version of BD (11.2.0.4) are not supported. Of the other certification matrix Oracle only supports 12 GG:

    Microsoft Windows x 64 (64-bit) 2008 R2 Service Pack Microsoft Windows 0 + and x 64 (64-bit) 2012 Service Pack 0 +, nothing about Windows 8.

    I also found a difference between GG for Windows and Linux installers. Under linux, the Installer gives us the ability to install version 11 of GG or 1no Windows.

    In short, we believe that these are things of the platform.

    Thank you

    Arturo

  • What are the consequences of the change of password for the admin user in golden gate?

    Hello

    I just picked up during surgery and allows us to replicate door data of gold. Unfortunately, the password for the user that has been created in the database for the Golden Gate has been lost.

    At the present time, processes are added and I was trying to connect but it fails with name of user and password invalid.

    I want to change it. Do I need to apply this new password anywhere after changing?

    Thank you

    Hello

    Not a lot of consequences, if you have changed the password where you had used.

    1. you must change the password of user goldengate in parameter files where ever you had mentioned, as the extract file etc..,.

    2. If you used the password encrypted, you must re-create the encryption password.

    3. If you used a user Alias id, then you must change this too.

    Kind regards

    Veera

  • Disadvantages and advantages of Golden Gate ETL

    Hi all

    Can share you your experience by saying what are the advantages and disadvantages using Golden Gate GR 11, 2 for ETL.

    Golden Gate can do to make better ETL processes and what GG is not the best practice fot ETL process.

    Thank you

    KAZ

    kazyskiyn0w wrote:

    Hi all

    Can share you your experience by saying what are the advantages and disadvantages using Golden Gate GR 11, 2 for ETL.

    Golden Gate can do to make better ETL processes and what GG is not the best practice fot ETL process.

    Thank you

    KAZ

    kazyskiyn0w wrote:

    Hi all

    Can share you your experience by saying what are the advantages and disadvantages using Golden Gate GR 11, 2 for ETL.

    Golden Gate can do to make better ETL processes and what GG is not the best practice fot ETL process.

    Thank you

    KAZ

    GG is unable to T in ETL

  • Topology of Golden Gate

    Hello

    I need your help to understand the topology to use for my new setup of the Golden Gate. I need to have active replication on my 11.2.0.3 bases (2) in Linux environment but topology seems to much complex. Please help answer following questions. I have installed oracle golden gate and management available latest pack

    1. I understand that I must install Golden Gate on both servers of databases.

    2 I need to configure replication using GUI, what I have to install Director of the Golden Gate Bridge to set up the replication or there is a graphical interface with normal installation of Golden Gate, which I would install my two nodes?

    3 golden Gate Director should it merge first middle ware to install?

    4. is this average fusion dishes must also have an oracle database must be installed?

    5. can I have this door Director of gold installed on one of the server of databases or would I need on a separate server.

    6. on the Golden Gate monitor server, can I install this monitor server on the same server as the Director of Golden Gate using the same database as the Director of the Golden Gate?

    Thank you

    1. I understand that I must install Golden Gate on both servers of databases.

    -Yes, it is correct, however, it is out of available treatment. (It does not change the authorisation scheme, but it can be used to make it easier to install / implement).  Thus, you can use a connection string in the connection (such as USER name, or ASMUSER) parameters and it will connect through SQL * Net. This can be used to apply data remotely.  In the case of the snippet, you can use the mode of ALO in out area treatment, or you could use a Capture integrated downstream.

    2 I need to configure replication using GUI, what I have to install Director of the Golden Gate Bridge to set up the replication or there is a graphical interface with normal installation of Golden Gate, which I would install my two nodes?

    -This is part of the directory, Yes, that is part of the Oracle GoldenGate Management Pack.

    3 golden Gate Director should it merge first middle ware to install?

    -Now just webcenter and a data base for its small repository.

    4. is this average fusion dishes must also have an oracle database must be installed?

    -It can be Oracle, MySQL or even SQL Server.

    5. can I have this door Director of gold installed on one of the server of databases or would I need on a separate server.

    -It can be the source or target, or separated. There is no requirement that is difficult for the location of the repository.

    6. on the Golden Gate monitor server, can I install this monitor server on the same server as the Director of Golden Gate using the same database as the Director of the Golden Gate?

    -Yes, and he can use the same server database repository.

    Nick

  • Golden Gate on SSH - Portfolio Manager

    Hi all

    I have a very specific need. I did mostly all my replication within the same company & VPN.

    However, I have 2 clients who both use the same application and they would like to replicate data between them. Obvious that they want to do this as secure as possible from its sensitive data.

    My first instinct is Oracle Wallet Manager? As Golden Gate already can already use the TNSNAMES for its connection information, I thought this might be the best approach.

    I was wondering if someone could advise others. Any document an example of how to configure the Portfolio Manager for the Golden Gate.

    Sincerely

    Jan S.

    Jan,

    During the transfer of data between a source and a remote system, GoldenGate employs a TCP/IP communication. Data can be encrypted during transport or in the file of the track itself. Oracle GoldenGate Win/Unix administration Guide includes a section on the Oracle GoldenGate Security configuration:

    http://docs.Oracle.com/CD/E35209_01/doc.1121/e35957.PDF

    There are also the steps documented to use Oracle security with the extraction process in the following article of knowledge:

    Security Oracle GoldenGate and configuration (Doc ID 1461898.1)

    Let me know if this does not answer your question.

    Best regards

    Mary

  • How Golden Gate will use change data Capture (CDC) in SQLserver2008R2

    How Golden Gate will use change data Capture (CDC) in SQL server 2008 R2. How much space it will occupy for each table when it erases the data and what will be the retention period for the tables of the CDC.

    So, here's what happens next. Normally, when a tranlog backup occurs, SQL Server may decide to release the tranlog space after the backup of the log, for transactions that have been committed and saved.

    When you activate a form any replication, like with OGG and allowing TRANDATA, you need to eat this truncation periodically. So with your configuration, even if the log backup occurs over 15 minutes, data in the journal are not allowed to be released after the log backup until the log backup that occurs after the 4th consecutive time of work.

    It is fine if you are not concerned about the lack of free newspaper in 4 hours. Just something to keep in mind.

  • Golden Gate can be used to create a 3rd node?

    We are currently running flows and determine if the Golden Gate Bridge is worth going to. We have a present master in master. Golden Gate can easily be used to create a third master? If I had an empty schema on site 3, can I use datapump to sync it? Does anyone have experience with this, or it's documented anywhere?

    Thank you.

    You can do the installation, given that the data are large enough volume, using Data Pump or transportable tablespaces will be faster than the initial load using GoldenGate. Download caught up target (so for you make the instantiation and loading data, you use extracts on the source, and then these trails can be applied to get the target caught up). When you're all in sync, you now have master 1 and the database target of GoldenGate as your master-master. It must also take into account what the two-way replication, so a part of the work will be put in place of the extract, datapump (GoldenGate) (same name, wish that could turn one of these days) and replicate. Also, you do the DDL replication?

    Another factor to consider is the cost. Water is free, GoldenGate is not (by far). But, GoldenGate is much easier to use. But if stream works very well, what is your return on investment on passage? If you were from scratch and had the funds, I'd go with GoldenGate. Otherwise, you really have to sell people on why spend a significant amount of money is worth TI/better than what you have now, in my humble OPINION.

  • Good boot sequence of processes in Golden Gate

    Golden Gate version: 11.2.1.0.3
    DB version: 11.2.0.3 (Oracle for Oracle replication)
    Platform: RHEL 5.4

    We have a very basic replication requirement.

    Use of GoldenGate we must replicate the LMD to 9 tables (Uni-directonal) source to target. The two DBs running different physical servers.

    Is the right sequence of boot process?
    Step0. For initial load, I use exdp/impd of the tables from source to target. Now we the relevant tables in Source and Target in Sync
    
    Step1. Start Manager process in Source server
    
    Step2. Start Manager process in Target server (with DYNAMICPORTLIST )
    
    Step3. Start  PUMP process (secondary extract) in Source
              From googling, I gather that Pump process in souce can be started only after starting the manager process in Target.
              
              GGSCI (kepler121) 18> view param pump
              
              extract pump
              passthru
              rmthost 10.80.16.125, mgrport 7809
              rmttrail /u01/GG/11.2.1.0.3/dirdat/rt
              table scott.* ;
    
    Step4. Start the primary Extract process in Source
         
         -- Adding local trail
         ggsci > add extract pump , exttrailsource /u04/ggs_data/dirdat/yp
         
         --- Adding remote trail
         add rmttrail /u01/GG/11.2.1.0.3/dirdat/rt, extract pump
    
    Step5. Start the REPLICAT process in Target 
    Just for you remember, this issue is not on the complete steps in the configuration of GG. I just want to know the correct sequence in which processes in the Source and target must be started.

    Published by: GarryB on 26 December 2012 06:17

    The correct sequence will be

    Step0. For the initial charge, use PPC/experimental tables from source to the target. Now the relevant tables in Source and target are synchronized

    However, please note that after step 0, you can be sure that the two DBs are synchronized
    If there is no activity of the application passes to the source that could have
    Insert additional data that might have been missed by the export utility.

    Step 1. Process of the boot to the Source Server Manager

    Step 2. Start the process to the Server Manager target (with DYNAMICPORTLIST)

    Step 3. Start the primary Source extraction process

    Step 4. Launch of PUMP (excerpt from secondary school) in the Source

    Step 5. Start REPLICAT process in target

    Published by: Saran on January 2, 2013 08:56

  • Using the Golden Gate migration strategy

    Hi all

    I am a DBA and news in the area of Golden Gate. We intend to migrate to our database (24/7 availability).

    source
    ---------
    RDBMS version: 9.2.0.5
    Operating system: HP - UX
    Size: 2 TB

    GOAL
    -----------
    RDBMS Vesrsion: 9.2.0.5
    OS: Linux (x 86)


    What is the best approach to migrate data using the Golden Gate? What method of IPL will be preferred?

    I appreciate if a certain portion of their experience (preffered method/delays).

    -Thank you

    (1) configure ext/pmp/replicate.
    (2) start ext/pmp
    (3) take Yvert based backup or export.
    (4) apply to backup or import.
    (5) start replicat SNA
    (6) stop source db for any other operation.
    (7) check the /checkpoint on zero source offset.
    (8) check gal/control point on the target to be zero - stop replicat
    (9) move tns connection to the target

    http://oracleabout.blogspot.com/2012/04/zero-down-time-migration-using.html

  • Implementation of the Golden Gate

    Hello


    How long does a Golden Gate type implementation project take?


    Thank you and best regards,
    SK

    In a simple type like situation, with people who know the product, it could be as short as a few hours. A lot depends on how you know your application...

    I can download the product, set up a replication of a database to another on the empty tables in ten minutes as said the previous person. I saw some active scenarios (with 10 + knots) take a few months to set up, test, retest, reconfigure, test and implement.

  • Query replication Golden Gate

    Hello

    Is it possible to transform a line of database source into several lines in the database target using Golden Gate?

    Thank you
    Deepak

    Another way is to use SQLEXEC:

    Suppose we have:
    The source DB-

    create table test.wide (id number primary key, COL1 VARCHAR2(25), COL2 VARCHAR2(25), COL3 VARCHAR2(25));
    

    target db.

    create table test.thin (id number primary key, col_name VARCHAR2(10), col_value VARCHAR2(25));
    

    then in the params to replicat-

    --Replicat group --
    REPLICAT REP2
    --source and target definitions
    --ASSUMETARGETDEFS
    SOURCEDEFS /u01/app/oracle/product/11.1.1.1.2ogg411g/dirdef/sourcedef
    --target database login --
    USERID ogg, PASSWORD ogg
    --file for dicarded transaction --
    DISCARDFILE /u01/app/oracle/product/11.1.1.1.2ogg411g/discard/rep1_discard.txt, APPEND, MEGABYTES 10
    --ddl support
    DDL
    --Specify table mapping ---
    MAP test.t1, TARGET test.t11g, COLMAP (USEDEFAULTS, VCH=@STRNUM(NM));
    MAP test.CITIES, TARGET test.CITIES;
    MAP test.COUNTRIES, TARGET test.COUNTRIES;
    MAP test.LOBEXP, TARGET test.LOBEXP;
    MAP test.wide, TARGET test.thin, COLMAP (USEDEFAULTS, COL_NAME="COL1", COL_VALUE=COL1), &
    SQLEXEC (ID COL2PROC, QUERY "insert into test.thin values (:id_params+1,'COL2',:value_param)", PARAMS (id_params = id, value_param = COL2)), &
    SQLEXEC (ID COL3PROC, QUERY "insert into test.thin values (:id_params+2,'COL3',:value_param)", PARAMS (id_params = id, value_param = COL3)), &
    SQLEXEC (ID COL_DELE, ON DELETE, QUERY "delete from test.thin where id in (:id_params+1,:id_params+2)", PARAMS (id_params = id)), &
    SQLEXEC (ID COL2UPDA, ON UPDATE, QUERY "update test.thin set col_value=:value_params where 1=:is_updated and id=:id_params+1", PARAMS (is_updated = @IF(@COLTEST(COL2,MISSING,
    INVALID),0,1), value_params = COL2, id_params = id)), &
    SQLEXEC (ID COL3UPDA, ON UPDATE, QUERY "update test.thin set col_value=:value_params where 1=:is_updated and id=:id_params+2", PARAMS (is_updated = @IF(@COLTEST(COL3,MISSING,
    INVALID),0,1), value_params = COL3, id_params = id));
    --MAP test.account, TARGET test.thin, COLMAP(USEDEFAULTS, COL_NAME='COL1', COL_VALUE=COL1);
    DDLERROR 24344 DISCARD;
    

    A params extractor would be-

    --extract group--
    EXTRACT ext1
    --connection to database--
    USERID ogg, PASSWORD xxx
    EXTTRAIL /u01/app/oracle/product/11.1.1.12ogg/dirdat/ss
    SEQUENCE test.*
    --DDL support
    DDL INCLUDE MAPPED OBJNAME test.*
    --DML
    TABLE test.*;
    

    Works very well - just tested.

    Published by: Artem Khisamiev on 15.10.2012 04:09
    Add delete and UPDATE DML improvements to replicat params.

Maybe you are looking for

  • Using Thunderbird for GMail - IMAP

    I tried to follow the recommendations of Google for IMAP using Thunderbird.Their recommendations: On the server settings tab:The arrival of new messages at startup > checkedThe arrival of new messages every 10 minutes > checkedWhen I delete a message

  • What is the email for the support team?

    Hello Please help me change my account security responses, When I followed the steps to change it, they ask me to complete the answers that I forgot and try to change them! What should I do? !!!

  • Links to other applications in the installer

    Hi all my workspace contains many projects, so several executable files, but only one appears in the [start] menu after installation. In the [Edit Installer] [files], I added different executables in the [Program Files] [MyAppName], and indeed, they

  • Write to the file in Question Spreasheet

    Hi guys. In fact, I have a few questions about the most effective way to do a number of things. This VI aims to collect a tension all the seconds so as determined by the user and then draw the voltage vs the time it was taken. I also want to save all

  • Model Aspire 6530 Acer ZK3 HELP me please! eRecovery and black screen

    Hello world I'm completely out of my League, and I'm hoping that one of you can help me. The Acer Aspire 6530 had the black screen/no work so I thought I would format (option F10) to find this eRecovery is coming with a gray screen with 3 options: --