Configuration very base one-way Golden Gate

Version of DB: Oracle 11.2.0.3
Golden Gate version: 11.2 (last one dated September 22, 2012)
Platform: Solaris x 86 64-bit

Currently learning Golden Gate by googling and I'll install Golden Gate for the first time.
That's what I'm planning.
Source DB : fncdev
Target DB : sgntgt
What needs to be replicated : SCOTT and HR schemas from source has to be replicated to Target ( Unidirectional )
I intend to set up a very basic one-way GG, where in SCOTT and HR in source DB schemas is replicated in the target DB.

I would like to know 2 things.

1. what should be the content of the parameter file?

2. after have I properly configure GG, what would be the output of command all THE INFO in the source and target database
-- Source database
GGSCI > info all

-- Target database
GGSCI > info all

Basic extract and replicat content parameter of the file.

Extract E_TEST1
SETENV (ORACLE_SID = OGGTEST)

GGADMIN username password *.
Exttrail/goldengate/gg_trail/trail/test/and

-Add below lines only if DDL replication is configured.
-The DOF ARE MAPPED
DDLOPTIONS - ADDTRANDATA, REPORT

TABLE HR.*;
TABLE SCOTT.*;
-------------------------------------------------------------------------------------------------

REPLICAT R_TEST1
SETENV (ORACLE_SID = OGGTEST)

GGADMIN username password *.
ASSUMETARGETDEFS

DISCARDFILE oragg/11.1/dirrpt/R_TEST1.dsc, APPEND, 1024 MEGABYTES

MAP HR.*, TARGET HR.*;
MAP SCOTT.*, TARGET SCOTT.*;

I hope that these samples help!

Kind regards
RB

Tags: Business Intelligence

