Golden Gate - Filter and transform update into a delete

Hi all,
I am new in GoldenGate, so even worst of not knowing how to do things is not to know if they are possible .
I have a condition for a table, and I only replicate if the insert/update meets that condition, but I also need to delete on the target if in an update it doesn't meet anymore the condition.
Is this possible, I am trying to find an example, anyone can help me.
Thanks in advance.
Best Regards,
Rogério

Hiee Rogério,
Consider the following example:
Source Table A
Target Table B
Structure of tables A & B
Table A
id varchar(5)
name varchar2(10)
marks number(2)
grade varchar(4)
Now any new Inserts or Updates are to be propogated from A to B, only if grade is "PASS" and delete it from the target if grade is updated to "FAIL" or marks < 40.
I assume this scenario is similar to what you are working with.
You have to create an On Insert - DML trigger on intermediate table C, which would delete rows from target table B.
Solution:
extract exta
userid ggadm@source, password ggadm
exttrail ./dirat/ext/aa
table user.A;
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
replicat repa
userid ggadm@target,password ggadm
handlecollisions
--replicats inserts or updates with grade = "PASS" into target--
getinserts
getupdates
map user.A, tagret user.B,
filter (on inserts, on updates, @if (@streq(grade = "PASS")) );
--          replicates updates with grade = "FAIL"            --
--           or marks < 40 to a separate table C               --
ignoreinserts
getupdates
insertupdates
handlecollisions
map user.A, tagret user.C, where (grade = "FAIL" or marks < 40);
SQLEXEC "truncate table user.c" every 1 hour  
-- Frequency of truncation can be decided based on --
-- 1. AMOUNT OF REDO                                      --
-- 2. SPACE LIMITATIONS                                   --
-- 3. DAILY TPS                                                   --

