Goldengate replicat slow to process sequence.nextval

GGS replicat takes 45 minutes to process this statement. Tracing the replicat session shows that replicat is continuously altering the sequence on the target. The statement completes on the source in less than 1 minute. Any ideas on how I can speed this up.
Thanks,
Lynn
insert into test_tab2
select MYSEQ_ID.nextval,OR_DATETIME_ID,LOCATION_ID, CLINIC_ID ,ACCESSION_COUNTS
from
(select * from summary.CLINIC_MV
where order_datetime_id >
(select mor_datetime_id) - 40 from summary.CLINIC_MV))

Identified OS issue. Not a GGS issue.

Similar Messages

  • Top 5 queries  - One of them is sequence.nextval from dual !!!!!

    Hi All,
    I am using ORACLE DATABASE 11g and Oracle Linux 5.
    My intentions are to get the top resource consuming or time consuming queries from database in the particular time frame. I formed the below query to get the same :-
    select a.SQL_FULLTEXT,
                 s.module,
                 s.cpu_time_total / 1000000,
                 s.iowait_total / 1000000,
                 s.fetches_total,
                 s.sorts_total,
                 s.executions_total,
                 s.loads_total,
                 s.disk_reads_total /
                 DECODE(s.executions_total, 0, 1, s.executions_total) reads_per_execution,
                 s.disk_reads_total,
                 s.direct_writes_total / 1024,
                 s.buffer_gets_total / 1204,
                 s.rows_processed_total,
                 s.elapsed_time_total / 1000000,
                 s.apwait_total / 1000000,
                 s.ccwait_total / 1000000,
                 s.plsexec_time_total / 1000000,
                 s.javexec_time_total / 1000000
            from DBA_HIST_SQLSTAT S, DBA_HIST_SNAPSHOT h, v$sqlarea a
           where s.parsing_schema_name = 'ST'
             and s.executions_total != 0
             and s.snap_id = h.snap_id
             and a.SQL_ID = s.sql_id
             and h.begin_interval_time > '03-NOV-11 09.30.00.000 AM'
             and h.end_interval_time < ''03-NOV-11 12.30.59.999 PM'
             and rownum <= 5
           order by 15 desc;I assume that above query will give me top 5 sql or pl/sql queries which are consuming most resource or time. Please correct me if am wrong with the query.
    The surprising fact is that I got the below query as the top most resource consuming query :-
    SELECT REF_SEQ.NEXTVAL AS VAL FROM DUALI searched for all the code in the database and I was not able to find this line in any code. The fact is that this query should not take more than 1 second as we know that sequence nextval from dual table is very fast so, how can i get this as resource consuming query.
    The output is as follows :- ( I have modified the output to show all the facts in detail. Here you can see that it shows the execution time as 10.002467 Seconds. In real this will get execute in less than a second.)
    MODULE NAME := Banking
    TOTAL CPU TIME := 8.299744 Seconds.
    TOTAL IO WAIT TIME := .915287 Seconds.
    TOTAL RECORDS FETCHED := 41128 Rows.
    SORT OPERATION(S) := 0
    TOTAL NO. OF EXECUTION(s) := 41128 Times.
    TOTAL NO. OF TIME(S) OBJECT/QUERY LOADED/RELOADED := 5
    DATA READ PER EXECUTION := .002139661544446605718731764248200739155806 KB.
    TOTAL DISK READS := 88 KB.
    TOTAL DISK WRITES := 0 KB.
    TOTAL BUFFER READS := 4.92441860465116279069767441860465116279 KB.
    TOTAL NO. OF ROW(S) PROCESSED := 41128
    TOTAL EXECUTION TIME FOR ONE TRANSACTION := 10.002467 Seconds.
    APPLICATION WAIT TIME := 0 Seconds.
    CONCURRENCY WAIT TIME := .344575 Seconds.
    PL/SQL EXECUTION TIME := 0 Seconds.
    JAVA EXECUTION TIME := 0 Seconds.Please guide me for this method. How to understand the presence of this sequence.nextval query here.
    The base requirement is I want a query which will give me top 5 resource/time consuming queries. I have took the help of AWR views in my logic. If you have any better idea let me know.
    Thanks in advance.

    Try this
    select *
    from
    select a.SQL_FULLTEXT,
                 s.module,
                 s.cpu_time_total / 1000000,
                 s.iowait_total / 1000000,
                 s.fetches_total,
                 s.sorts_total,
                 s.executions_total,
                 s.loads_total,
                 s.disk_reads_total /
                 DECODE(s.executions_total, 0, 1, s.executions_total) reads_per_execution,
                 s.disk_reads_total,
                 s.direct_writes_total / 1024,
                 s.buffer_gets_total / 1204,
                 s.rows_processed_total,
                 s.elapsed_time_total / 1000000,
                 s.apwait_total / 1000000,
                 s.ccwait_total / 1000000,
                 s.plsexec_time_total / 1000000,
                 s.javexec_time_total / 1000000
            from DBA_HIST_SQLSTAT S, DBA_HIST_SNAPSHOT h, v$sqlarea a
           where s.parsing_schema_name = 'ST'
             and s.executions_total != 0
             and s.snap_id = h.snap_id
             and a.SQL_ID = s.sql_id
             and h.begin_interval_time > '03-NOV-11 09.30.00.000 AM'
             and h.end_interval_time < '03-NOV-11 12.30.59.999 PM'
             order by 15 desc
    )where rownum <= 5

  • Adobe Acrobat  9 Pro - How can I speed up my Batch Processing sequence

    Adobe Acrobat 9 Pro Version 9.0.0
    My company upgraded from Adobe Acrobat 7 to Acrobat 9 recently. Now, whenever I run a batch sequence on one 2003 Word file, it takes over 20 minutes - that's one Word doc. Before with version 7, it took only a few minutes.
    My Batch Sequence has only one command - the Open Options command.
    Question
    What can I do to speed up this Batch Processing sequence?
    FYI
    My Word doc contains no graphic - merely text with a TOC and Index.
    PS
    My system has 3.50 GB of RAM

    I have advanced tagging turned off.
    I'm only using these two Word options:
    Convert cross-ref and table of contents to links.
    Convert footnote and endnote links.

  • File Adapter , Processing Sequence

    Hi All,
       Can you please help me to understand these?
    1. When i configure a Sender File Adapter with file pattern *.txt, Does it handle the files one after another? Or does it span multiple threads and processes multiple files in parallel?
    2. If i select processing sequence as DATE, does it consider the time stamp also?
    3. If a 100 mb file with name BIG.txt created at 1.00 AM,
        and a 0.1 mb file with name small  created at 1.10 on the sender system. If 100MB file needs 30 min to get processed,
    Then can i assume the second file get processed only after big file completely processed and reached the destination?
    Regards
    Ganges Leaves

    Ganges,
    During any polling interval, XI will pick all files matching your Criteria and process them parallely.
    Even if the big file is being processed, the next file will be picked up by the adapter if it is available during the next polling interval.
    All interfaces are  executed independent of the other.
    All this is if u choose the mode as    <b>Best Effort</b>.
    Regards,
    bhavesh

  • FTP Sender Adapter - Processing Sequence

    Does anybody know what the processing sequence of files is when I using a ftp sender adapter? I can only determine this if I use a file sender adapter (NFS).

    Hi,
    in  sender file ( FTP ) adapter:
    when qos  :eoio
    the sequence the msg processess will be in ascending alphabetical order.
    ex: if i have 10 files in a folder
    as per the my requirement all the 10 files are picked up at the same time, then
    the files will be arranged in queue specified in ascending alphabetical order and processed in the same order.
    but, when i use QOS: EO
    the same thing is going to happen right!!
    picks all the files , processess in ascending alphabetical order to xi..
    then what is the use of queue here in eoio???
    on the other hand,
    in  sender file ( NFS ) adapter:
    file will be processed based on the processing sequence( either by date or time ).
    so both EO and EOIO use the processing sequence... then wat is the work of queue here in EOIO MODE.. any way they are processed according to the proccessing sequence parameter.. ???
    Please reply..

  • Processing Sequence issue of FTP protocol

    Hi,we are using the standard SAP MDM data syndication mode which using SAP XI to publish the data to client system.In this sceanrio,we think the data files generated by MDM Syndication Server should be processed according to their time stamp in the file system, starting with the oldest file.I saw the Processing Sequence parameters of transport protocol File System (NFS) in XI file adapter,but not in the FTP protocol.It seems if we want to sure the processing sequence by date,we have to use NFS.
           In the Notes 821267,it mentioned "The File Adapter allows you to configure the Processing Sequence of files for the Transport Protocol "File System (NFS)", which also determines the order for EOIO processing. Files can either be processed in ascending alphabetical order (Processing Sequence "By Name") or by their last modification time stamp (Processing Sequence "By Date"), where the oldest file is processed first. For the Transport Protocol "File Transfer Protocol (FTP)" files are always processed in ascending alphabetical order." 
           My question is if the file name is consisted of the timestamp,such as "data20081116122345.xml"  "data20081117122040.xml",will the files be processed by the "timestamp" name ascending in the Transport Protocol FTP? For example "data20081116122345.xml" first, "data20081117122040.xml" second.Thanks.

    Yes, if the file consist of timestamp then with alphabetical order, it will execute in the sequence you described.
    Thanks

  • Trying to replicate a gray processing operation called "black flood"

    I am trying to replicate a gray processing function call "black flood". This is found in Leica image analysis software. The documentation reads, "Fills in black detail without affecting the boundaries.  This is done by closing by the selected number of cycles and then performing a gray-level reconstruction.”
    Any ideas how to pull this off in IMAQ Vision?
    Thanks!

    IMAQ has Gray level reconstruction. 
    It seems to me like you want to implement the Matlab function imfill. 
    You don't have to do closing if you don't want to. This logic will work even without the closing. Closing will remove the raged edges.
    What you need to do is to inverse the image so the black holes will be bright.
    Then you use the image reconstruction to fill up the holes.
    Then inverse the image back.
    Thanks - Amit,
    Amit Shachaf

  • Outbound processing sequencing

    Any body expains me what is Outbound processing sequencing for Sequencing plant. How this  is different from regular Outbound process.

    U can reprocess the IDOCs in BD87 . If the error still persist , then try to find the solution for it and again reprocess the IDOC

  • Recently bought a samsung NX30 camera which came with lightroom 5, after several hours of googling i got it setup properly with the correct camera raw to be able to access my raw images. I found my old laptop was very slow when processing the hundreds of

    recently bought a samsung NX30 camera which came with lightroom 5, after several hours of googling i got it setup properly with the correct camera raw to be able to access my raw images. I found my old laptop was very slow when processing the hundreds of images I usually take on a weekly basis.  I bought a new faster laptop but when I looked for the cd with the software and serial I could not find it in the Xmas clutter.  I downloaded a trial version of lightroom and got it working on my new laptop. Is there a way to access the serial number from my previously installed version and insert it into the trail version to make it work for me?
    Myron

    Mea culpa
    While i registered all my cs2 thru 6 versions and my lightroom 2 thru 4 versions and recorded the serials and saved the adobe registration emails.  Since this came as a freebee with the camera i neglected this vital step.  I have the instslled version on my old laptop but want to install it on my new one.  Thanks to Jim Hess I got the serial so all is well in my world and I will register it with ADOBE
    Myron

  • Share Batch Processing Sequences?

    I have created some Acrobat Pro 9 Batch Processing sequences that I would like to share with others on my team. Is there a way for me to export or copy the sequence and give it to others? I am on a Mac.

    try67,
    I appreciate your help/answer, but I do not have that path...not sure why. I have Applications/Adobe Acrobat 9 Pro/ and then the following list of items: Acrobat Distiller.app, Acrobat Uninstaller.app, Adobe Acrobat Pro.app, Bitte lesen.html, Ouvrez-moi.html, ReadMe.html
    If I double-click the Adobe Acrobat Pro.app as in your list, it just opens Acrobat. I have tried searching for Sequences, but I only find older Sequences folders from previous versions of Acrobat. I have looked in each of them to see if I could find the custom sequences that I created, but none of them show up. I even did searches based on .sequ file names. Again, my custom ones do not show up in the search but they do exist in my Batch Processing menu.
    I have a feeling this might be job for our IT Dept. unless someone else has an idea.
    I appreciate your time!
    PS. I am wondering if this is an issue with Snow Leopard rather than Acrobat.

  • Insert Select sequence.nextval Problme

    Hi,
    I am trying to insert records in the table using query similar to
    insert into table1 (id, col1, col2)
    select
    sequence.nextval
    t1. col1, t1.col2
    from table t1;
    I am getting following error
    ORA-02287: sequence number not allowed here
    Will you please let me know how to resolve this?
    Regards
    ~Pravin

    Hmm...
    See here ->
    satyaki>
    satyaki>select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Elapsed: 00:00:00.01
    satyaki>
    satyaki>
    satyaki>
    satyaki>create table ff_gg
      2      (
      3        a_col   number(5),
      4        b_col   varchar2(30)
      5      );
    Table created.
    Elapsed: 00:00:00.01
    satyaki>
    satyaki>
    satyaki>create sequence dd_qq
      2     start with 1
      3     increment by 1;
    Sequence created.
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>insert into ff_gg
      2     select rn, ename
      3     from (
      4            select dd_qq.nextval, ename
      5            from emp
      6          );
              select dd_qq.nextval, ename
    ERROR at line 4:
    ORA-02287: sequence number not allowed here
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>ed
    Wrote file afiedt.buf
      1  insert into ff_gg
      2     select dd_qq.nextval rn, ename
      3     from (
      4            select ename
      5            from emp
      6*         )
    satyaki>/
    12 rows created.
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>select * from ff_gg;
         A_COL B_COL
             1 WARD
             2 MARTIN
             3 SCOTT
             4 KING
             5 TURNER
             6 ADAMS
             7 JAMES
             8 FORD
             9 MILLER
            10 Smith
            11 Glen
         A_COL B_COL
            12 boock
    12 rows selected.
    Elapsed: 00:00:00.00
    satyaki>Got me?
    Regards.
    Satyaki De.

  • Modbus?? Is running to slow to process

    I am running lookout 6.6 on Dell Precision T3600 Windows 7 Pro. 64 bit 8 RAM workstation the problem is on Process_Server\Modbus?? Is running to slow to process it takes mins to load.. Is it the program issue or system?

    I have noticed delays if there is a large amount of dynamic symblic links.  Is this the case?
    Forshock - Consult.Develop.Solve.

  • Some kind of technical problems (like slow data processing)...

    Some kind of technical problems (like slow data processing) with Leopard appears during the working in the local network.
    OS Snow Leopard 10.6 is installed; including all updates, the computer I currently use is Mac Pro. So I have some kind of technical problems (like slow data processing) with Leopard during the working in the local network. (Windows network).
    During the attempt to connect with network sharing (the computer is in the network) automounter process took approximately one minute.
    Later on, after the automounter process is finished it’s working quite normally over remote computer, but when you try to automount again, everything starts from the very beginning.
    The internet is working very well, it’s connected with domain, and everything is adjusted.
    I use to ask our system administrator; maybe it is necessary to activate the some kind of protocol?
    The OS Tiger is installed on the second hard disk, and it’s working well.
    Maybe someone could help me, I try to find the similar problems, but I could not find them.
    Thanks//

    A couple of things.
    First, thanks for the tips. I was starting to suspect the network might be an issue (bad nic, bad router, something).
    But netstat -s was showing an average of about .15% packet loss. For a web server that seems to be a pretty good value so I'm not sure.
    I did, however, ask someone else to look at the server because I'd spent the whole week on just server performance and was going out of my mind. This second pair of eyes really helped as he found that the pagefile for the server was set at 2mb!? Still trying to figure out how that happened. But we increased the pagefile to a much better value. There wasn't an immediate change in performance, but over time the server appears to have begun to respond better.
    Occasionally I still get these 'lag spikes' but nowhere near what they were and the delay is much smaller as well, which is probably being caused by something else entirely (like bad programming on my part, hah).

  • Unable to process sequences uploaded by

    Does anybody already faced this exception? We're currently facing this at one of our customers - some 80% of all client devices are failing to synchronize because of this exception. We have to delete tha databases on client device and reset the sync to make the client able to sync again. There wasn't any update to publication so I don't understand why is it occuring on so many devices at once. We're using OL 10.3.0.2.0 on WM5 PDAs.
    Sync session exception stack trace:
    java.sql.SQLException: ORA-20000: unable to process sequences uploaded by 323 , tranid = 6087
    ORA-06512: at "MOBILEADMIN.C$DEFAULT_PUB_QPKG", line 115
    ORA-06512: at "MOBILEADMIN.C$DEFAULT_PUB_QPKG", line 273
    ORA-06512: at line 1
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3074)
         at oracle.lite.sync.Subscription.executeAndClose(Unknown Source)
         at oracle.lite.sync.queue.PLSQLQueueProcessor.uploadComplete(Unknown Source)
         at oracle.lite.sync.DmlProcessorQ.callUploadComplete(Unknown Source)
         at oracle.lite.sync.DmlProcessorQ.uploadComplete(Unknown Source)
         at oracle.lite.sync.HeliosSession.startSession(Unknown Source)
         at oracle.lite.sync.resume.Client$1.run(Unknown Source)
         at oracle.lite.sync.resume.ThreadPool$PoolTask.run(Unknown Source)

    Were you in the following situation?
    OracleDatabase Lite Release Notes 10g (10.3.0.2) Part No. E12094-01 documented the following
    3.7.1 Upgrading the Mobile Server to Release 10.3.0.2
    Before upgrading the Mobile Server, apply the appropriate patch.
    ■ When upgrading from 10.2.0.2.1, apply patch 7197449.
    However, patch 7197449 cannot be found in Metalink ? Which patch should be applied then ?
    It is very important to apply the recommended patch before performing the migration. The patch is a mandatory prerequisite during an upgrade to 10.3.0.2.
    Solution
    There was a documentation error in the Release Note (as at Oct-1-20080
    Either of the followings can be applied instead:
    Patch 7195516 or 7037986 from Metalink. They contain the fix for Base bug
    Bug 7037986 - UPGRADE: 10.3.0.1.0 TO 10.3.0.2.0 : ORA-20000 : UNABLE TO PROCESS
    SEQUENCES and they are built for 10.2.0.2
    To obtain a patch from MetaLink:
    1) Click on Patches & Updates.
    2) Click on Simple Search.
    3) Enter the patch#, then select Platform (windows 32-bits for any Windows platform)
    4) Click go
    5) Click on the patchset number.
    6) Read any applicable notes before downloading, then click the Download button.
    Note: Please review the Readme file for instructions on how to install the patchset.
    Or did you build from scratch?

  • HOw to set processing sequence of file in File adaptor?

    Hi @ ,
    I am using file adaptor where i need to ensure the files are processed in a particular sequence like a,b,c,d and if c is received before a and b it should not be processed unless a and b are processed
    Please help how to do this .
    Regards,

    Hi,
    you just need to set:
    Processing Sequence (for transport protocol File System (NFS))
    (it only works with NFS)
    and set it: By Date
    reference:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    is that what you're looking for?
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Maybe you are looking for