Streams apply process keeps growing PGA

A streams apply process which applies to a sql sever database is increasing its pga use continually until i stop the process and restart it.
I need to stop it once every week or it will use too much of the pga and the database will hand causin paging etc.
ANyone had this issue before?

which version of database you are using? check for wait dependency bug?
Thanks,
<moderator edit  - delelted link signature - see FAQ on top right>

Similar Messages

  • Streams apply having 60k no data found error

    We have implemented streams recently. The configuration and streaming is happening fine. The only problem I am having is "NO DATA FOUND" error in apply.
    It's uni-directional streaming
    We are not really updating/deleting/inserting any row on the destination database. (both oracle).
    Why am I seeing 60k Conflicts?
    Is there any configuration am I missing?
    How can I fix the no data found issue and make my stream 100 percent perfect real time.
    Thanks in advance
    Palani

    Print the transaction/LCR using print_transaction/print_lcr. Compare the old values from the LCR to values in destination database table. There must be one or more column values differ. Trace back to the root operation which is causing the value difference and fix it.
    Otherwise you can configure the streams apply process not to compare the old values except keys by using DBMS_APPLY_ADM.COMPARE_OLD_VALUES.

  • Enqueue only apply process?

    I'm trying to setup a streams apply process that will enqueue a persistent LCR only. I do not need to apply the LCR.
    I can get the LCR enqueued as a user message using the DBMS_APPLY_ADM.SET_ENQUEUE_DESTINATION but I cannot "turn off" the apply of the LCR.
    I'm wondering if I should have my DML handler "discard" the message or if I need to write my own procedure to enqueue the message and skip the "SET_ENQUEUE_DESTINATION"?
    Any help is appreciated.
    Thx!
    rb

    I found the answer to my question in the documentation.
    The SET_EXECUTE procedure can be used with the SET_ENQUEUE_DESTINATION procedure if you want to enqueue messages that satisfy a particular rule into a destination queue without executing these messages. After a message is enqueued using the SET_ENQUEUE_DESTINATION procedure, it is the same as any message that is enqueued manually. Therefore, it can be manually dequeued, applied by an apply process, or propagated to another queue.
    Sorry for the post...
    rb

  • Time machine keeps growing in size or backing up a size far greater than it

    Apologies if this is covered elsewhere but after hours of searching I still haven't been able to find a resolution which is actually fixing my problem.
    When my time machine tries to back up the size of the back up just keeps growing and growing - a problem which has been reported several times but none of the solutions are fixing the problem for me. I've completely reset time machine (disconnect external hard drive, deleting the preferences from ~library/preference, then reset up with my exclusions) and the problem just reappeared.
    I've gone through this routine several times and in most cases had no joy. On one occasion I thought the problem had been resolved as it did the initial backup and then a couple of hourly backs and then suddenly it returned a message saying it had insufficient space (trying to back up 470GB but disk only has 300GB available) which was just ridiculous as the full back up size was under 50GB.
    I've verified the disk on several occasions and it always comes up clean. In a fit of desperation I've even tried reformatting the external drive with no improvements
    I'm at the point of deleting time machine from my laptop and going back to the old Backup program. Can anyone offer any thing else I could try.

    Hi, and welcome to the forums.
    Have you Verified your internal HD (and Repaired any externals that are also being backed-up)?
    If so, it's probably something damaged or corrupted in your installation of OSX. I'd suggest downloading and installing the 10.6.4 "combo" update. That's the cleverly-named combination of all the updates to Snow Leopard since it was first released, so installing it should fix anything that's gone wrong since then, such as with one of the normal "point" updates. Info and download available at: http://support.apple.com/kb/DL1048 Be sure to do a +Repair Permissions+ via Disk Utility (in your Applications/Utilities folder) afterwards.
    If that doesn't help, reinstall OSX from your Snow Leopard Install disc (that won't affect anything else), then apply the "combo" again.

  • Apply process is aborting with:ORA-12801: error signaled in parallel query

    hi,
    We created a queue of a specific type, capture and apply process on the queue. Then we started the queue capture and the apply process. The problem is that the apply process is getting enabled and with in moments going into aborted state. wea re getting the follwoing error:
    ORA-12801: error signaled in parallel query server P000
    ORA-00600: internal error code, arguments: [kwqiceval:anyconv], [], [], [], [], [], [], []
    Any idea what could have gone wrong?
    scripts:
    exec dbms_aqadm.create_queue_table(queue_table=>'qt_anc',queue_payload_type=>'type_anc',multiple_consumers=> true, compatible => '9.0');
    exec dbms_aqadm.create_queue (queue_name => 'q_anc',queue_table=>'qt_anc');
    EXEC DBMS_AQADM.START_QUEUE (queue_name => 'q_anc');
    DECLARE
    emp_rule_name_dml VARCHAR2(300);
    emp_rule_name_ddl VARCHAR2(300);
    BEGIN
    DBMS_STREAMS_ADM.ADD_TABLE_RULES(
    table_name => 'ops.t_anc',
    streams_type => 'capture',
    streams_name => 'capture_anc',
    queue_name => 'strmadmin.q_anc',
    include_dml => true,
    include_ddl => false,
    source_database => null,
    dml_rule_name => emp_rule_name_dml,
    ddl_rule_name => emp_rule_name_ddl);
    DBMS_APPLY_ADM.SET_ENQUEUE_DESTINATION(
    rule_name => emp_rule_name_dml,
    destination_queue_name => 'strmadmin.q_anc');
    END;
    DECLARE
    emp_rule_name_dml VARCHAR2(300);
    emp_rule_name_ddl VARCHAR2(300);
    BEGIN
    DBMS_STREAMS_ADM.ADD_TABLE_RULES(
    table_name => 'ops.t_anc',
    streams_type => 'apply',
    streams_name => 'apply_anc',
    queue_name => 'strmadmin.q_anc',
    include_dml => true,
    include_ddl => false,
    source_database => null,
    dml_rule_name => emp_rule_name_dml,
    ddl_rule_name => emp_rule_name_ddl);
    DBMS_APPLY_ADM.SET_ENQUEUE_DESTINATION(
    rule_name => emp_rule_name_dml,
    destination_queue_name => 'strmadmin.q_anc');
    END;
    BEGIN
    DBMS_APPLY_ADM.START_APPLY(
    apply_name => 'apply_anc');
    END;
    BEGIN
    DBMS_CAPTURE_ADM.START_CAPTURE(
    capture_name => 'capture_anc');
    END;
    /

    Hello
    The above configuration is never supported. The implicit capture expects the queue payload to be SYS.ANYDATA and same with implicit apply also.
    However you can use Streams Messaging capability to achieve this. You need to wrap the messages with SYS.ANYDATA for this to work. The implicit capture uses a persistent logminer session to generate LCRs and it then wraps it with SYS.ANYDATA and enqueues into the capture queue, it then propagated to apply queue. You can generate LCRs and wrap it with SYS.ANYDATA and then enqueue into the capture queue then apply can recognise the messages.
    Here is an example on creating LCRs (tested in 10g):
    CREATE TABLE lcr_test (col1 NUMBER);
    DECLARE
         l_lcr SYS.LCR$_ROW_RECORD;
    BEGIN
         l_lcr :=
    SYS.LCR$_ROW_RECORD.CONSTRUCT
         source_database_name=>SYS_CONTEXT('USERENV','DB_NAME'),
         command_type=>'INSERT',
         object_owner=>USER,
         object_name=>'LCR_TEST'
         l_lcr.ADD_COLUMN('new','col1',SYS.AnyData.ConvertNumber(99));
         l_lcr.EXECUTE(TRUE);
         COMMIT;
    END;
    SELECT * FROM lcr_test;
    Converting to SYS.ANYDATA:
    DECLARE
         l_lcr SYS.LCR$_ROW_RECORD;
         l_anydata SYS.ANYDATA;
    BEGIN
         l_lcr :=
    SYS.LCR$_ROW_RECORD.CONSTRUCT
         source_database_name=>SYS_CONTEXT('USERENV','DB_NAME'),
         command_type=>'INSERT',
         object_owner=>USER,
         object_name=>'LCR_TEST'
         l_lcr.ADD_COLUMN('new','col1',SYS.AnyData.ConvertNumber(99));
         l_anydata:=SYS.ANYDATA.ConvertObject(l_lcr);
         ENQ_PROC(l_anydata);
         COMMIT;
    END;
    Thanks,
    Rijesh

  • Increase Apply Process Performance

    Dear All,
    I want to know how can I increase Apply Process Performance in Oracle Streams Setup.
    I use Windows 2003 and Oracle 10g R2

    Check metalink Note:335516.1
    HTH...

  • Apply process restarting

    We are running bi-directional streams and we started to see the following errors in the alert log:
    Fri Oct 5 11:59:27 2007
    A001: apply user roles have changed
    Streams Apply Server P001 pid=26 OS id=601 stopped
    Streams Apply Reader P000 pid=25 OS id=599 stopped
    Streams Apply Server P001 pid=26 OS id=601 stopped
    Streams Apply Server P000 pid=25 OS id=599 stopped
    Fri Oct 5 11:59:29 2007
    Streams APPLY A001 started with pid=144, OS id=13431
    Has anyone seen this type of message before?
    I am concerned that the apply processes may stop and not restart.
    Thanks in advance.

    this just shows the status of an apply process. You need to find the reason why the apply process stoped. For that you can query the dab_apply_errors view and find out the reason, based on that you can take the action.
    Kapil.

  • ABORTED Apply Process

    I've been running into a error message that I can't seem to find much information on. I start my Apply process (that had previously been working), and it aborts a couple minutes later. The alert log shows:
    Mon Jan 03 11:54:55 2005
    Errors in file e:\oracle\cpd1db_p008_5716.trc:
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [0x108522D] [] [] [] []
    Streams Apply Reader P006 pid=67 OS id=7324 stopped
    Mon Jan 03 11:57:08 2005
    Errors in file e:\oracle\cpd1db_p006_7324.trc:
    ORA-10388: parallel query server interrupt (failure)
    Mon Jan 03 11:57:10 2005
    Streams APPLY A004 with pid=50, OS id=7272 stopped
    Mon Jan 03 11:57:10 2005
    Errors in file e:\oracle\cpd1db_a004_7272.trc:
    ORA-12805: parallel query server died unexpectedly
    The first trace file listed shows the aforementioned error message:
    source segcol number 6 not supported on target MySchema.MyTable.
    Does anyone know what this "source segcol number 6..." error refers to?

    Hi,
    I got this error in streams...Pls tell me how to fix it
    *** SESSION ID:(19.172) 2005-07-19 08:48:55.406
    *** 2005-07-19 08:48:55.406
    WARNING: the following transaction makes no progress
    WARNING: in the last 30 seconds for the given message!
    WARNING: xid = 0x000b.026.0000ab2e cscn = 27956820, message# = 3, slavid = 1
    KNACCPD: *******************************************************
    v$lock information for this slave is:
    type:PS, id1:1, id2:1, lmode:4, request:0
    type:SR, id1:1, id2:1, lmode:4, request:0
    type:TM, id1:12702, id2:0, lmode:3, request:0
    type:TX, id1:458788, id2:11336, lmode:6, request:0
    v$session_wait information for this slave is:
    event:STREAMS apply slave waiting for coord message, wait_time:-1, state:WAITED KNOWN TIME,seconds_in_wait:30
    p1:200, p1raw:
    p2:2, p2raw:
    p3:0, p3raw:
    v$session_event information for this slave is:
    event:STREAMS apply slave waiting for coord message, total_waits:2, total_timeouts:0, time_waited:0, average_wait:0, max_wait:0
    Current SQL for this slave is:
    KNACCPD: end ***************************************************
    knacrb: no offending session found (not ITL pressure)
    KNACDMP: *******************************************************
    KNACDMP: Dumping apply coordinator's context at 58fe6b0
    KNACDMP: Apply Engine # 1
    KNACDMP: Apply Engine name STRMADMIN_WALDO_DHFS_STAT
    KNACDMP: Coordinator's Watermarks ------------------------------
    KNACDMP: Apply High Watermark = 0x0000.01aa95cb
    KNACDMP: Apply Low Watermark = 0x0000.01aa95cb
    KNACDMP: Recovery Low Watermark = 0x0000.01aa95c7
    KNACDMP: Fetch Low Watermark = 0x0000.01aaa0d0
    KNACDMP: Oldest SCN = 0x0000.01aa9652
    KNACDMP: Last replicant syncpoint SCN = 0x0000.01aa95a6
    KNACDMP: Last syncpoint at primary SCN = 0x0000.01aa95c7
    KNACDMP: First partition max SCN = 0x0000.01aaa2c0
    KNACDMP: Last partition max SCN = 0xffff.ffffffff
    KNACDMP: Last processed SCN = 0x0000.01aa95cb
    KNACDMP: Conservative SCN = 0x0000.00000000
    KNACDMP: Coordinator's constants -------------------------------
    KNACDMP: number of apply slaves = 1
    KNACDMP: safety level (K) = 1
    KNACDMP: max txns in memory = 80
    KNACDMP: max constraints per table = 119
    KNACDMP: hash table size (in entries) = 8000
    KNACDMP: Coordinator's intervals -------------------------------
    KNACDMP: syncpoint interval (ms) = 0
    KNACDMP: write low watermark interval(ms)= 1
    KNACDMP: Coordinator's timers/counters -------------------------
    KNACDMP: current time = 1121780934
    KNACDMP: low watermark timer = 1121780904
    KNACDMP: shutdown counter = 0
    KNACDMP: syncpoint timer = 1121780904
    KNACDMP: Coordinator's txn counts -------------------------
    KNACDMP: total txns applied = 0
    KNACDMP: total applied at last plwm write= 0
    KNACDMP: apply prog. entries below plwm = 0
    KNACDMP: Coordinator's State/Flags -----------------------------
    KNACDMP: Coordinator's State = KNACST_APPLY_UNTIL_END
    KNACDMP: Coordinator's Flags = 0x104
    KNACDMP: Slave counts ------------------------------------------
    KNACDMP: number of reserved slaves = 0
    KNACDMP: number of admin slaves = 0
    KNACDMP: number of slaves in wait cmt = 0
    KNACDMP: number of safe slaves = 1
    KNACDMP: Slave Lists -------------------------------------------
    KNACDMP: Dumping All Slaves :-
    Slave id = 0, State = 8, Flags = 0, Not Assigned
    Slave id = 1, State = 5, Flags = 1, Assigned Xid = 0x000b.026.0000ab2e
    KNACDMP: End dumping all slaves
    KNACDMP: syncdep slaves = { }
    KNACDMP: cont chunk slaves = { }
    KNACDMP: cont slaves = { }
    KNACDMP: exec txn slaves = { }
    No idle slave
    *** 2005-07-19 08:49:08.750
    error 12805 in STREAMS process
    ORA-12805: parallel query server died unexpectedly
    OPIRIP: Uncaught error 447. Error stack:
    ORA-00447: fatal error in background process
    ORA-12805: parallel query server died unexpectedly

  • I have a problem with my iPad, the "other" part of the capacity summary keeps growing like ****

    Dear all: I have a problem with my iPad, the "other" part of the capacity summary keeps growing like ****, every time I sync the iPad gets bigger and bigger. What is this "other" and what do I do to keep it from getting bigger? Thanks to all!

    Marcos,
    I did not try your trick, didn't see your post until after i visited the Apple store.  The tech at the genius bar did not know why my "Other" memory had grown so huge.  It was over 24GB, which only left me with 1 GB free on my 32GB iPad.   I had been loading and unloading video's yesterday thru itunes to try various compression settings.  I did not notice the other categrory growing until I tried to load a 3 GB movie file and it told me I was out of memory.
    I probably loaded and unloaded 30 different times, trying different compression settings.  In the process of doing this, it apparently loaded up the "Other: stuff.  To me it seems like recycle bin in windows, but no one knows how to free it up. 
    So here is what he did and it worked.  He reset the iPad.  Press and hold both the Sleep/Wake button and the Home button for at least ten seconds, until the Apple logo appears.  Then he hooked it up to itunes on his computer.  Fortunately I have everything backed up on my home computer.  When my iPad showed up on iTunes at the store, it showed the 24 MB of "Other" momentarily, then it reduced to about .7 GB giving me 24.5 GB free.  Resetting it seemed to do the trick, but he still could tell me how this is happening and how to prevent it. 
    I think I'll try to call someone at applecare to get an explanation, hopefully.

  • Ora-26753 in the apply process

    Yesterday my apply process began to notice me an ora-26753 mismatched columns error but when I re-execute the transaction from dba_apply_error the transaction is apply without problem. I don´t identify what happen. Also there not are mismatch between the columns in the replicate tables. I found in metalink about this error but I did not find anything.
    Thanks a lot in advance.

    Next time it happens, think to open a LCR and compare the list of columns. You can do it through script or using Grid for version is 10.2.0.5+
    For script I wrote a small article but you will need to install Smenu.
    http://sourceforge.net/apps/mediawiki/smenu/index.php?title=How_to_see_contents_of_queues
    For grid, refer to the doc, it is easy to find in the streams section.

  • The Apply Process meet some errors when applying..

    Hi all,
    My OS is Win Server 2003, Oracle is 10.2.0
    I were setup my streams environtment one-way. All my works were ok. But today, when I open the OEM console, at the Apply node, I recognized that Total Received is 10 but Total Applied is 4 and status is APLLYING. I open the arlert log at the source database, have some errors:
    Propagation Schedule for (STRMADMIN.capture_src_bosc_q, BOCENTER.REGRESS.RDBMS.DEV.US.ORACLE.COM) encountered following error:
    ORA-25307: Enqueue rate too high, flow control enabled
    I use
    select propagation_name,status
    from dba_propagation;
    *==> STATUS is ENABLE*
    At the Aplly process, I set the DISABLE_ON_ERROR is N, but seem as the apply process was halt (not continue apply some change at destination database).
    Have any ideas for this problem ?
    Edited by: changemylife on Nov 2, 2009 8:38 AM

    I had same problem too , and by increasing the Streams pool , it solved .

  • Apply process against user-enqueued lcrs

    I am working on a project where we want the ability to do multiple things with each lcr in a streams queue. We would like to utilize more than one stored procedure to do this. So to get around the single dml handler allowed for a captured lcr (per dml operation type), we are trying to dequeue and re-enqueue the lcr as a user-enqueued lcr in a multi-consumer or streams queue, and then use one or multiple apply process(es) to further process these lcrs. I've tried it with both the original streams queue, a new streams queue, and a normal AQ queue. In every instance the second apply process against the user-enqueued lcr crashes. The documentation seems to indicate we should be able to do this. Any input on this would be appreciated.

    Patricia, I really appreciate your input on this!
    There is a generic error in the dba_apply_error view, which does not help much: "ORA-06550: line , column :".
    As far as the apply user having privileges, the apply user is the owner of the custom apply procedure.
    There are trace files generated that are fairly cryptic, they appear to memory-related, here are samples:
    <sid>ap10<process>.trc:
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    ORACLE_HOME = /orasw/app/oracle/product/9.2.0
    System name: HP-UX
    Node name: tsttib01
    Release: B.11.11
    Version: U
    Machine: 9000/800
    Instance name: ttib
    Redo thread mounted by this instance: 1
    Oracle process number: 22
    Unix process pid: 5313, image: oracle@tsttib01 (AP10)
    *** 2003-10-13 09:14:08.582
    *** SESSION ID:(52.5922) 2003-10-13 09:14:08.581
    knluSetStatus()+{
    finished knluSetStatus()+ }
    knldso: state object 5daae248, action 2 memory 0000000000000000
    knldso: state object 5da871a8, action 2 memory 0000000000000000
    <sid>p009<process>.trc:
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    ORACLE_HOME = /orasw/app/oracle/product/9.2.0
    System name: HP-UX
    Node name: tsttib01
    Release: B.11.11
    Version: U
    Machine: 9000/800
    Instance name: ttib
    Redo thread mounted by this instance: 1
    Oracle process number: 28
    Unix process pid: 5317, image: oracle@tsttib01 (P009)
    *** 2003-10-13 09:14:08.475
    *** SESSION ID:(45.10480) 2003-10-13 09:14:08.471
    kngoPic: imagesize = 273

  • Stream Apply Problems (Status=DEQUEUE MESSAGES,ABORTED,ENABLE)

    Hello,
    I configure database level stream 11.1.0.7 on Microsoft Windows 32bit.
    Some time target site not reach able, server restart or network outage. and changes not applies after when target site available
    Stream -> Apply --> status show DEQUEUE MESSAGES or ABORTED
    Ever time i have to stop and start Apply through enterprise manager.
    How i can configure for applying changing automatically after server restart, after network outage resolve, or any error occure.
    Thanks

    Apply process will automatically restart when there are network outages. However, it will be aborted when there are errors, if you don't set DISABLE_ON_ERROR parameter to N.

  • STREAMS apply coord waiting for slave message?

    1- Oracle version 9.2.0.1
    2-I have 3 database (bd1,bd2 in th same machine, bd3 in an other machine)
    3- I have configured streams in order to have bd1--->bd2 and bd1--->bd3 streams replication
    4- The streams between bd1--->bd2 is ok.
    5-The propagation between bd1--->bbd3 doesn't work.
    6- i have asked yhe view v$session_wait in :
    into bd1 :
    SID SEQ# EVENT
    15 1359 STREAMS apply coord waiting for slave message
    20 622 STREAMS apply slave waiting for coord message
    into bd3 :
    SID SEQ# EVENT
    17 11399 STREAMS apply coord waiting for slave message
    19 5698 STREAMS apply slave waiting for coord message
    What have i to do to fix it and my propagation will work.
    Thank you a lot dear memebers

    The events: STREAMS apply coord waiting for slave message" and "STREAMS apply slave waiting for coord message" are IDLE events - they indicate that the apply process is waiting for work.

  • Capture LCR's  without Apply Process

    I want to capture the LCR's of a single table. So I have setup a capture process. When I do a SELECT * FROM V$STREAMS_CAPTURE I see that the value for "TOTAL_MESSAGES_ENQUEUED" increases BUT I don't get ANY messages in my queue_table that was setup for LCR's.
    Please note that I don't have a APPLY process running because I want to read the LCR's from an external process (directly from the LCR queue).
    So I have two questions:
    (1) Is it possible to use only a Capture Process (to collect the LCR's) and use an external Program (e.g. C++ program) that enqueues the LCR's from the queue (using OCI).
    (2) I have read a previous article where it was stated that if there is an external program the LCR's have to be re-enqueued? - What does this mean? - Do I have to move the LCR's in a different queue? - I thought the Apply Process is optional?

    You got to have an apply process(DML handler) that dequeues the LCRs from Capture process and re-enqueues them back to the same Streams queue. Only then you can dequeue LCRs from an external application.
    I'm using JMS to dequeue these LCRs.
    Does anybody face any perfromance issues while using JMS to dequeue LCRs? In my case PL/SQL could dequeue as fast as 40 messages/second while JMS could dequeue only 7 msgs/sec.
    Thanks

Maybe you are looking for

  • How to get the value from textInput Component to perform calculation?

    I need some help here...I'm trying to get the value of user input from the TextInput Component which is the age, height and weight to calculate the bmr and display the result in member("result").text. How am i suppose to let the integer pass through

  • Conflict with Third Party Apps?

    I am getting an occasional error saying there is a possible conflict with third party apps and that I need to check the drivers of my MIDI devices to see if they are up to date? Sorry but I did not record the exact wording. Does anyone know what this

  • Starter edition 3.0

    I'm only new at this. I have photos on starter edition 3.0. I have signed up for a new edition. How can I retrieve my photos from the old one?

  • F1 Documentation - Fields

    All, Here is the issue. I have custom dialog application, contains 100 screens , and within these screens some of the fields don't have F1 documentation. Now i need list down all fields that don't have F1 documentation. Go each screen and check wheth

  • Is an iPad of help to someone with low vision?

    I have an elderly low vision (legally blind) relative in the UK. (I'm in Canada.) I'm wondering if an iPad would work for her and make it easier to do email and listen to her audio books? Or any other things that can assist her. Any info would be hel