Replicated table DDL has more lines in the target as in the Source

Hello


I'm new on GoldenGate and test DDL support.


On Source

*********

GG version is 12.1.2.0.0 (integrated extraction Mode)

DB version is 11.2.0.4

OS version is 6.4 RHEL 64 bit

GGSCI (source) 1 > news

Program status group Lag time since Chkpt Chkpt

MANAGER RUNNING

EXTRACT RUNNING EXT1 10:00:00 00:00:07

EXCERPT FROM RUNNING EXTPUMP 00:00:00 00:00:04

GGSCI (source) 2 > discovers params ext1

EXTRACT ext1

USERIDALIAS ggown

LOGALLSUPCOLS

UPDATERECORDFORMAT COMPACT

EXTTRAIL /fs1/app/product/ogg/12.1.2.0.0/ogghome1/dirdat/et

DDL INCLUDE MAPPED OBJNAME GGTEST.*

MAP GGTEST.*;

GGSCI (source) 3 > discovers params extpump

EXTRACT extpump

USERIDALIAS ggown

RMTHOST usav1dba12t01, MGRPORT 7809

RMTTRAIL /fs1/app/oracle/product/ogg/12.1.2.0.0/ogghome1/dirdat/rt

MAP GGTEST.*;

GGSCI (source) 12 > ADD SCHEMATRANDATA ggtest

2014-06-04 10:27:55 INFO OGG-01788 SCHEMATRANDATA has been added to the schema ggtest.

2014-06-04 10:27:55 SCHEMATRANDATA OGG-01976 to INFORMATION for planning of the columns was added the ggtest schema.

SQL > create table ggtest.ind in select * from dba_indexes;

Table created.

SQL > select count (*) in IND;

COUNT (*)

----------

4791

On the target

********

GG version is 12.1.2.0.0 (Replicat Mode integrated)

DB version is 11.2.0.4

Version of the OS is RHEL 5.5 64-bit

GGSCI (target) 1 > news

Program status group Lag time since Chkpt Chkpt

MANAGER RUNNING

REPLICAT RUNNING REP1 00:00:00 00:00:07

GGSCI (target) 2 > discovers params rep1

REPLICAT Rep1

