Oracle Golden Gate - Extract DDL only

Hi.  We are working on a golden gate proof of concept.  The way our configuration is set up, we want to pull changes from our standby to keep load low on the primary.  This will require us to extract ddl changes from the primary, so my current plan is to put the dml on a 5 minute delay, and get the ddl immediately from the primary.  I am running into two issues, one I cannot figure out the setting to get DDL only from the primary (right now I am getting both ddl and dml from the primary), and 2, I get the following error  when retrieving data from the standby:  2015-04-16 20:08:40 ERROR OGG-00303 Oracle GoldenGate Capture for Oracle, ext1.prm: Invalid destination "+DATA/dgdemo/archivelog" specified for TRANLOGOPTION ALTARCHIVELOGDEST option, and I also get an error when I do do specify an archivelog destination.  Can anyone point me to the appropriate settings.  Below is the parameter file:
extract ext1
userid ggate password ggate
--TRANLOGOPTIONS ASMUSER sys@ASM ASMPASSWORD password
TRANLOGOPTIONS DBLOGREADER
TRANLOGOPTIONS DBLOGREADERBUFSIZE 2597152,ASMBUFSIZE 28000
TRANLOGOPTIONS ARCHIVEDLOGONLY
TRANLOGOPTIONS ALTARCHIVELOGDEST primary "+DATA/dgdemo/archivelog" RECURSIVE
discardfile ./dirrpt/ext1.dsc,purge
reportcount every 15 minutes, rate
exttrail ./dirdat/t1
table SCOTT.*;

OGG does not support ALTARCHIVELOGDEST parameter in ALO mode till OGG version 12c.
Does GoldenGate Parameter ALTARCHIVELOGDEST Support ASM Diskgroups ? (Doc ID 1393059.1)
Also In order to run Extract in the ALO mode when archived logs are stored in ASM,  the original database configuration must have complete file specification  in  log_archive_dest_n setting. Incomplete file specification leads ASM to ignore  log_archive_format. An Incomplete file spec only contain the diskgroup name  like +ASMDISK1.
Users should ensure log_archive_dest is set using complete file  specification. In that case, log_archive_format is honored by ASM, and  Extract will work correctly.
For example:
alter diskgroup asmdisk2 add directory '+ASMDISK2/archivedir';