Similar Questions

  • The Golden Gate system separate from the Production Server configuration

    Hello
    I have two database server Oracle 11 g on Windows System. I want to set Golden Gate on a Windows system separate for replication (one-way) of the source (production) server to the target server of (at rest).

    I am aware of the Golden Gate installation on the source (production) server.

    Please guide.

    Thank you

    Hiren Pandya s

    To connect to the database when Oracle GoldenGate is running on a different server,
    use a SQL * Net string in the login username parameter. This connection string can then be
    used for connections for all Oracle GoldenGate processes and GGSCI. Do
    certain that SQL * Net is configured to connect to a remote server, including
    the correct entries in a TNSNAMES file. Statement of USER name example:

    Ggext@ora10g01 username, PASSWORD ggs123

  • 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 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.

  • Create the user account on TARGET Golden Gate

    Can I create an independent account on Golden Gate target.? It's like we do on a logical standby server.
    on behalf of user in question does not exist in the source.
    If so, what are the steps invloved if all this is not normally followed.

    If you want to replicate to create users, create users falls in OTHER DDL (scope). Three scopes are mapped, mapped and other.

    If you want to create a user on the target, there is no restriction on that. The source will never know on this subject (assuming a configuration one-way, two-way, DDL replication is not enabled, or if OTHER is excluded within the scope).

    So, the answer is Yes, you can create any user or users you want to target.

  • Golden Gate a Table of Siebel Oracle replication

    Hi all
    GG version 11.1.1.1
    the Oracle source: 9.2.0.6
    Oracle target: 10.2.0.4

    We intend to implement Oracle Golden Gate for replication in real-time for Siebel database (source).
    so, I have a few questions before implementing it.
    (1) allow to say my name of the table is S_ASSET and have 290 columns and require only 100 columns in target database, so it is possible to replicate?
    (2) for the first charge, I creates a target with 100 columns table, and then will do the full replication of the table (100 columns) via INSERT add link DB... in this case
    Let say my source table is to have 100 records, so I reproduced all the 100 records from the source to the target link db as initial charge... so now I'll start my extracted processs... .so how GG knows he should choose among 101 record...? or we need to talk about any parameter explicitly... ?

    For the initial charge, we expect export/import or insert Add... so after the initial load, how gg knows next record to pick up... ???
    (3) if I want to play my source to destination data replicaition every 2 hours once... then how to talk about this lag...?

    Can some one please help me...
    Thank you very much
    KVM

    Basically. The four steps in various locations include:

    1. prepare the environment
    2 configure the modified capture (excerpt), which can be started if simultaneous DML will take place during the initial load; otherwise you can start after load
    3. perform the loading initial, so while takes place, your snippet is the capture of changes, those who will be expected to apply
    4 set up the discount of the change (replicate), which includes the start

    If you have changes during the initial loading window / calendar, consider using the HANDLECOLLISIONS parameter.

  • Replication sequence values of Golden Gate?

    Hi all

    I searched on the web and read the Golden Gate, but I found mixed answers.

    I try just to check, for some, it is possible to automatically reproduce the sequence values in a two-way configuration. The two databases will be identical and both will be GR 11, 2 with the latest version of GG.

    If it is not possible to increment automatically sequences in a bi-directional configuration, what are best practices for rest with them?

    One option is sequences of alternatives on each database, with the same values (for example) and an uneven values, but this requires the deployment of new sequences on two databases, something that we hoped would be supported by replication. (Yes the creation of the sequence can be supported, but the value is not incremented on the target database).

    Another way we thought on top of our heads is to have an insert trigger on (we only use sequences to generate surrogate keys) who will choose the database nextval target via a link db, but this seems a bit heavy.

    What is the best practice?

    GoldenGate forum is here:
    GoldenGate

  • Demo simple Golden Gate

    Hello

    Y at - it a demo of Golden Gate / very simple basic that is available only to start with?
    I have looked at the installation guides and admin... but impossible to find examples of good "quick start" on how to implement a simple reproduction.

    Thank you

    Robert.

    I think that the above demos are very good, but that person seeks to - end demo. In this case try this demo (one-way DML and DDL):

    http://vgrigorian.com/Gg/gg01/gg_01_install.htm

    http://vgrigorian.com/Gg/GG02/gg_02_config.htm

    http://vgrigorian.com/Gg/gg03/gg_03_test.htm

    It can work in Mozilla only.
    Thank you.
    Vlad.

  • Traffic permitted only one-way for VPN-connected computers

    Hello

    I currently have an ASA 5505.  I put up as a remote SSL VPN access. My computers can connect to the VPN very well.  They just cannot access the internal network (192.168.250.0).  They cannot ping the inside interface of the ASA, nor any of the machines.  It seems that all traffic is blocked for them.  The strange thing is that when someone is connected to the VPN, I can ping this ASA VPN connection machine and other machines inside the LAN.  It seems that the traffic allows only one way.  I messed up with ACL with nothing doesn't.  Any suggestions please?

    Pool DHCP-192.168.250.20 - 50--> for LAN

    Pool VPN: 192.168.250.100 and 192.168.250.101

    Outside interface to get the modem DHCP

    The inside interface: 192.168.1.1

    Courses Running Config:

    : Saved

    :

    ASA Version 8.2 (5)

    !

    hostname HardmanASA

    activate the password # encrypted

    passwd # encrypted

    names of

    !

    interface Ethernet0/0

    switchport access vlan 20

    !

    interface Ethernet0/1

    switchport access vlan 10

    !

    interface Ethernet0/2

    switchport access vlan 10

    !

    interface Ethernet0/3

    Shutdown

    !

    interface Ethernet0/4

    Shutdown

    !

    interface Ethernet0/5

    Shutdown

    !

    interface Ethernet0/6

    Shutdown

    !

    interface Ethernet0/7

    switchport access vlan 10

    !

    interface Vlan1

    No nameif

    no level of security

    no ip address

    !

    interface Vlan10

    nameif inside

    security-level 100

    IP 192.168.250.1 255.255.255.0

    !

    interface Vlan20

    nameif outside

    security-level 0

    IP address dhcp setroute

    !

    passive FTP mode

    DNS lookup field inside

    DNS domain-lookup outside

    pager lines 24

    Within 1500 MTU

    Outside 1500 MTU

    mask 192.168.250.100 - 192.168.250.101 255.255.255.0 IP local pool VPN_Pool

    ICMP unreachable rate-limit 1 burst-size 1

    don't allow no asdm history

    ARP timeout 14400

    Global interface 10 (external)

    NAT (inside) 10 192.168.250.0 255.255.255.0

    Timeout xlate 03:00

    Timeout conn 01:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02

    Sunrpc timeout 0:10:00 h323 0:05:00 h225 mgcp from 01:00 0:05:00 mgcp-pat 0:05:00

    Sip timeout 0:30:00 sip_media 0:02:00 prompt Protocol sip-0: 03:00 sip - disconnect 0:02:00

    Timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute

    timeout tcp-proxy-reassembly 0:01:00

    Floating conn timeout 0:00:00

    dynamic-access-policy-registration DfltAccessPolicy

    the ssh LOCAL console AAA authentication

    Enable http server

    http 192.168.250.0 255.255.255.0 inside

    No snmp server location

    No snmp Server contact

    Server enable SNMP traps snmp authentication linkup, linkdown cold start

    life crypto ipsec security association seconds 28800

    Crypto ipsec kilobytes of life - safety 4608000 association

    Telnet timeout 5

    SSH 192.168.250.0 255.255.255.0 inside

    SSH timeout 5

    SSH version 2

    Console timeout 0

    dhcpd dns 8.8.8.8

    !

    dhcpd address 192.168.250.20 - 192.168.250.50 inside

    dhcpd allow inside

    !

    a basic threat threat detection

    Statistics-list of access threat detection

    no statistical threat detection tcp-interception

    WebVPN

    allow outside

    SVC disk0:/anyconnect-win-2.5.2014-k9.pkg 1 image

    SVC disk0:/anyconnect-macosx-i386-2.5.2014-k9.pkg 2 image

    Picture disk0:/anyconnect-linux-2.5.2014-k9.pkg 3 SVC

    enable SVC

    tunnel-group-list activate

    attributes of Group Policy DfltGrpPolicy

    value of server DNS 8.8.8.8

    Protocol-tunnel-VPN IPSec l2tp ipsec svc webvpn

    tunnel-group AnyConnect type remote access

    tunnel-group AnyConnect General attributes

    address pool VPN_Pool

    tunnel-group AnyConnect webvpn-attributes

    enable AnyConnect group-alias

    !

    class-map inspection_default

    match default-inspection-traffic

    !

    !

    type of policy-card inspect dns preset_dns_map

    parameters

    maximum message length automatic of customer

    message-length maximum 512

    Policy-map global_policy

    class inspection_default

    inspect the preset_dns_map dns

    inspect the ftp

    inspect h323 h225

    inspect the h323 ras

    Review the ip options

    inspect the netbios

    inspect the rsh

    inspect the rtsp

    inspect the skinny

    inspect esmtp

    inspect sqlnet

    inspect sunrpc

    inspect the tftp

    inspect the sip

    inspect xdmcp

    !

    global service-policy global_policy

    context of prompt hostname

    no remote anonymous reporting call

    call-home

    Profile of CiscoTAC-1

    no active account

    http https://tools.cisco.com/its/service/oddce/services/DDCEService destination address

    email address of destination [email protected] / * /

    destination-mode http transport

    Subscribe to alert-group diagnosis

    Subscribe to alert-group environment

    Subscribe to alert-group monthly periodic inventory

    monthly periodicals to subscribe to alert-group configuration

    daily periodic subscribe to alert-group telemetry

    Cryptochecksum:30fadff4b400e42e73e17167828e046f

    : end

    Hello

    No worries

    As we change the config I would do as well as possible.

    First, it is strongly recommended to use a different range of IP addresses for VPN clients and the internal network

    No VPN_Pool 192.168.250.100 - 192.168.250.101 255.255.255.0 ip local pool mask

    mask 192.168.251.100 - 192.168.251.101 255.255.255.0 IP local pool VPN_Pool

    NAT_0 ip 192.168.250.0 access list allow 255.255.255.0 192.168.251.0 255.255.255.0

    NAT (inside) 0-list of access NAT_0

    Then give it a try and it work note this post hehe

  • 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 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

  • 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

  • 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

  • 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.

  • Oracle Golden Gate fail to start extract and reproduce the process

    Hello

    I am trying to set up Golden Gate, but I'm running into the following errors during Setup. Any help is appreciated. Below is the content of the configuration.

    Thank you
    JT

    ggssci > edit params mgr
    PORT 7809
    Ggs_owner username, PASSWORD ggs_owner
    PURGEOLDEXTRACTS/u01/app/oracle/ggs/dirdat/ex, USECHECKPOINTS

    ggsci > edit params ext1
    -extract the Group-
    extract ext1
    -connection to the database.
    ggs_owner username, password ggs_owner
    -hostname and port for trail-
    rmthost 192.168.2.111, mgrport 7809
    -path and trail name.
    rmttrail/u01/app/oracle/ggs/dirdat/lt
    Support - DDL
    DDL INCLUDE ALL
    DDL are mapped objname SCOTT.*;
    -DML
    table SCOTT.*;
    table SCOTT. EMP;
    table SCOTT. DEPT;
    table SCOTT. SALGRADE;
    table SCOTT. BONUS;


    GGSCI (ggsrc.localdomain) 12 > view report ext1


    ***********************************************************************
    Oracle GoldenGate Capture for Oracle
    Version 11.1.1.1 OGGCORE_11.1.1_PLATFORMS_110421.2040
    Linux, x 86, 32-bit (optimized), Oracle 11 g on April 30, 2011 22:35:14

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


    From 2011-08-18 14:17:50
    ***********************************************************************

    Version of the operating system:
    Linux
    Version #1 SMP Thu Mar 15 19:57:35 EDT 2007, exit 2.6.18 - 8.el5
    Node: ggsrc.localdomain
    Machine: i686
    limit software
    Address space size: unlimited unlimited
    Heap size: unlimited unlimited
    File size: unlimited unlimited
    Time CPU: unlimited unlimited

    Process ID: 3408

    Description:

    ***********************************************************************
    * In the course of a run with the following parameters *.
    ***********************************************************************
    -extract the Group-

    Context of the source:
    SourceModule: [er.main]
    SourceID: [/ scratch/sganti/view_storage/sganti_core_lin32/oggc]
    ore/OpenSys/src/app/er/rep.c]
    SourceFunction: [get_infile_params]
    SourceLine: [12245]
    ThreadBacktrace: [7] elements
    : [/ u01/app/oracle/ggs/extract (CMessageContext::AddThr]
    [eadContext () + 0 x 26) [0 x 8289366]]
    : [/ u01/app/oracle/ggs/extract (CMessageFactory::Create]
    (Message (CSourceContext *, unsigned int,...) + 0 x 817) [0x827fae7]]
    : [/ u01/app/oracle/ggs/extract (_MSG_ERR_STARTUP_PARAME]
    RROR_ERRORTEXT (CSourceContext *, const char *, CMessageFactory::MessageDisposition)
    [() + 0 x 81) [0x822fc81]]
    : [u01/app/oracle/ggs/extract [0x814e4c4]]
    : [u01/app/oracle/ggs/extract(main+0x1dc) [0x81529cc]
    ]
    : [lib/libc.so.6(__libc_start_main+0xdc) [0xa0adec]]
    : [/ u01/app/oracle/ggs/extract(__gxx_personality_v0+0x)]
    1C5) [0 x 8120491]]

    2011-08-18 14:17:50 parameter ERROR-OGG-00303 unrecognized (-excerpt).

    2011-08-18 14:17:50 ERROR OGG-01668 PROCESS ABENDING.


    GGSCI (ggsrc.localdomain) 15 > news

    Lag time since Chkpt program status group

    MANAGER RUNNING
    EXTRACT STOPPED EXT1 00:00:00 00:07:32



    GGSCI (ggtrgt.localdomain) 2 > Info

    Lag time since Chkpt program status group

    MANAGER RUNNING
    REPLICAT REP1 00:00:00 BY-LAW 00:10:23


    GGSCI (ggtrgt.localdomain) 3 > start replicat rep1

    Sending START request manager of...
    REPLICAT REP1 from


    GGSCI (ggtrgt.localdomain) 4 > news

    Lag time since Chkpt program status group

    MANAGER RUNNING
    REPLICAT REP1 00:00:00 BY-LAW 00:15:22


    GGSCI (ggtrgt.localdomain) 5 > view report rep1


    ***********************************************************************
    Oracle GoldenGate for Oracle delivery
    Version 11.1.1.1 OGGCORE_11.1.1_PLATFORMS_110421.2040
    Linux, x 86, 32-bit (optimized), Oracle 11 g on April 30, 2011 22:40:44

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


    From 2011-08-18 14:22:08
    ***********************************************************************

    Version of the operating system:
    Linux
    Version #1 SMP Thu Mar 15 19:57:35 EDT 2007, exit 2.6.18 - 8.el5
    Node: ggtrgt.localdomain
    Machine: i686
    limit software
    Address space size: unlimited unlimited
    Heap size: unlimited unlimited
    File size: unlimited unlimited
    Time CPU: unlimited unlimited

    Process ID: 4095

    Description:

    ***********************************************************************
    * In the course of a run with the following parameters *.
    ***********************************************************************
    -connection to database target-

    Context of the source:
    SourceModule: [ggdb.ora.db]
    SourceID: [/ scratch/sganti/view_storage/sganti_core_lin32/oggc]
    ore/OpenSys/src/gglib/ggdbora/dboci.c]
    SourceFunction: [odbc_param]
    SourceLine: [1220]
    ThreadBacktrace: [8] elements
    : [/ u01/app/oracle/ggs/replicat (CMessageContext::AddTh]
    [readContext () + 0 x 26) [0x820fa26]]
    : [/ u01/app/oracle/ggs/replicat (CMessageFactory::Creat]
    (eMessage (CSourceContext *, unsigned int,...) + 0 x 817) [0x82061a7]]
    : [/ u01/app/oracle/ggs/replicat (_MSG_ERR_STARTUP_PARAM]
    _UNRECOGNIZED (CSourceContext *, const char *, CMessageFactory::MessageDisposition)
    (+0x7E) [0x81a7b6e]]
    : [/ u01/app/oracle/ggs/replicat (odbc_param (char *, char))]
    [*) + 0xc25) [0 x 8182475]]
    : [u01/app/oracle/ggs/replicat [0x812ec26]]
    : [/ u01/app/oracle/ggs/replicat(main+0x1a1) [0x8135bb1]
    ]]
    : [lib/libc.so.6(__libc_start_main+0xdc) [0x71a1dec]]
    : [/ u01/app/oracle/ggs/replicat(__gxx_personality_v0+0)]
    x1b5) [0 x 8112991]]

    2011-08-18 14:22:08 parameter ERROR-OGG-00014 unrecognized:-target. PARAMETERS
    amplifier could be misspelled or not supported.

    2011-08-18 14:22:08 ERROR OGG-01668 PROCESS ABENDING.


    GGSCI (ggtrgt.localdomain) 6 >

    Commented lines are two hyphens, not one.

    Also, if you use scott.star, so why the list of other tables that would already be included by wildcards?

Maybe you are looking for