SETENV (ORACLE_HOME="/fs1/app/oracle/product/11.2.0/dbhome_1')

SETENV (ORACLE_SID = "POCDB2")

DBOPTIONS INTEGRATEDPARAMS(parallelism 2)

USERIDALIAS ggown

ASSUMETARGETDEFS

HANDLECOLLISIONS

CARD ggtest.*, ggtest.* of the TARGET.

SQL > select count (*) in IND;

COUNT (*)

----------

4946

There is an inconsistency in the number of replicated rows. I can't understand whence the other lines.


Kind regards

Mr. Nagendra

If you can do:

Source:

Select count (*) in dba_indexes;

target:

Select count (*) in dba_indexes;

they match?

create table... select is a ddl and repicated statement as is to the target, so do the following instead of create as selected:

1 truncate the table on two databases of towing, or create the table.

2. insert into ggtest.ind select * from dba_indexes; commit;

3. check the metering

Tags: Business Intelligence

Similar Questions

  • cannot find the table name of the multiple tables which has more columns.

    Hello

    I'm trying to find the NAME of the TABLE from multiple tables which has more columns. I can't count the number of columns in the table, but cannot find the name of the table that has larger columns in other tables.

    SELECT TABLE_NAME, COUNT (*) FROM THE USER_TAB_COLUMNS WHERE TABLE_NAME LIKE '% LOC' GROUP TABLE_NAME


    Thank you.

    in SQL, you can try this:

    var v_name varchar2(40)
    
    begin
       with
          subq1 as ( select table_name, count(*) as column_count from user_tab_columns where table_name like 'FIBER%'
                         group by table_name
                         order by count(*) desc )
       select table_name
         into :v_name
        from subq1
       where rownum = 1;
    end;
    

    To get the result:

    select :v_name from dual
    

    The clause "with" brings together all the tables and ordered them all first, by the greatest number of columns
    The final query uses the rownum restriction so that it takes the first name from the table of results of the subquery.

    The restriction of rownum also exactly guarantees a result each time so that it will work with the variable binding.

    RP

  • Why left outer join with a table gives me more lines?

    Hi gurus,

    I can see "view_a" and a table 'table_a '.

    view_a a county of 100 lines. Now, when I left outer join that discovers with a 'table_a', I expect all 100 lines.

    However, I'm more than 100 lines. Is it still possible?

    Also even to analyze these situations, how can I move forward?

    Because it is very high volumn of sight and takes longer to run.

    Select count (*) view_a, view_b

    where view_a.col1 = view_b.col1 (+)

    and view_a.col2 = view_b.col2 (+);

    Thank you

    I can see "view_a" and a table 'table_a '.

    view_a a county of 100 lines. Now, when I left outer join that discovers with a 'table_a', I expect all 100 lines.

    However, I'm more than 100 lines. Is it still possible?

    Also even to analyze these situations, how can I move forward?

    Because it is very high volumn of sight and takes longer to run.

    Select count (*) view_a, view_b

    where view_a.col1 = view_b.col1 (+)

    and view_a.col2 = view_b.col2 (+);

    Which is not necessarily related to the use of an outer join.

    Just join of two tables in general will give you more rows of one table has.

    Scott DEPT table contains ONE row for deptno = 10

    The EMP table has THREE rows of deptno = 10

    The number of rows you plan if you join two tables using an equi-join?

    Three - what is MORE lines the DEPT table has for deptno = 10

    Select * from Department where deptno = 10

    DEPTNO, DNAME, LOC
    10, ACCOUNTING, NEW YORK

    Select * from emp where deptno = 10

    MGR, EMPLOYMENT ENAME, EMPNO, HIREDATE, SAL, COMM, DEPTNO
    7782, CLARK, MANAGER, 7839, 6/9/1981,2450, 10
    7839, KING, PRESIDENT, 17 NOVEMBER 00, 10
    7934, MILLER, CLERK, 7782, 23 JANUARY 00: 10

    Select dept.*, emp.*
    Department, emp
    where dept.deptno = 10
    and dept.deptno = emp.deptno

    DEPTNO, DNAME, LOC, EMPNO, ENAME, JOB, MGR, HIREDATE, SAL, COMM, DEPTNO_1
    10, ACCOUNTING, NEW YORK, 7782, CLARK, MANAGER, 7839, 6/9/1981,2450, 10
    10, ACCOUNTING, NEW YORK, 7839, KING, PRESIDENT, 17 NOVEMBER 00, 10
    10, ACCOUNTING, NEW YORK, 7934, MILLER, CLERK, 7782, 23 JANUARY 00: 10

    So if these are the lines ONLY in the table EMP and DEPT the query would give you THREE lines despite the DEPT table only ONE line.

    No do you expect? You get ALL the child rows that belong to the parent company. Otherwise, how could it possibly work?

    The OUTER join includes lines where the parent row exists but there is NO child line as others have shown.

    Outer joins

    Outer join extends the result of a simple join. Outer join returns all rows that satisfy the join condition and also returns some or all rows in a table for which no line of the other meet the join condition.

    Get more lines to exist in one of the paintings is a basic necessity. It usually has NOTHING to with the question of whether you have an outside to join or not.

    See the section on the JOINTS in the Oracle documentation

    http://docs.Oracle.com/CD/B28359_01/server.111/b28286/queries006.htm

  • Help to extract data Clob to a column in a table that has several lines in a table

    Help to extract data Clob to a column in a table that has several lines in a table

    It works for only the first line

    CREATE or REPLACE DIRECTORY XMLDIR AS ' / orabackups';

    Grant read, write on DIRECTORY XMLDIR to the public;

    () dbms_xslprocessor.clob2file

    beef in CLOB,

    XMLDIR IN VARCHAR2,

    "testfile2.txt" IN VARCHAR2);

    DECLARE

    buf CLOB.

    BEGIN

    SELECT H15_DOC

    IN buf

    OF H15TEST. H15_STAGE

    where rownum = 1;

    dbms_xslprocessor.clob2file (buf, 'XMLDIR', 'testfile2.txt');

    END;

    /

    -This error code

    CREATE or REPLACE DIRECTORY XMLDIR AS ' / orabackups';

    Grant read, write on DIRECTORY XMLDIR to the public;

    () dbms_xslprocessor.clob2file

    XData in CLOB,

    XMLDIR IN VARCHAR2,

    "testfile2.txt" IN VARCHAR2,

    CSID in NUMBER: = 0);

    DECLARE

    CURSOR xmlmycur IS SELECT H15_DOC

    OF H15TEST. H15_STAGE

    where rownum = 102140;

    l_clob CLOB.

    XData CLOB.

    BEGIN

    DBMS_LOB.CREATETEMPORARY (l_clob, true);

    DBMS_LOB.CREATETEMPORARY (xdata, true);

    OPEN xmlmycur.

    LOOP

    SEEK xmlmycur INTO xdata;

    dbms_xslprocessor.clob2file (xdata, 'XMLDIR', 'testfile2.txt');

    EXIT WHEN xmlmycur % notfound;

    END LOOP;

    CLOSE Xmlmycur;

    END;

    /

    ORA-21560: 3 argument is null, invalid or out of range

    ORA-06512: at "SYS." DBMS_LOB", line 991

    ORA-06512: at "XDB". DBMS_XSLPROCESSOR', line 324

    ORA-06512: at line 15 level

    FYI, it seems that the file being created will exceed 5 gig

    Yes, it is a known issue with DBMS_XSLPROCESSOR.clob2file with big files.

    Here is a slightly modified version of the code that I posted earlier, fixing WRITE_ERROR except:

    DECLARE

    v_file utl_file.file_type;

    -write a unique to clob

    procedure write_clob (p_content in clob) is

    v_buffer varchar2 (32767).

    V_POSITION pls_integer: = 1;

    v_amount pls_integer: = 32767;

    Start

    loop

    Start

    DBMS_LOB. Read (p_content, v_amount, v_position, v_buffer);

    exception

    When no_data_found then exit;

    end;

    UTL_FILE.put_raw (v_file, utl_raw.cast_to_raw (v_buffer), true);

    V_POSITION: = v_position + v_amount;

    end loop;

    end;

    BEGIN

    -Open the file

    v_file: = utl_file.fopen ('TEST_DIR', 'testfile2.txt', 'wb', 32767);

    -loops through the lines

    for r in)

    Select h15_doc

    of h15test.h15_stage

    )

    loop

    write_clob (r.h15_doc);

    end loop;

    UTL_FILE.fclose (v_file);

    END;

    /

  • Satellite A300-1IL - monitor has white lines at the bottom

    Good evening

    about an hour, followed by my satellite a300 monitor has white lines at the bottom.
    I try to stop, change the resolution but i just turn on my laptop, the screen has this white line.

    It is a problem of monito'rs or videocar problem?

    Sorry for my ebglish

    Hello

    > It is a problem of monito'rs or videocar problem?
    It's easy to say; you need to connect the external monitor to the laptop and need to check if the same if possible lines on a second external display.

    If the lines were visible on the external monitor, so that the GPU fault is possible.
    Otherwise, it may be defective internal display.

    Welcome them

  • In table form, addition of line, enter the key

    I have a tabular presentation.  The user must enter the number of items; Sometimes one, sometimes thirty. There is a field to display in the report, i.e. 11111 22222 33333... By default, we can enter an element using the ten key pad, press TAB and jump on the add a line button, press ENTER and a new line is created.  But the cursor happened somewhere else in the form.  I would then put the Add button a line sets the cursor to the new line of tables so that the user can quickly add multiple numbers without having to use the mouse to click in each new domain. Thanks in advance...

    Also, is there anyway to notify if the user enters a number double?

    Hello

    I have add to your page sample 3 new JavaScript function in the HTML page header

    function validateAndAddNewRow(){
    
    /* get all input tags */
    var lInput=$("input[name=f06]");
    
    /* array to hold input values */
    var lValues=[]
    
    /* collect input values to array */
    lInput.each(function(i){
      lValues.push(this.value);
    });
    
    /* get unique values */
    lValues=$.unique(lValues);
    
    /* compare input count to unique values count */
    if(lInput.length !== lValues.length){
    
      /* if there is duplicate values */
      /* alert about duplicates and exit */
      alert("Duplicate values");
      return false;
    
    }
    
    /* no duplicates. so we add new row */
    addRow();
    
    /* set focus to last row */
    $("input[name=f06]:last").focus();
    
    }
    

    And add a line button target has changed

    javascript:validateAndAddNewRow();
    

    This seems to work ok in your example when I run with Firefox.

    I noticed that on page 3, you have little JavaScript in the HTML Body Page attribute.

    You should not write here all the JavaScript functions. You must fix this.

    After you have correct this problem and try my proposal in your own environment return message it works.

    If it doesn't, the control is there are JavaScript errors, for example by using Firebug.

    Kind regards

    Jari

  • Qosmio G10 has vertical lines on the screen

    I have a G10 which I use for the last 15 months since I bought it.
    However, there are now 4 vertical lines on the screen, 2 Purple (magenta?), 1 yellow and 1 cyan. Other than these lines there are no other problems, it never fell down or something like that.

    The lines are still there, they do not change in any way and are always in the same place. They appear on the screen at first power up, before the Qosmio logo lights up.

    They have not all appear at the same time, they all appeared individually in the past two months. I've seen the last of them disappear briefly, then stay on.

    I guess that my screen is dying slowly, I guess to be an expensive item.

    Any advice thrown my way would be greatly appreciated!

    I took a picture of the screen you will find at:

    http://www.imagebucket.NET/images/lldata/displaylines.jpg

    Note: the photo was taken with Media Player full screen on a black image, just to clearly show the lines)

    Hello

    I suggest you connect an external display to check if it's a graphics card or a display problem. If cela pipes appears also on the external screen then it could also be a problem with the graphics card.
    If these lines do not appear on the external display while the display of the laptop has a malfunction.
    However, this does not change your situation. I recommend you contact the Toshiba ASP to solve this problem.

  • Querying the oracle table that has a column with the name of "FILE".

    Hi all

    I need to have an oracle table that has the column with the name "FILE".

    I can query all columns with the query "select * from table".

    But I'm not able to use the query "select the table file.

    This table is converted from ms access to oracle and I need to have this column with the name "FILE".

    Any suggestions?

    Thank you

    Abdellaoui

    Hello

    FILE is a keyword from Oracle, so it's not a good name,

    Use FILEDATE, or DATE_FILED, or something else that is not in V$ RESERVED_WORDS. KEYWORD as the name column.

    If you need to use the FILE, then you must use quotation marks.

  • Eris has more screens than the Droid?

    I played with a Droid Eris friends last night and noticed that it has 6 screens. My Droid has only 3. I was under the impression that the Droid has been higher than the Eris and although, I think I have 6 screens is better functionality. Y at - it a program or application out there that would give my Droid more screens to use?

    My favorite home screen replacement is currently helix Launcher. It's free and much faster than anything I have tried. You can customize your screen quantity and it has 4 fixed locations at the bottom of the screen for your applications like phone, mail, Gmail and browser.

  • 2.4 ambient light: images on the screen with LR has more warm than the setting of the others...

    THE IMAGES ON THE SCREEN WITH LR2.4 HAS A TONE HOTTER THAN SETTING OTHER PHOTOEDITING INSTALLED ON THE SAME COMPUTER PROGRAMS. HOW CAN I CHANGE THE KEY IN LR2.4?

    In fact, it is a well known problem with Lightroom. It emerges from all the

    time on this forum for windows systems (others can testify of this fact and)

    must be the reason why John suggested recalibrate above). Some monitor

    profiles of this vessel from manufacturers (or that some packets of calibration

    generate) have intentions of corrupt perceptual rendering. If it is present,

    Lightroom uses the perceptual intent. Photoshop always uses the parent

    one. This can lead to differences between Lightroom and Photoshop. Sometimes

    These differences may be really obvious (as they are here) and sometimes it

    is just visible as a permanent slight Posterization or coloring in the shadow areas. The

    solution is to calibrate and profile using equipment, or if you care

    on the color and contrast of your images (hard to call you a photographer to)

    However pointing) your windows installation is simply to guess than sRGB

    for the monitor.

    Bottomline: When you see a difference between Lightroom and Photoshop for

    files with the same settings in LR and ACR, the cause is in 90% of cases

    a "bad" or inappropriate for

    Monitor profile in Lightroom and in 10% of the incorrect settings in the color

    tab management in Photoshop.

    Someone on this forum once noticed that if I had

    received a dime for all the moments that I suggested that the monitor profile

    has been bad and the poster came up saying "but that may not be true."

    to discover after much insistence to calibrate / profile in fact the

    show that he has the profile, I'd be rich. Of course, I can't count

    the number of times that this has proved to be the case. In the end, I could be

    able to buy a beer for the income, but to become rich?

  • is there a way to limit the cursor at the end of a line in the source code editor?

    In the source editor, the cursor will always follow where to click. But I want to restrict it at the end of a line, just like the other text editors don't. Y at - it an option or sth? I can't put up with it any longer.

    Hello morph!

    The source in the LabWindows/CVI environment Editor is built according to the concept of the virtual space.

    For the moment, in the current version of LabWindows/CVI, this is the default behavior, which cannot be changed in the Preferences Editor dialog boxes.

    Best regards

    -Johannes

  • HP Officejet Pro 8600 black printing/copying has vertical lines on the page. The color is fine.

    HP Officejet Pro 8600.  at 2 weeks.

    Windows XP

    Color copies/prints are very good.  Black prints/copies have vertical lines widths, ranging from top to bottom.  This occurs when it is copied to form glass or through the feeder.

    Suggestions?

    If the unit is producing lines in copies, so I suggest checking a few things. Make sure that the printer is plugged into a wall outlet directly and not in a surge protector. Additionally, make sure that the glass of the scanner (including the small strip on the left) are clean.

    Also, see the steps in the document troubleshooting located here.

  • touch screen has two lines in the upper part

    I just bought a R5-571 of Best Buy. It's a two in one, but there's an ine doulbe which crosses the top of the screen. However, my initial was that it served a purpose and there was some setting that was originally there, but I couldn't find anything. I took a screenshot, but the lines do not appear in the screenshot. If you use the browser Chrome location would be right in the middle of the tabs down through the entire screen or about 3 mm high and the lines are about 1 mm.

    I would like to take it back to Bestbuy and Exchange.

  • Color printing: the print has colored lines across the page viertical obliterate the copy.

    I have a printer Officejet Pro 8600 working with my vista 32 bit.system.   My copies of original color print color strines vertical on the page. I have cleaned the print heads and aligned. Everything prints fine other circuits. What is the problem? Is there a solution? Is - it physical hardware or software?

    I understand that your copies have vertical lines through them. I have a useful document that might help.

    Click here for the document.

    Let me know if it helps.

  • Inspiron 9300 has vertical lines in the middle of the screen...

    My laptop just started to get vertical lines running through the middle of the screen and flickering. I wonder if there is a loose connection or if I need a new monitor?
    Any help would be greatly appreciated!


Maybe you are looking for

  • iCloud mail does not open

    Hello I'm not able to open my mail at iCloud.com. It works very well in the Mac Mail program in Mac OS, but logging on the site iCloud.com the mail does not open. It says I have the no network to connect or is slow. This is not true since everything

  • Toshiba WT7-C-100 - I think I erased all of the HARD drive

    I tried to reset to factory my Tablet but I think I deleted all the hard drive. When turned on, it goes into a shell as the screen back. HELP please.

  • Equium L300 - 17Q - "Enter" button does not

    As read you on the title my TOSHIBA EQUIUM L300 - 17Q enter button does not. screen-on the built-in keyboard works is that all the other keys work.I have reinstalled the keyboard from the device manager driver, then perform full system recovery and s

  • Apple's music will not stop downloading music

    I don't want Apple's music to download all my music on my iPad 2. I disabled the automatic music download in settings/iTunes Store and App Store on my iPad.  I also disabled iCloud music library in settings/music.  I restarted the device.  Yet when I

  • Dawn of war runtime error!

    Ive recently dawn of war and after having successfully installed im get a Microsoft Visual C++ saying error message: runtime error!C:\Program War\W40k.exe Files\THQ\Dawnabnormal termination of the programIm running Windows Vista Home Premium Service