Similar Messages

  • Help on Oracle Golden Gate [SQL Server to Oracle Database]

    Hi,
    I am planning to use Oracle Golden Gate to replicate data from SQl Server 2008 to Oracle database. I had below queries which I wanted to get clarity on before making a decision. It would be very helpful if anyone can clarify this
    - Can I set-up OGG to synchronize only a subset of tables within a schema ? (for ex: 10 tables out of 50 tables in a schema)
    - Once the synchronization is set-up after the Initial Load, can the synchronization be paused (for few days) and then resumed again seamlessly ?
    Any help/input would be greatly appreciated.
    Regards
    Rajashekar

    - Can I set-up OGG to synchronize only a subset of tables within a schema ? (for ex: 10 tables out of 50 tables in a schema)
    Yes, the TABLE option in the extract needs to specify the table name (not a wildcard ( * )).  The replecat needs to be done the same way.
    Example:
    --Extract--
    TABLE <SCHEMA>.<TABLE_NAME>
    --Replicat--
    MAP <SCHEMA>.<TABLE_NAME>, TARGET <SCHEMA>.<TABLE_NAME>
    - Once the synchronization is set-up after the Initial Load, can the synchronization be paused (for few days) and then resumed again seamlessly ?
    Once the initial load is done, you can turn off the replicat for a few days.  Only thing is that you need to make sure you have space for the trail files that will be generated and access to any backups/archive logs that you may need later.

  • Install oracle golden gate 11.1.1.0 for oracle9i on RedHat AS3 U6 issue

    Hi expert,
    I need install Oracle golden gate base on below combination:
    GG version: 11.1.1.0 (x64)
    OS version: Redhat AS3 UL6 (x64)
    Oracle version: 9.2.0.8 (x64)
    I set the .bash_profile for oracle as below:
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/9.2.0
    export GGATE=/software/ogg
    export PATH=$PATH:$ORACLE_HOME/bin:$GGATE
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$GGATE
    However, after installation, when I run ggsci, it show below error message:
    ggsci: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
    I searched the libstdc++.so.6 in the server and found one in /lib64/ssa/libstdc++.so.6, I changed the LD_LIBRARY_PATH as:
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$GGATE:/lib64/ssa/
    then this time it has below error:
    ggsci: /lib64/ssa/libstdc++.so.6: version `GLIBCXX_3.4' not found (required by ggsci)
    ggsci: /lib64/ssa/libstdc++.so.6: version `GLIBCXX_3.4' not found (required by /software/ogg/libxerces-c.so.28)
    my question:
    1. Is GG 11.1.1.0 supported on RHEL AS3 U6? From oracle official website, it seems only the EL 4 UL7+ or EL 5 UL3+ are supported.
    2. If it's supported, how to resolve above error?
    Many thanks for your help.

    Hi,
    I think GG version: 11.1.1.0 (x64) supports only oracle 10g and 11g databases.
    Try GG version: 10.4.0.19 (x64) for oracle 9.2.0.8
    Thanks.

  • Does the oracle golden gate version 11.1.1.1.2 support oracle 12C database ?

    Hi experts,
    Currently in our environment we are having Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit DB which is replicated via oracle golden gate version 11.1.1.1.2. As per the application team requirement we need to migrate this database to 12C.
    Can any one help me on the below queries
    Does the oracle golden gate version 11.1.1.1.2 support oracle 12c database ?
    Are there any syntax changes in oracle goldengate versions which needs to be taken care in extract or replicat parameter files ?
    Thanks,
    Mushraff Shaik

    Hi,
    >>Does the oracle golden gate version 11.1.1.1.2 support oracle 12c database ?
    Why do you think it will not support 12c database ?
    From a Golden Gate perspective you need to create schema and use that.  As you are moving to 12c database, ideally you should think of upgrading Golden Gate 11.1 to 12c so you can use new feature such as Multi Threaded replicate etc..
    HTH,
    Pradeep

  • Oracle golden gate mapping table to target

    Hi,
    I am trying to map only few selected columns from a table on the source; to the target machine. How can it be done in oracle golden gate? Is there any specific GGSCI command for it?
    Regards

    arch27 wrote:
    Hi, I am trying to map only few selected columns from a table on the source;
    to the target machine. How can it be done in oracle golden gate? Is there any specific GGSCI command for it?The column mapping is done in the parameter (*.prm) file, not in the command line interface (ggsci). See the reference guide or the admin guide for examples. Basically just map the columns you want; unused columns from the source would just be ignored.
    The following maps all source columns to target columns where the source/target names are the same, and explicitly maps the target "foo" column to the source "bar" column:
    <blockquote>
    MAP ggs.tcustmer, TARGET ggs.tcustmer,
    COLMAP (
    USEDEFAULTS,
    foo = bar);
    </blockquote>
    The following ignores all columns from the source DB that are not explicitly listed.
    <blockquote>
    MAP ggs.tcustmer, TARGET ggs.tcustmer,
    COLMAP (
    id = id,
    target_firstname = src_fname,
    target_lastname = src_lname,
    foo = bar);
    </blockquote>
    See also...
    * http://www.oracle.com/technetwork/middleware/goldengate/overview/index.html
    * http://apex.oracle.com/pls/apex/f?p=44785:2:0:FORCE_QUERY::2,RIR,CIR:P2_GROUP_ID,P2_PRODUCT_ID:1001,2023

  • Oracle golden gate mapping table

    Hi,
    I am trying to map only few selected columns from a table on the source; to the target machine. How can it be done in oracle golden gate? Is there any specific GGSCI command for it?
    Regards

    Hi;
    For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » System Management and Integration » GoldenGate which you can get more quick response
    Regard
    Helios

  • Prerequisites for POC on Oracle Golden Gate

    Hi,
    I want to build POC on Oracle Golden Gate. I am looking for any prerequisites for the demonstration such as any downloads, machine requirements, hard disk capasity, configuration guide etc.
    Any help would be much appriciated.
    Thanks,
    Avadhut

    Hi Avadhut,
    Oracle GoldenGate for the Oracle Database:
    http://www.oracle.com/technology/software/products/goldengate/index.html
    Oracle GoldenGate for the ODI:
    http://www.oracle.com/us/products/middleware/data-integration/index.htm

  • Oracle golden gate question

    Hello,
    I have a plan to migrate my oracle 9.2.0.8 database from windows 32 bit to 11.1.0.7 on IBM AIX (6.1) 64 bit and i want to utilize Golden gate for this purpose. I am trying to open site http://support.goldengate.com/ but was not able to open for past two days. Can any onve guide if this site has been moved. I want to check whether above combination is supported on oracle golden gate or not.
    Thanks

    You can check https://support.oracle.com

  • Oracle Golden Gate Manager not starting

    Trying to configure Oracle Golden Gate between oracle 10g and Oracle 9i
    Golden gate Manager is not starting
    Error in MGR.rpt
    Source Context :
    SourceModule : [mgr.main]
    SourceID : [home/ecloud/workspace/Build_FBO_OpenSys_r11.1.1.0.0_078_[34085]/perforce/src/app/mgr/mgr.c]
    SourceFunction : [param_file_args]
    SourceLine : [2854]
    2010-10-03 09:27:48 ERROR OGG-00303 Unrecognized parameter (<CODE>PORT).
    2010-10-03 09:27:48 ERROR OGG-01668 PROCESS ABENDING.
    GGSCI (ggntestb) 1> edit params mgr
    "/export/home/oracle/ggs/dirprm/mgr.prm" 1 line, 23 characters
    <code>PORT 7809</code>

    Hi,
    Welcome to oracle forums :)
    Refer Link: http://gavinsoorma.com/2010/02/goldengate-tutorial-3-configuring-the-manager-process/
    Regards,
    X A H E E R

  • Oracle Data Integrator (ODI) vs Oracle Golden Gate

    We are about to start a new data warehouse project, which will require a data integration product and have the following questions:
    - ODI provides near real-time data warehousing support: - What is the difference between ODI's near-realtime data warehousing features and Oracle Golden Gate's real-time data integration?
    - How does Oracle Golden Gate achieve Real-time Data Integration? (What kind of non-invasive techniquire/procedures/processes does it use to achieve Real-time Data Integration?
    - Obviously with Oracle Golden Gate being the superior Data Integration product, what is the future of ODI?
    - Is there any product convergence planned for ODI and Oracle Golden Gate by Oracle corp. in the near/far future?
    - Most importantly, what product should we use to implement the new project: ODI or Oracle Golden Gate?
    - What is the easier product to learn/implement: ODI or Oracle Golden Gate?
    Others, please feel free to add to the above questions/concerns.
    Thanks for all your help.

    Hi,
    I tried to install the essbase driver adapter on ODI, but I can't connect to Essbase using topology manager. Anyone know about essbase drivers for ODI. I used ODI 10.1.3.4.
    Thanks all.
    Regards,
    Sumardi

  • Oracle Golden gate installation

    Hi,
    Where i will ger the configuration for Oracle golden gate,
    i want golden gate configuration for Oracle to Oracle, SQL to Oracle
    unidirectional & bi directional
    Thanks,

    You can go through several of the Oracle Learning Library lessons here:
    http://apex.oracle.com/pls/apex/f?p=44785:2:1926170455343282:FORCE_QUERY::2,CIR,RIR:P2_TAGS:Goldengate

  • Unable to connect to sybase in Oracle Golden Gate using GGSCI cmd prompt

    Hi All,
    I am trying to connect to sybase using golden gate cmd prompt GGSCI, but i am getting below error
    Command - dblogin sourcedb master userid sa
    master is the dbname (Default available in sybase)
    sa - user
    ERROR: Cannot connect to database master at server BL1DDG1W4BS.
    Client Library error: severity(0) number (44) origin(1) layer(4).
    ct_connect(): protocol specific layer: external error: The attempt to connect to
    the server failed.
    Sybase Version - 15.0
    Oracle Golden Gate version - Oracle Golden Gate for Non Oracle Database Release 10.4 for sybase 15.0.
    Please if any one can help me out.
    Thanks In Advance.
    Regards,
    Prachi

    the command is
    dblogin sourcedb <DNS_NAME> etc...
    DNS_NAME is the name of the ODBC connection to your sybase server.

  • Monitoring tool for Oracle Golden gate

    Hi,
    I am new to Oracle Golden gate. I did the setup for one way replication golden gate and wanted to monitor it for any alerts.
    I am wondering if we have any tool to monitor the golden gate and send the alerts if any issues like OEM grid?
    Thanks,
    Mahi

    Hello,
    Is it possible to monitor DB2 as a source(OS-AIX) and Oracle as a Target(OS-Linux) using OEM12c Plugin to monitor the golden gate.Please let us know.
    Thanks,
    Biplab.

  • Golden gate extract from multiple oracle db's on different servers

    Hello,
    I am new to golden gate and I want to know if is it possible to extract data from an oracle database which is on a different server? Below is the server list
    Linux server 1: has oracle database (11.2.0.4) (a1db) and golden gate installed (11.2.1.0.3).
    Linux server 2: has oracle database (11.2.0.4) (b1db)
    a1db and b1db are not clustered, these are 2 separate instances on 2 different servers.
    Is it possible to capture change data on b1db from GG installed linux server 1? I am planning to use classic capture.
    architecture like below, can it be done? If so what option I will be using in the extract
    Thanks,
    Arun

    Here is something from my personal notes; hope this helps:
    Standby or Off Host Environment
    GoldenGate extracts, data pumps and replicats can all work with database environments accessed using TNS.  When one of these processes needs to work with a database environment over TNS then instead of the following USERID specification:
    setenv (ORACLE_SID = “GGDB")
    USERID ggsuser, PASSWORD encrypted_password_cipher_text
    The following USERID specification would be used:
    USERID ggsuser@GGDB, PASSWORD encrypted_password_cipher_text
    When this specification is used the setenv line is not required since the process will connect over TNS.
    When a data pump or replicat is running in a standby or otherwise an off host environment the USERID specification above is the only special requirement.  It is recommended that the TNS entry contains the necessary failover and service name configuration so that if or when switch over or fail over occurs, the process may continue once the environment is available again.  if the data pump is using the PASSTHRU parameter then a USERID specification is not required.  When the data pump is operating in PASSTHRU mode, it does not need a database connection to evaluate the metadata.
    When a source extract is running in a standby or otherwise off host environment the USERID specification above is required as well as Archive Log Only mode.  It is recommended that the TNS entry contains the necessary failover and service name configuration so that if or when switch over or fail over occurs, the process may continue once the environment is available again.  The source extract requires a database connection in order to evaluate the metadata that occurs in the archived redo log.  Since the source extract is running in an environment separate from the source database environment it is unable to read the online redo logs.  Therefore it is required to be configured in Archive Log Only mode.  If the environment that the source extract is running in is a standby environment, then it will evaluate the archived redo logs through switchover. 
    The standby or off host environment has minimal requirements. The requirements that need to be met are Oracle software availability and storage for archived redo logs.  If the database environment where GoldenGate will be running is a standby database environment then GoldenGate can utilize the required shared libraries from the standby database environment.  However if GoldenGate is being executed from a server environment does not contain a database environment, a client installation is required at a minimum.  This will provide GoldenGate with the necessary shared libraries in order to satisfy it’s dynamically linked library dependencies.  The archived redo logs must also be available for GoldenGate to read.    They can be made available using a shared storage solution or with a dedicated storage solution.  A standby database environment works well for this purpose as it is receiving archived redo logs on a regular basis.  GoldenGate is able to leverage these archived redo logs and not impose any additional infrastructure requirements in order to evaluate and capture the data changes from the source database.  In order for GoldenGate to be utilized with a standby database environment for archived redo log access, only a minimal standby database is required.  Specifically the standby database needs to be be mountable so that it can accept archived redo logs.  Since GoldenGate will connect to the primary database to evaluate the metadata contained in the archived redo logs, a complete standby database is not required.

  • Golden gate extract and replicate process are not running.

    All,
    I am trying replicate data between two oracle databases using golden gate.
    I am trying this scenario in a single machine(two databases and golden gate are on same windows machine)
    1. I have two databases PROD, UAT both are running on 11.2 oracle home.
    2. Created the ggate user both the databases, and enabled supplemental logging.
    3. Ran the following scripts in both databases.
    SQL> @marker_setup.sql
    SQL> @ddl_setup.sql
    SQL> @role_setup.sql
    SQL> grant GGS_GGSUSER_ROLE to ggate;
    SQL> @ddl_enable.sql
    4. Connected the source database (PROD) in ggsci prompt
    GGSCI (home-c07402bbc5) 79> add extract ext1, tranlog, begin now
    add exttrail C:\app\Bhanu\Goldengate\lt, extract ext1
    edit params ext1
    EXTRACT ext1
    USERID ggate@PROD, PASSWORD 123456
    RMTHOST home-c07402bbc5, MGRPORT 7840
    rmttrail C:\app\Bhanu\Goldengate\lt
    ddl include mapped objname bhanu.* // bhanu is a schema in PROD database.
    TABLE bhanu.*;
    5. Connected the target database(UAT) in ggsci prompt
    add checkpointtable ggate.checkpoint
    edit params ./GLOBALS
    GGSCHEMA ggate
    CHECKPOINTTABLE ggate.checkpoint
    add replicat rep1, exttrail C:\app\Bhanu\Goldengate\Mt,checkpointtable ggate.checkpoint
    edit params rep1
    replicat rep1
    ASSUMETARGETDEFS
    userid ggate@UAT, password 123456
    discardfile C:\app\Bhanu\Goldengate\rep1_discard.txt, append, megabytes 10
    map bhanu.*, target kiran.*;
    After that started the extract, replicat using
    start extract ext1, start replicate rep1
    Now the status.
    GGSCI (home-c07402bbc5) 103> info all
    Program Status Group Lag Time Since Chkpt
    MANAGER RUNNING
    EXTRACT STOPPED EXT1 00:00:00 00:11:43
    REPLICAT STOPPED REP1 00:00:00 00:21:16
    Can you please help me what is wrong in my setup and why extract and replicate process are not running.
    Edited by: user12178861 on Nov 19, 2011 11:22 AM

    Thanks for your quick reply.
    I have done few changes but extract, replicate process not running.
    couple of points I would like to share with you regarding my setup.
    1. I am using single golden date instance to replicate the data between PROD and UAT databases.
    2. GGSCI (home-c07402bbc5) 1> dblogin userid ggate@PROD,PASSWORD 123456
    Successfully logged into database.
    GGSCI (home-c07402bbc5) 2> info all
    Program Status Group Lag Time Since Chkpt
    MANAGER RUNNING
    EXTRACT STOPPED EXT1 00:00:00 01:23:29
    REPLICAT STOPPED REP1 00:00:00 01:33:02
    GGSCI (home-c07402bbc5) 3> VIEW REPORT EXT1
    ERROR: REPORT file EXT1 does not exist.
    GGSCI (home-c07402bbc5) 4> start er *
    Sending START request to MANAGER ...
    EXTRACT EXT1 starting
    Sending START request to MANAGER ...
    REPLICAT REP1 starting
    GGSCI (home-c07402bbc5) 5> VIEW REPORT EXT1
    ERROR: REPORT file EXT1 does not exist.
    GGSCI (home-c07402bbc5) 6> info all
    Program Status Group Lag Time Since Chkpt
    MANAGER RUNNING
    EXTRACT STOPPED EXT1 00:00:00 01:24:10
    REPLICAT STOPPED REP1 00:00:00 01:33:44
    Target :
    GGSCI (home-c07402bbc5) 1> dblogin ggate@UAT,PASSWORD 123456
    ERROR: Unrecognized parameter (GGATE@UAT), expected USERID.
    GGSCI (home-c07402bbc5) 2> dblogin userid ggate@UAT,PASSWORD 123456
    Successfully logged into database.
    GGSCI (home-c07402bbc5) 5> add replicat rep1, exttrail C:\app\Bhanu\Goldengate/lt,checkpointtable ggate.checkpoint
    ERROR: REPLICAT REP1 already exists.
    GGSCI (home-c07402bbc5) 6> delete replicat rep1
    Deleted REPLICAT REP1.
    GGSCI (home-c07402bbc5) 7> add replicat rep1, exttrail C:\app\Bhanu\Goldengate/lt,checkpointtable ggate.checkpoint
    REPLICAT added.
    GGSCI (home-c07402bbc5) 8> edit params rep1
    GGSCI (home-c07402bbc5) 9> start er *
    Sending START request to MANAGER ...
    EXTRACT EXT1 starting
    Sending START request to MANAGER ...
    REPLICAT REP1 starting
    GGSCI (home-c07402bbc5) 10> info all
    Program Status Group Lag Time Since Chkpt
    MANAGER RUNNING
    EXTRACT STOPPED EXT1 00:00:00 01:29:46
    REPLICAT STOPPED REP1 00:00:00 00:00:48
    3. Is mandatory that I need two golden gate instances running each side ?
    Thanks for spending your time on this problem.

Maybe you are looking for

  • Kindly help.

    I am using iPad2 and trying to download a file of more than 50 MB without using wifi through iTunes . Now the is in waiting, I would like to delete the file from download list in iTunes . How to do this ?

  • How can I fix my Firefox. It crashed after I was on a website.

    I was on a website and when I went to check my mail it oopsed me. How do I fix this?

  • Installing Oracle database 10g version 10.2.0.4 on Windows Server 32bit

    Dear All, I need help with this problem. I installed database on windows server 2003 32bit. It server has 8 GB of RAM. I configured pfile to use AWE or VLM using document (ID 225349.1), so that I can increase SGA. Now I have error to start database.

  • Conditional operator question?

    Hello, Quick question, are we not allowed to use the conditional operator this way... see code below: char volatile ProgString_[] = "\ {Fan code} \ 12 <Limit11> [C1_ACM2]_[B1] _AND_ \ bla bla \ unsigned char UPC_SYSZ_EndOfTable(unsigned long i){ // F

  • Change Search UIBB dynamically.

    Hi Guys,              The search fields of search UIBB are defined in method : GET_DEFINITION of the feeder class using a strucutre. My requirement is to hide / show certain search fields based on an event at runtime. I donu2019t want to restart the