Similar Messages

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

  • Golden Gate, DBFS and SUN ODM

    Gents,
    DBFS - way of storing files as LOBS - cool feature, no bullet proof POCs yet. POC that I worked on got .78TB/hour to load data using external table, Oracle advertised 5TB/hour.
    There has been recommendation flowing around on using DBFS for storing "Golden Gate Trail/Checkpoint files"
    1. As we know, golden gate files are "Transient" and needs to be deleted once redo changes are applied.
    2. Assuming DBFS is setup within Exadata (storage servers, lets say 14-FULL RACK).
    3. ASM will do its own job of managing (striping and mirroring)
    ??Questions??
    A. What is the advantage of using DBFS on Exadata shared servers than storing shared NFS, to me, Golden gate files are transient and it will be waste of shared storage and performance impact due to ASM overhead of managing transient files on Exadata boxes?
    B. If we decide to store Golden Gate files on exadata, can we just store them on shared exadata server as regular files ?
    C. ASM specific, can we just conditionally bypass stripping and mirroring for "Golden Gate Transient Files"?
    D. ACFS Vs DBFS, why DBFS is better than ACFS ? (requirement specific question assuming I just want to store transient files for a period of time)
    Thanks
    -Dhaval

    munno wrote:
    ASM Clustered File System is supported on SUN ODM unless somebody comments on how ACFS is different than what Oracle says below.
    http://www.oracle.com/technology/products/bi/db/exadata/pdf/exadata-technical-whitepaper.pdf
    Please look into this pdf, page number 11.
    Here is the text from page 11
    Oracle Automatic Storage Management (ASM) is used as the file system and volume manager for
    Exadata. ASM virtualizes the storage resources and provides the advanced volume management
    and file system capabilities of Exadata. Striping database files evenly across the available Exadata
    cells and disks results in uniform I/O load across all the storage hardware. The ability of ASM to
    perform non-intrusive resource allocation, and reallocation, is a key enabler of the shared grid
    storage capabilities of Exadata environments.
    "Automatic Storage Management (ASM) != ASM Cluster File System (ACFS)
    That's the difference. Exadata uses ASM, but it does not support ACFS, only DBFS.
    Regards,
    Greg Rahn
    http://structureddata.org

  • Numerisati​on of Acquired Data and Transformi​ng into Frequency domain to process it with some mathematic​al expression​s

    Hi everyone,
    I've been trying to manage some signal processing stuff, I use mathscript node for it; due to the node, i have to transform the data set into numerical values. Due to my research, i should do my processing in frequency domain.
    I did a VI, but i dont think it will work properly when i will use it with acquired data. The VI in the attachment has four dummy-signal sources, sines, consider these as analog input channels. The main question is actually how to process acquired data with numerical operations. And how to properly transform the time domain series into "numerical" frequency domain array.
    Take a look at the example in the attachment. The other one is mathematical expression of the process.
    Thanks,
    OZGUR
    Attachments:
    sample.vi ‏204 KB
    mathematical.png ‏103 KB

    Motorbreath,
    Here are some examples on how to use LabVIEWs graphcial coding to get things into the Frequency domain:
    https://decibel.ni.com/content/docs/DOC-9981
    http://zone.ni.com/devzone/cda/tut/p/id/13042
    http://zone.ni.com/devzone/cda/tut/p/id/7111
    http://zone.ni.com/devzone/cda/epd/p/id/2904
    But essentially you are going to want to use the FFT VIs
    http://zone.ni.com/devzone/cda/tut/p/id/4278
    http://zone.ni.com/devzone/cda/tut/p/id/4541
    http://zone.ni.com/devzone/cda/tut/p/id/3342
    https://decibel.ni.com/content/docs/DOC-6390
    I hope this gets you going
    Sam S
    Applications Engineer
    National Instruments

  • Error Creating reusable subprocesses and transform them into BPEL

    I have a reusable process
    startevent-automated activity1-automatedactivity2-end event
    I have a main process:
    startevent- automated activity"step 1"-subproces step 2 (type =independent, reference to subprocess)-automated activity "step3"-end event
    When I transform the subprocess, it is successful. Then I transform the main process. it gives me the error "subproces step2 should have a start event and an endevent. It will not open in BPM Studio".
    The start and end event are there. Am I missing something here?
    Regards,
    Lonneke

    I figured out the problem: if I want to create a reusable subprocess in BPA Suite, I need to create a 'regular function' (not an automated activity) and assign it to the subprocess. Then it is transformed without any errors.

  • Golden Gate v/s Streams

    Hi,
    I'm looking for some info on these.
    Please let me know where I can find more info on these.
    • Product Roadmap (Streams being discontinued vs. golden gate now and in future)
    • Product Comparison (architecture, reporting, monitoring etc)
    Regards,
    Narayan

    You can take help from here:
    http://www.oracle.com/technetwork/middleware/goldengate/overview/statement-of-direction-gg-132120.pdf
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:3349335100346299316

  • CDC and deferred updates

    I am using CDC to generate events based on the entries in the CDC tables. I need to distingush between insert, update and delete events but when SQL chooses to do a deferred update, it changes an update into a delete and insert - is there a way I can affect
    this behaviour so that any update command results in an update record in the cdc tables?
    I am aware of the DBCC TRACEON (8207,-1) but this seems to only apply to update commands affecting 1 record and which don't affect fields used by unique constraints - my update commands will affect multiple records and fields with unique constraints applied
    to them.

    This problem is caused by a bug in the fn_cdc_get_net_changes_<capture_instance> functions. The bug works in 2 ways, the first is indentified in this thread: an additional row is exported with __$operation = 1. A 2nd problem, resulting from the same
    bug, is that some rows with __$operation = 1 are incorrectly suppressed. These missing rows are however less easily spotted and thus this incarnation of the problem is nowhere reported.
    The bug is reported on Connect as
    ID 690476 back in 2011 already. Below is a copy of the corrected cdc.fn_get_net_changes_dbo_NETTEST function in my test database. The fix can easily be extracted from this sample code. I would suggest you do not adapt the functions yourself in a production
    environment. Instead we should put all our combined powers in to get Microsoft to fix this issue. Please Vote and if possible have the case reopened as soon as possible. 
    create function [cdc].[fn_cdc_get_net_changes_dbo_NETTEST]
    ( @from_lsn binary(10),
    @to_lsn binary(10),
    @row_filter_option nvarchar(30)
    returns table
    return
    select NULL as __$start_lsn,
    NULL as __$operation,
    NULL as __$update_mask, NULL as [ID], NULL as [A]
    where ( [sys].[fn_cdc_check_parameters]( N'dbo_NETTEST', @from_lsn, @to_lsn, lower(rtrim(ltrim(@row_filter_option))), 1) = 0)
    union all
    select __$start_lsn,
    case __$count_23BAE034
    when 1 then __$operation
    else
    case __$min_op_23BAE034
    when 2 then 2
    when 4 then
    case __$operation
    when 1 then 1
    else 4
    end
    else
    case __$operation
    when 2 then 4
    when 4 then 4
    else 1
    end
    end
    end as __$operation,
    null as __$update_mask , [ID], [A]
    from
    select t.__$start_lsn as __$start_lsn, __$operation,
    case __$count_23BAE034
    when 1 then __$operation
    else
    ( select top 1 c.__$operation
    from [cdc].[dbo_NETTEST_CT] c with (nolock)
    where ( (c.[ID] = t.[ID]) )
    and ((c.__$operation = 2) or (c.__$operation = 4) or (c.__$operation = 1))
    and (c.__$start_lsn <= @to_lsn)
    and (c.__$start_lsn >= @from_lsn)
    order by c.__$seqval) end __$min_op_23BAE034, __$count_23BAE034, t.[ID], t.[A]
    from [cdc].[dbo_NETTEST_CT] t with (nolock) inner join
    ( select r.[ID], max(r.__$seqval) as __$max_seqval_23BAE034,
    count(*) as __$count_23BAE034
    from [cdc].[dbo_NETTEST_CT] r with (nolock)
    where (r.__$start_lsn <= @to_lsn)
    and (r.__$start_lsn >= @from_lsn)
    group by r.[ID]) m
    on t.__$seqval = m.__$max_seqval_23BAE034 and
    ( (t.[ID] = m.[ID]) )
    where lower(rtrim(ltrim(@row_filter_option))) = N'all'
    and ( [sys].[fn_cdc_check_parameters]( N'dbo_NETTEST', @from_lsn, @to_lsn, lower(rtrim(ltrim(@row_filter_option))), 1) = 1)
    and (t.__$start_lsn <= @to_lsn)
    and (t.__$start_lsn >= @from_lsn)
    and ((t.__$operation = 2) or (t.__$operation = 4) or
    ((t.__$operation = 1) and not exists (
    select top(1) *
    from [cdc].[dbo_NETTEST_CT] c with (nolock)
    where ( (c.[ID] = t.[ID]) )
    and c.__$operation = 2
    and c.__$start_lsn = t.__$start_lsn
    and c.__$seqval = t.__$seqval
    --(2 not in
    -- ( select top 1 c.__$operation
    -- from [cdc].[dbo_NETTEST_CT] c with (nolock)
    -- where ( (c.[ID] = t.[ID]) )
    -- and ((c.__$operation = 2) or (c.__$operation = 4) or (c.__$operation = 1))
    -- and (c.__$start_lsn <= @to_lsn)
    -- and (c.__$start_lsn >= @from_lsn)
    -- order by c.__$operation desc
    and t.__$operation = (
    select
    max(mo.__$operation)
    from
    [cdc].[dbo_NETTEST_CT] as mo with (nolock)
    where
    mo.__$seqval = t.__$seqval
    and
    ( (t.[ID] = mo.[ID]) )
    group by
    mo.__$seqval
    ) Q
    union all
    select __$start_lsn,
    case __$count_23BAE034
    when 1 then __$operation
    else
    case __$min_op_23BAE034
    when 2 then 2
    when 4 then
    case __$operation
    when 1 then 1
    else 4
    end
    else
    case __$operation
    when 2 then 4
    when 4 then 4
    else 1
    end
    end
    end as __$operation,
    case __$count_23BAE034
    when 1 then
    case __$operation
    when 4 then __$update_mask
    else null
    end
    else
    case __$min_op_23BAE034
    when 2 then null
    else
    case __$operation
    when 1 then null
    else __$update_mask
    end
    end
    end as __$update_mask , [ID], [A]
    from
    select t.__$start_lsn as __$start_lsn, __$operation,
    case __$count_23BAE034
    when 1 then __$operation
    else
    ( select top 1 c.__$operation
    from [cdc].[dbo_NETTEST_CT] c with (nolock)
    where ( (c.[ID] = t.[ID]) )
    and ((c.__$operation = 2) or (c.__$operation = 4) or (c.__$operation = 1))
    and (c.__$start_lsn <= @to_lsn)
    and (c.__$start_lsn >= @from_lsn)
    order by c.__$seqval) end __$min_op_23BAE034, __$count_23BAE034,
    m.__$update_mask , t.[ID], t.[A]
    from [cdc].[dbo_NETTEST_CT] t with (nolock) inner join
    ( select r.[ID], max(r.__$seqval) as __$max_seqval_23BAE034,
    count(*) as __$count_23BAE034,
    [sys].[ORMask](r.__$update_mask) as __$update_mask
    from [cdc].[dbo_NETTEST_CT] r with (nolock)
    where (r.__$start_lsn <= @to_lsn)
    and (r.__$start_lsn >= @from_lsn)
    group by r.[ID]) m
    on t.__$seqval = m.__$max_seqval_23BAE034 and
    ( (t.[ID] = m.[ID]) )
    where lower(rtrim(ltrim(@row_filter_option))) = N'all with mask'
    and ( [sys].[fn_cdc_check_parameters]( N'dbo_NETTEST', @from_lsn, @to_lsn, lower(rtrim(ltrim(@row_filter_option))), 1) = 1)
    and (t.__$start_lsn <= @to_lsn)
    and (t.__$start_lsn >= @from_lsn)
    and ((t.__$operation = 2) or (t.__$operation = 4) or
    ((t.__$operation = 1) and not exists (
    select top(1) *
    from [cdc].[dbo_NETTEST_CT] c with (nolock)
    where ( (c.[ID] = t.[ID]) )
    and c.__$operation = 2
    and c.__$start_lsn = t.__$start_lsn
    and c.__$seqval = t.__$seqval
    --(2 not in
    -- ( select top 1 c.__$operation
    -- from [cdc].[dbo_NETTEST_CT] c with (nolock)
    -- where ( (c.[ID] = t.[ID]) )
    -- and ((c.__$operation = 2) or (c.__$operation = 4) or (c.__$operation = 1))
    -- and (c.__$start_lsn <= @to_lsn)
    -- and (c.__$start_lsn >= @from_lsn)
    -- order by c.__$operation desc
    and t.__$operation = (
    select
    max(mo.__$operation)
    from
    [cdc].[dbo_NETTEST_CT] as mo with (nolock)
    where
    mo.__$seqval = t.__$seqval
    and
    ( (t.[ID] = mo.[ID]) )
    group by
    mo.__$seqval
    ) Q
    union all
    select t.__$start_lsn as __$start_lsn,
    case t.__$operation
    when 1 then 1
    else 5
    end as __$operation,
    null as __$update_mask , t.[ID], t.[A]
    from [cdc].[dbo_NETTEST_CT] t with (nolock) inner join
    ( select r.[ID], max(r.__$seqval) as __$max_seqval_23BAE034
    from [cdc].[dbo_NETTEST_CT] r with (nolock)
    where (r.__$start_lsn <= @to_lsn)
    and (r.__$start_lsn >= @from_lsn)
    group by r.[ID]) m
    on t.__$seqval = m.__$max_seqval_23BAE034 and
    ( (t.[ID] = m.[ID]) )
    where lower(rtrim(ltrim(@row_filter_option))) = N'all with merge'
    and ( [sys].[fn_cdc_check_parameters]( N'dbo_NETTEST', @from_lsn, @to_lsn, lower(rtrim(ltrim(@row_filter_option))), 1) = 1)
    and (t.__$start_lsn <= @to_lsn)
    and (t.__$start_lsn >= @from_lsn)
    and ((t.__$operation = 2) or (t.__$operation = 4) or
    ((t.__$operation = 1) and not exists (
    select top(1) *
    from [cdc].[dbo_NETTEST_CT] c with (nolock)
    where ( (c.[ID] = t.[ID]) )
    and c.__$operation = 2
    and c.__$start_lsn = t.__$start_lsn
    and c.__$seqval = t.__$seqval
    --(2 not in
    -- ( select top 1 c.__$operation
    -- from [cdc].[dbo_NETTEST_CT] c with (nolock)
    -- where ( (c.[ID] = t.[ID]) )
    -- and ((c.__$operation = 2) or (c.__$operation = 4) or (c.__$operation = 1))
    -- and (c.__$start_lsn <= @to_lsn)
    -- and (c.__$start_lsn >= @from_lsn)
    -- order by c.__$operation desc
    and t.__$operation = (
    select
    max(mo.__$operation)
    from
    [cdc].[dbo_NETTEST_CT] as mo with (nolock)
    where
    mo.__$seqval = t.__$seqval
    and
    ( (t.[ID] = mo.[ID]) )
    group by
    mo.__$seqval
    SQL expert for JF Hillebrand IT BV - The Netherlands.

  • Does Golden Gate provide any Webservices to start and stop services?

    Hi all,
    We are trying to use GG in our application. But we need a way to start and stop services from java code.
    Is there any Webservice interface or API to start and stop Golden gate services like GG manager, extract and replicat processes??
    Thanks in advance for your help.
    Yamini.

    You can control this at a database level using EVENTACTIONS parameter.
    Create a table at source & target called "EVENT" with field EVENT_TYPE ( example names only - please call it what you like ) .
    at Replicat config actions based on the data passed into the EVENT_TYPE column
    MAP GG_ADM.EVENT TARGET GG_ADM.EVENT, &
    FILTER ( (@STREQ(@IF(@COLTEST(EVENT_TYPE,PRESENT),EVENT_TYPE,"No EVENT"),"STOP") = 1)), &
    EVENTACTIONS (IGNORE , LOG,STOP);
    You'll need a seperate replicat to handle the start
    MAP GG_ADM.EVENT TARGET GG_ADM.EVENT, &
    FILTER ( (@STREQ(@IF(@COLTEST(EVENT_TYPE,PRESENT),EVENT_TYPE,"No EVENT"),"START_APP_02") = 1)), &
    EVENTACTIONS ((SHELL (${GG_HOME}/diroby/start.ksh R1APP_02 )));
    Hope that helps

  • Golden Gate for mysql5.5 extract is Abended,and not error in the file

    Dear All,
    golden gate for mysql5.5 to oracle 11g,extract is Abended ,but there didn't have error in the log , And sometimes the successful extraction some records;
    extract :
    EXTRACT EXT_M1               
    TRANLOGOPTIONS AltLogDest /mydata/mysqllog/binlog/binlog.index       
    SOURCEDB [email protected]:16052, USERID mama,PASSWORD mama        
    sqlexec "set names gbk;"       
    EXTTRAIL dirdat/m1                  
    Dynamicresolution               
    TABLE mama.merchants_member_card_customer;   
    datapump:
    EXTRACT DPRD_M1  
    SOURCEDB [email protected]:16052, USERID mama,PASSWORD mama  
    RMTHOST 192.168.2.57, MGRPORT 7089, compress --COMPRESSUPDATESETWHERE
    RMTTRAIL /home/oracle/goldengate/dirdat/m1
    NOPASSTHRU  
    TABLE mama.merchants_member_card_customer;
    GGSCI>>info all
    Program     Status      Group       Lag at Chkpt  Time Since Chkpt
    MANAGER     RUNNING                                          
    EXTRACT     RUNNING     DPRD_M1     00:00:00      00:00:01   
    EXTRACT     ABENDED     EXT_M1      00:11:49      00:01:56
    REPORT:
    GGSCI>>view report ext_m1
                      Oracle GoldenGate Capture for MySQL
          Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230
    Linux, x64, 64bit (optimized), MySQL Enterprise on Apr 23 2012 05:23:34
    Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
                        Starting at 2013-09-29 18:38:08
    Operating System Version:
    Linux
    Version #1 SMP Wed Jun 13 18:24:36 EDT 2012, Release 2.6.32-279.el6.x86_64
    Node: M46
    Machine: x86_64
                             soft limit   hard limit
    Address Space Size   :    unlimited    unlimited
    Heap Size            :    unlimited    unlimited
    File Size            :    unlimited    unlimited
    CPU Time             :    unlimited    unlimited
    Process id: 6322
    Description:
    **            Running with the following parameters                  **
    2013-09-29 18:38:08  INFO    OGG-03035  Operating system character set identified as UTF-8. Locale: zh_CN, LC_ALL:.
    EXTRACT EXT_M1
    TRANLOGOPTIONS AltLogDest /mydata/mysqllog/binlog/binlog.index
    SOURCEDB [email protected]:16052, USERID mama100,PASSWORD ****************
    sqlexec "set names gbk;"
    Executing SQL statement...
    2013-09-29 18:38:08  INFO    OGG-00893  SQL statement executed successfully.
    EXTTRAIL dirdat/m1
    Dynamicresolution
    TABLE mama100.merchants_member_card_customer;
    2013-09-29 18:38:08  INFO    OGG-01815  Virtual Memory Facilities for: COM
        anon alloc: mmap(MAP_ANON)  anon free: munmap
        file alloc: mmap(MAP_SHARED)  file free: munmap
        target directories:
        /home/goldengate/dirtmp.
    CACHEMGR virtual memory values (may have been adjusted)
    CACHESIZE:                               64G
    CACHEPAGEOUTSIZE (normal):                8M
    PROCESS VM AVAIL FROM OS (min):         128G
    CACHESIZEMAX (strict force to disk):     96G
    Database Version:
    MySQL
    Server Version: 5.5.24-patch-1.0-log
    Client Version: 6.0.0
    Host Connection: 192.168.2.46 via TCP/IP
    Protocol Version: 10
    2013-09-29 18:38:08  INFO    OGG-01056  Recovery initialization completed for target file dirdat/m1000000, at RBA 1295, CSN 000086|000000065228677.
    2013-09-29 18:38:08  INFO    OGG-01478  Output file dirdat/m1 is using format RELEASE 11.2.
    2013-09-29 18:38:08  INFO    OGG-01026  Rolling over remote file dirdat/m1000000.
    2013-09-29 18:38:08  INFO    OGG-00182  VAM API running in single-threaded mode.
    2013-09-29 18:38:08  INFO    OGG-01515  Positioning to begin time 2013-9-29 06:26:18.
    **                     Run Time Messages                             **
    2013-09-29 18:38:08  INFO    OGG-01516  Positioned to Log Number: 86
        Record Offset: 65223906, 2013-9-29 06:26:18.
    2013-09-29 18:38:08  INFO    OGG-01517  Position of first record processed Log Number: 86
        Record Offset: 65223906, 2013-9-29 06:26:18.
    TABLE resolved (entry mama100.merchants_member_card_customer):
      TABLE mama100."merchants_member_card_customer";
    Using the following key columns for source table mama100.merchants_member_card_customer: id.
    2013-09-29 18:38:08  INFO    OGG-01054  Recovery completed for target file dirdat/m1000001, at RBA 1316, CSN 000086|000000065228677.
    2013-09-29 18:38:08  INFO    OGG-01057  Recovery completed for all targets.
    ggsevt:
    2013-09-29 18:38:08  INFO    OGG-00963  Oracle GoldenGate Manager for MySQL, mgr.prm:  Command received from GGSCI on host localhost (START EXTRACT EXT_M1 ).
    2013-09-29 18:38:08  INFO    OGG-00975  Oracle GoldenGate Manager for MySQL, mgr.prm:  EXTRACT EXT_M1 starting.
    2013-09-29 18:38:08  INFO    OGG-00992  Oracle GoldenGate Capture for MySQL, ext_m1.prm:  EXTRACT EXT_M1 starting.
    2013-09-29 18:38:08  INFO    OGG-03035  Oracle GoldenGate Capture for MySQL, ext_m1.prm:  Operating system character set identified as UTF-8. Locale: zh_CN, LC_ALL:.
    2013-09-29 18:38:08  INFO    OGG-00893  Oracle GoldenGate Capture for MySQL, ext_m1.prm:  SQL statement executed successfully.
    2013-09-29 18:38:08  INFO    OGG-01815  Oracle GoldenGate Capture for MySQL, ext_m1.prm:  Virtual Memory Facilities for: COM
        anon alloc: mmap(MAP_ANON)  anon free: munmap
        file alloc: mmap(MAP_SHARED)  file free: munmap
        target directories:
        /home/goldengate/dirtmp.
    2013-09-29 18:38:08  INFO    OGG-00993  Oracle GoldenGate Capture for MySQL, ext_m1.prm:  EXTRACT EXT_M1 started.
    2013-09-29 18:38:08  INFO    OGG-01056  Oracle GoldenGate Capture for MySQL, ext_m1.prm:  Recovery initialization completed for target file dirdat/m1000000, at RBA 1295, CSN 000086|000000065228677.
    2013-09-29 18:38:08  INFO    OGG-01478  Oracle GoldenGate Capture for MySQL, ext_m1.prm:  Output file dirdat/m1 is using format RELEASE 11.2.
    2013-09-29 18:38:08  INFO    OGG-01026  Oracle GoldenGate Capture for MySQL, ext_m1.prm:  Rolling over remote file dirdat/m1000000.
    2013-09-29 18:38:08  INFO    OGG-00182  Oracle GoldenGate Capture for MySQL, ext_m1.prm:  VAM API running in single-threaded mode.
    2013-09-29 18:38:08  INFO    OGG-01515  Oracle GoldenGate Capture for MySQL, ext_m1.prm:  Positioning to begin time 2013-9-29 06:26:18.
    2013-09-29 18:38:08  INFO    OGG-01516  Oracle GoldenGate Capture for MySQL, ext_m1.prm:  Positioned to Log Number: 86
        Record Offset: 65223906, 2013-9-29 06:26:18.
    2013-09-29 18:38:08  INFO    OGG-01517  Oracle GoldenGate Capture for MySQL, ext_m1.prm:  Position of first record processed Log Number: 86
        Record Offset: 65223906, 2013-9-29 06:26:18.
    2013-09-29 18:38:08  INFO    OGG-01054  Oracle GoldenGate Capture for MySQL, ext_m1.prm:  Recovery completed for target file dirdat/m1000001, at RBA 1316, CSN 000086|000000065228677.
    2013-09-29 18:38:08  INFO    OGG-01057  Oracle GoldenGate Capture for MySQL, ext_m1.prm:  Recovery completed for all targets.
    2013-09-29 18:38:09  INFO    OGG-01054  Oracle GoldenGate Capture for MySQL, dprd_m1.prm:  Recovery completed for target file /home/oracle/goldengate/dirdat/m1000002, at RBA 1435, CSN 000086|000000055512672.
    2013-09-29 18:38:09  INFO    OGG-01057  Oracle GoldenGate Capture for MySQL, dprd_m1.prm:  Recovery completed for all targets.

    GGSCI>>info ext_m1 showch
    EXTRACT    EXT_M1    Last Started 2013-09-29 18:38   Status ABENDED
    Checkpoint Lag       00:11:49 (updated 00:12:05 ago)
    VAM Read Checkpoint  2013-09-29 18:26:18.665841
    Current Checkpoint Detail:
    Read Checkpoint #1
      VAM External Interface
      Startup Checkpoint (starting position in the data source):
        Timestamp: 2013-09-29 18:26:18.665841
      Recovery Checkpoint (position of oldest unprocessed transaction in the data source):
        Timestamp: 2013-09-29 18:26:18.665841
      Current Checkpoint (position of last record read in the data source):
        Timestamp: 2013-09-29 18:26:18.665841
    Write Checkpoint #1
      GGS Log Trail
      Current Checkpoint (current write position):
        Sequence #: 0
        RBA: 917
        Timestamp: 2013-09-29 18:30:55.655570
        Extract Trail: dirdat/m1
    CSN state information:
      CRC: 20-82-1D-34
      CSN: Not available
    Header:
      Version = 2
      Record Source = A
      Type = 8
      # Input Checkpoints = 1
      # Output Checkpoints = 1
    File Information:
      Block Size = 2048
      Max Blocks = 100
      Record Length = 20480
      Current Offset = 0
    Configuration:
      Data Source = 5
      Transaction Integrity = 1
      Task Type = 0
    Status:
      Start Time = 2013-09-29 18:38:08
      Last Update Time = 2013-09-29 18:38:08
      Stop Status = A
      Last Result = 0

  • Why is it when i update my status on facebook from iohone it splits the updates into two differents boxes with some funky symbol. I have uninstall facebook and installed it over and it still does it. only the facebook IPHONE app.

    why is it when i update my status on facebook from iphone it splits the updates into two differents boxes with some funky symbols at the beginning.. I have uninstall facebook and installed it over and it still does it. only the facebook IPHONE app where it says to update staus text to FBOOK  i have already update my phone too.
    if i go on the facebook site and update there through a brower on iphone it will work fine just cant us IPHONE mobile upload,  . But its a pain of not using my IPHONE APP for facebook cause it does that.

    The warranty entitles you to complimentary phone support for the first 90 days of ownership.

  • Have iphoto 9.0 working on a mac osx 10.7.4 yesterday ilife with idvd was downloaded into my mac,i can't open my iPhoto now its telling me to update app, but when i do it says no new updates are available at this time,and iPhoto update mesg pops up again.

    Have iphoto 9.0 working on a mac osx 10.7.4 yesterday ilife with idvd was downloaded into my mac,i can't open my iPhoto now its telling me to update app, but when i do it says no new updates are available at this time,and iPhoto update mesg pops up again.

    Hi,
    I scoured the web looking everywhere for a solution to this.
    Exit Code 15
    OSX 8.5 with Work@Home DVD media for CS6
    I followed instructions to run 3rd party cleaner software
    I tried the adobe removal tool
    removing all copies of adobe software manually
    installing from a new account, safe mode, plist everything suggested that i found did not work.
    A colleague suggested that removing the below folder would allow the installation:
    /Library/Application Supports/Adobe
    They turned out to be correct, so i am passing this on, because this took far too many hours of my time.
    Cheers,
    Smokey

  • HT5312 Alright, I have two apple ID's and I deleted the other on a whim a while back. Now whenever I need to update the iphoto or iMovie, it says to sign in into my deleted account, but I don't remember my old account's password either.

    I currently had two apple ID's and I deleted the other on a whim a while back. Now whenever I need to update the iphoto or iMovie, it says to sign in into my deleted account, but I don't remember my old account's password nor the security questions. Any Help Please?

    Check the AppleCare number for your country here:
    http://support.apple.com/kb/HE57
    Call them up, and let them know you would like to be transferred to the Account Security Team.

  • I have 2 iphones syncing on one computer and on the same apple ID. Before i updatad my Itunes to the last available update and my Iphones to 5.01 i had no problem draging jpg. and mp3 files into my iphones DCIM folder (the picture folder that opens when c

    I have 2 iphones syncing on one computer and on the same apple ID.
    Before i updatad my Itunes to the last available update and my Iphones to 5.01
    i had no problem draging jpg. and mp3 files into my iphones DCIM folder (the picture folder that opens
    when conecting to Itunes). Since my updates Itune wont let me drag and drop any files' even pictures that
    were taken with my Iphone on 4.3.3.
    Please help as we have no itunes music in Israel, only apps and i cant copy any of my old music from my computer
    to my iphones.
    If it helps, i am using a pc with 32 bit windows 7.
    Other from the obove Itunes works fine and does sync pictures from my computer to my Iphone from "my pictures" folder.
    Thank you for your time
    Yoni Bliss
    [email protected]

    The title of my initial post is a bit misleading. I already took a chance deleting one of the iPhones, hoping if I deleted the wrong one, I can still reauthorize it (all with the same Apple ID acct, so not subject to 90-day waiting period, right?) The iTunes database just updated itself, and it says I have 4 "devices" "in the Cloud", but 5 "computers" associated w my account. How can I find out what computers are associated? Isn't there a list I can see? I dont have a clue what computers they might be. If I use the  "Deauthorize All" option, is it a pain to add them all back in. I assume I would have to log in from each computer to reauthorize each one. Would I have to be running the newest OS or version of iTunes to reauthorize? I think I have a PowerBook G4 Titanium with an older OS and iTunes. I'd like to keep that authorized, if possible.

  • I updated my iphone 5 to ios 6.something to get rid of a notification and it went into recovery mode!!! My photos are not backed up or on icloud. i havent restored yet bc i cannot lose my photos but tinyumbrella wont work. HELP! please:(

    I updated my iphone 5 to ios 6.something (something about the speakers) to get rid of a notification and it went into recovery mode!!! My photos are not backed up or on icloud. i havent restored yet because i cannot lose my photos/videos, etc. but tinyumbrella wont work to exit recovery mode. HELP! please:(
    i tried tinyumbrella (and another similar software) to exit recovery but it only remains on the apple logo stuck there. please is there anything else i can do? i've contacted apple and they have told me the only choice i have is to restore and lose all my data.
    my iphone isn't jailbroken and i've updated before without this problem so i'm not sure what has happened. is there anyyy hope please ???

    First I would try to hold down the power and the home button for about 15sec, but at least as long as the iPhone restarts, if it is still stuck or still in recovery mode then I can suggest you the tool "Wondershare Dr. Fone for iOS", it is both a Windows and Mac tool and I just used it today to get my iPad out of the Recovery mode.
    Tell me if any of these options worked for you.

  • Decided to update iphone 4 to ios 5.1 and mid update it froze and the screen is black.  Phone does not respond to any combinations of home and power buttons, when plugged into computer it does not see it is plugged in, any ideas?

    Decided to update iphone 4 to ios 5.1 and mid update it froze and the screen is black.  Phone does not respond to any combinations of home and power buttons, when plugged into computer it does not see it is plugged in so I cannot restore or anything.  Looks like the screen is on it's just unresponsive and black obviously.  Has anyone had this problem?  I was updating via wifi right in front of my router and my computer.

    Spoke to a "senior advisor" in the Apple TV department.  Her suggestions:  change channel in router to minimize/eliminate wifi interference from other users; move router away from any metal - i.e., DVD player, phone modem, etc.; keep router away from wireless 2.4 gH phones, which are "notorious" for crashing wifi routers.  So she confirms that the problem is one of connection to router suddenly dropping out.
    My own feeling is that none of these fixes will do the trick, because it seems pretty clear that there is a hardware component here - the timing of the drops seems like an overheating issue.  It takes 35-40 minutes for the box to warm up enough for the first drop; then each consecutive drop happens quicker than the one before, as it heats up more.  Each time it drops, its tiny brain gets a little more scrambled; last night it finally wouldn't start up again at all.
    My suggestion is that everyone who is experiencing this problem, please call Apple tech support and ask to speak to a senior advisor in the Apple TV department.  Make them aware of this problem!

Maybe you are looking for

  • Video to a 16:9 TV

    Have a quick question. I have a MBP 15" with the 2.16GHz processor. I was trying to connect it to a TV with an HDMI input. I have the DVI to HDMI cable from the Apple store. When I connect it, every screen setting shows the desktop as squat with squa

  • Space bar not working imac

    Suddenly for no reason the backspace, spacebar and caps lock are no longer working on my wireless keyboard. I've seen loads of posts with the same problem but wondered if its a software issue of if the keyboard has just died?  I've tried it with othe

  • Internet Explorer Rendering

    Hi I was thinking about upgrading to iWeb 08. One of the things that has seemed irritating with IE is that versions of IE don't display iWeb pages properly because iWeb uses .png files. Is this still the case with iWeb 08? Are there any options to us

  • X-Fi Xtreme, WinXp SP3, chronic volume fading, can't use beta dri

    Hello, Per the new beta driver that's being reviewed in another thread, the into says "This download is a?beta driver providing Microsoft? Windows Vista? and?Windows?XP support for Creative Sound Blaster? X-Fi? series of audio devices..." Except for

  • I don' t have access to my secondary drive (My storage)

    OK, i try to explain my problem ( french speaker). I have change my computer G5 dual 1.8 for a a 8 cores 2.26. I have move my secondary drive but it appear on my desktop with a lock. When i click on it, i don't have enough privilege to access this vo