AQ_TM_PROCESSES is set to 0

Hi,
We have 1206 (R12) with 10.2.0.4 RDBMS, I find in the alert log file below message
WARNING: AQ_TM_PROCESSES is set to 0. System operation might be adversely affected.I found Doc from support : 428441.1 which suggests to change this parameter to 1.
SQL>alter system set AQ_TM_PROCESSES=1;
Is it ok to do it on production?
Regards

Hi,
Please see
What should be the Correct Setting for Parameter AQ_TM_PROCESSES in E-Business Suite Instance? [ID 746313.1]
And also search for AQ_TM_PROCESSES in the following document.
Database Initialization Parameters for Oracle E-Business Suite Release 12 [ID 396009.1]
Yes it is ok to set it on prod.
Thanks

Similar Messages

  • WARNING: AQ_TM_PROCESSES is set to 0. System operation might be adversely a

    Hi All,
    We have a dataguard setup for 10g database on AIX platform.
    In the primary database alert log file ,we see the below warning.What do we need to do regarding this.Is this really going to affect the performance and what is it related to.
    WARNING: AQ_TM_PROCESSES is set to 0. System operation might be adversely affected.

    In 10.2, it is recommended to leave the parameter aq_tm_processes unset and let the database auto-tune the parameter.
    Setting aq_tm_processes parameter explicitly to zero which disables the time monitor process (qmn), can disrupt the operation of the database due to several system queue tables used when the standard database features are used.
    Hey, check your post from yesterday too and I come back with a fix for this
    Best Regards
    mseberg
    Before you do anything read this :
    "Warning: Aq_tm_processes Is Set To 0" Message in Alert Log After Upgrade to 10.2.0.3 or Higher [ID 428441.1]
    Run this as sysdba
    declare
    mycheck number;
    begin
    select 1 into mycheck from v$parameter where name = 'aq_tm_processes' and value = '0'
    and (ismodified <> 'FALSE' OR isdefault='FALSE');
    if mycheck = 1 then
    dbms_output.put_line('The parameter ''aq_tm_processes'' is explicitly set to 0!');
    end if;
    exception when no_data_found then
    dbms_output.put_line('The parameter ''aq_tm_processes'' is not explicitly set to 0.');
    end;
    /If it is set to zero try to clear it.
    alter system reset aq_tm_processes scope=spfile
    Beware this requires a database bounce.
    If you find this helpful please mark it so
    Edited by: mseberg on Jul 20, 2011 9:55 AM
    PS
    This isn't a fire, you can wait to deal with it if you can stand the error messages that will keep coming.
    Edited by: mseberg on Jul 20, 2011 10:00 AM

  • Error on propagation

    I am trying to setup propagation from a queue on one database, to a queue on a different database. Both instances are 9.2.0.6 on HP-UX.
    Job_queue_processes is set to 7 and aq_tm_processes is set to 1.
    When I add a propagation schedule I get an error in the alter logs (no messages are propagated):-
    *** SESSION ID:(32.933) 2005-09-21 11:14:56.539
    kwqjaq: Exception Occured
    kwqjschupd: schedule not found, unschedule assumed
    *** 2005-09-21 11:14:56.546
    ORA-12012: error on auto execute of job 392
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 5636
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 6061
    ORA-06512: at "SYS.DBMS_AQADM", line 895
    ORA-06512: at line 1
    Has anyone got any idea what is causing this?
    Thanks.

    Check to ensure that your propagation subscriber is correctly set up.
    select * from AQ$_<queue_table_name>_S;
    You should be able to detect the differences between your local and propagation subscribers.

  • Ora-600 error and  DBIF_RSQL_SQL_ERROR

    Dear Team,
      After Upgradation from Bw3.0b to NW07 everyday night our Database is shutting down. As per sap recommendation  We have set following db parameter on Development Server.
    BTREE_BITMAP_PLANS=FALSE
    BLOOMFILTER_ENABLED=FALSE
    FIXCONTROL='4728348:OFF'
    INDEXJOIN_ENABLED=FALSE
    INMEMORY_UNDO=FALSE
    OPTIMPEEK_USER_BINDS=FALSE
    OPTIMIZERMJC_ENABLED=FALSE
    SORTELIMINATION_COST_RATIO=10
    TABLELOOKUP_PREFETCH_SIZE=0
    Still we are facing same problem.
    In Application level some times it is giving 
    DBIF_RSQL_SQL_ERROR Short dumps.
    while starting the database it is giving below mentioned errors
    Fri Feb 22 09:52:47 2008
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Fri Feb 22 09:52:47 2008
    SMON: enabling cache recovery
    Fri Feb 22 09:52:50 2008
    Successfully onlined Undo Tablespace 16.
    Fri Feb 22 09:52:50 2008
    SMON: enabling tx recovery
    Fri Feb 22 09:52:51 2008
    Database Characterset is WE8DEC
    WARNING: AQ_TM_PROCESSES is set to 0. System operation might be adversely affected.
    Completed: ALTER DATABASE OPEN
    Fri Feb 22 09:53:00 2008
    Errors in file /oracle/BD1/saptrace/background/bd1_smon_17187.trc:
    **ORA-00600: internal error code, arguments: [kcbzcheck_objd_typ_1], [0], [0], [1], [], [], [], []Fri Feb 22_ 09:53:01 2008Starting background process CJQ0
    CJQ0 started with pid=30, OS id=18215
    Fri Feb 22 10:07:45 2008
    Stopping background process CJQ0
    Please help me this regards.
    Thanks & Regards,
    Satish.Kasaraneni

    there are a few SAP notes about program RSAR_PSA_PARTITION_CHECK.
    SAP note 1042182       Secondary index is inconsistent for PSA tables
    SAP note 1012607       SQL/runtime error when writing/activating DataStore
    Import Support Package 13 for SAP NetWeaver 2004s BI (BI Patch 13 or SAPKW70013) into your BI system.

  • ORA-00472: PMON  process terminated with error

    Hi,
    I got this error in alert log.But the clients didn't complain they had a downtime.But in alert log I see the following.Why the db got restarted and why the clients could not notice it.Can somebody please reply why this has happened.
    Mon Jul 18 12:28:02 2011
    ARC1: terminating instance due to error 472
    Mon Jul 18 12:28:03 2011
    Errors in file /backups/p01/app/oracle/admin/plsprod/bdump/plsprod_lns1_3772752.trc:
    ORA-00472: PMON process terminated with error
    Instance terminated by ARC1, pid = 2306362
    Mon Jul 18 12:28:52 2011
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 3
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =242
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.3.0.
    System parameters with non-default values:
    processes = 2000
    shared_pool_size = 536870912
    large_pool_size = 54525952
    java_pool_size = 75497472
    streams_pool_size = 54525952
    control_files = /data/plsprod/p02/control01.ctl, /data/plsprod/p03/control02.ctl, /data/plsprod/p04/control03.ctl
    db_block_size = 8192
    db_cache_size = 104857600
    compatible = 10.2.0.3
    log_archive_dest_1 = location=/data/plsprod/archredo MANDATORY REOPEN
    log_archive_dest_2 = SERVICE=talon_plsprod.travimp.com LGWR ASYNC NOAFFIRM REOPEN=60 NODELAY
    log_archive_dest_state_1 = enable
    log_archive_dest_state_2 = enable
    standby_archive_dest = /data/plsprod/archredo
    log_archive_format = redo_plsprod_%r_%t_%s.arc
    log_buffer = 6120448
    fast_start_mttr_target = 30
    undo_management = AUTO
    undo_tablespace = plsprod_undo
    undo_retention = 1500
    remote_login_passwordfile= EXCLUSIVE
    db_domain = travimp.com
    instance_name = plsprod
    service_names = plsprod.travimp.com
    local_listener = (ADDRESS=(PROTOCOL=TCP)(HOST=catalina)(PORT=1521))
    background_dump_dest = /backups/p01/app/oracle/admin/plsprod/bdump
    user_dump_dest = /backups/p01/app/oracle/admin/plsprod/udump
    core_dump_dest = /backups/p01/app/oracle/admin/plsprod/cdump
    session_max_open_files = 60
    sort_area_size = 1048576
    sort_area_retained_size = 1048576
    db_name = plsprod
    open_cursors = 100
    os_authent_prefix =
    pga_aggregate_target = 26214400
    aq_tm_processes = 0
    PMON started with pid=2, OS id=5623926
    PSP0 started with pid=3, OS id=5566632
    MMAN started with pid=4, OS id=5328992
    DBW0 started with pid=5, OS id=4362640
    DBW1 started with pid=6, OS id=4808940
    LGWR started with pid=7, OS id=4358468
    CKPT started with pid=8, OS id=4784160
    SMON started with pid=9, OS id=4354538
    RECO started with pid=10, OS id=4313420
    MMON started with pid=11, OS id=4771908
    MMNL started with pid=12, OS id=4743272
    Mon Jul 18 12:28:53 2011
    ALTER DATABASE MOUNT
    Mon Jul 18 12:28:57 2011
    Setting recovery target incarnation to 1
    Mon Jul 18 12:28:57 2011
    Successful mount of redo thread 1, with mount id 2894903685
    Mon Jul 18 12:28:57 2011
    Database mounted in Exclusive Mode
    Completed: ALTER DATABASE MOUNT
    Mon Jul 18 12:28:58 2011
    ALTER DATABASE OPEN
    Mon Jul 18 12:28:58 2011
    Beginning crash recovery of 1 threads
    parallel recovery started with 15 processes
    Mon Jul 18 12:28:58 2011
    Started redo scan
    Mon Jul 18 12:28:58 2011
    Completed redo scan
    1696 redo blocks read, 56 data blocks need recovery
    Mon Jul 18 12:28:58 2011
    Started redo application at
    Thread 1: logseq 17759, block 26354
    Mon Jul 18 12:28:58 2011
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 17759 Reading mem 0
    Mem# 0: /data/plsprod/p01/redo_t1_g1_f1.log
    Mem# 1: /data/plsprod/p02/redo_t1_g1_f2.log
    Mon Jul 18 12:28:58 2011
    Completed redo application
    Mon Jul 18 12:28:58 2011
    Completed crash recovery at
    Thread 1: logseq 17759, block 28050, scn 35195499598
    56 data blocks read, 56 data blocks written, 1696 redo blocks read
    Mon Jul 18 12:28:58 2011
    LGWR: STARTING ARCH PROCESSES
    ARC0 started with pid=29, OS id=4338022
    Mon Jul 18 12:28:58 2011
    ARC0: Archival started
    ARC1: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    ARC1 started with pid=30, OS id=1081522
    LNS1 started with pid=31, OS id=5537854
    Mon Jul 18 12:29:01 2011
    Thread 1 advanced to log sequence 17760
    Thread 1 opened at log sequence 17760
    Current log# 2 seq# 17760 mem# 0: /data/plsprod/p01/redo_t1_g2_f1.log
    Current log# 2 seq# 17760 mem# 1: /data/plsprod/p02/redo_t1_g2_f2.log
    Successful open of redo thread 1
    Mon Jul 18 12:29:01 2011
    ARC0: STARTING ARCH PROCESSES
    Mon Jul 18 12:29:01 2011
    ARC1: Becoming the 'no FAL' ARCH
    ARC1: Becoming the 'no SRL' ARCH
    Mon Jul 18 12:29:01 2011
    SMON: enabling cache recovery
    Mon Jul 18 12:29:02 2011
    ARC2: Archival started
    ARC0: STARTING ARCH PROCESSES COMPLETE
    ARC0: Becoming the heartbeat ARCH
    ARC2 started with pid=32, OS id=5644370
    Mon Jul 18 12:29:02 2011
    ARC0: Standby redo logfile selected for thread 1 sequence 17759 for destination LOG_ARCHIVE_DEST_2
    Mon Jul 18 12:29:02 2011
    LGWR: Setting 'active' archival for destination LOG_ARCHIVE_DEST_2
    Mon Jul 18 12:29:03 2011
    Successfully onlined Undo Tablespace 16.
    Mon Jul 18 12:29:03 2011
    SMON: enabling tx recovery
    Mon Jul 18 12:29:03 2011
    Database Characterset is US7ASCII
    replication_dependency_tracking turned off (no async multimaster replication found)
    WARNING: AQ_TM_PROCESSES is set to 0. System operation might be adversely affected.
    Completed: ALTER DATABASE OPEN
    Mon Jul 18 12:29:58 2011
    Shutting down archive processes
    Mon Jul 18 12:30:03 2011
    ARCH shutting down
    ARC2: Archival stopped

    Hi CKPT,
    Please find the output of the trace file as below.I deleted the repetitive output "Attempting to send buffer 0x111441d30 start block 91942 block count 84
    total size to send 43008 blocksize 512" as it exceeds maximum length of 30000 characters in this post.
    CATALINA_mardiprd>cat /backups/p01/app/oracle/admin/plsprod/bdump/plsprod_lns1_3772752.trc
    /backups/p01/app/oracle/admin/plsprod/bdump/plsprod_lns1_3772752.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /p01/app/oracle10g/product/10.2.0.3
    System name: AIX
    Node name: catalina
    Release: 3
    Version: 5
    Machine: 00044C5FD600
    Instance name: plsprod
    Redo thread mounted by this instance: 1
    Oracle process number: 16
    Unix process pid: 3772752, image: oracle@catalina (LNS1)
    *** SERVICE NAME:() 2011-07-18 09:42:11.573
    *** SESSION ID:(2189.1) 2011-07-18 09:42:11.573
    *** 2011-07-18 09:42:11.573 57516 kcrr.c
    LNS1: initializing for LGWR communication
    LNS1: connecting to KSR channel
    Success
    LNS1: subscribing to KSR channel
    Success
    *** 2011-07-18 09:42:11.574 57569 kcrr.c
    LNS1: initialized successfully ASYNC=1
    Destination is specified with ASYNC=61440
    *** 2011-07-18 09:42:12.577 71560 kcrr.c
    Sending online log thread 1 seq 17731 [logfile 3] to standby
    Opening logfile [logno 3]
    Redo shipping client performing standby login
    *** 2011-07-18 09:42:12.693 65194 kcrr.c
    Logged on to standby successfully
    Client logon and security negotiation successful!
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Allocate ASYNC blocks: Previous blocks=0 New blocks=20480
    Log file opened [logno 3]
    Attempting to send buffer 0x111441d30 start block 2 block count 1
    total size to send 512 blocksize 512
    Attempting to send buffer 0x111441d30 start block 3 block count 35
    total size to send 17920 blocksize 512
    *** 2011-07-18 09:42:27.009
    Attempting to send buffer 0x111441d30 start block 38 block count 2914
    total size to send 1491968 blocksize 512
    *** 2011-07-18 09:42:50.007
    Attempting to send buffer 0x111441d30 start block 2952 block count 2
    total size to send 1024 blocksize 512
    *** 2011-07-18 09:43:01.441
    Attempting to send buffer 0x111441d30 start block 2954 block count 19286
    total size to send 9874432 blocksize 512
    Attempting to send buffer 0x111441d30 start block 22240 block count 19657
    total size to send 10064384 blocksize 512
    Attempting to send buffer 0x111441d30 start block 41897 block count 1687
    total size to send 863744 blocksize 512
    *** 2011-07-18 09:43:13.007
    Attempting to send buffer 0x111441d30 start block 43584 block count 1
    total size to send 512 blocksize 512
    Attempting to send buffer 0x111441d30 start block 43585 block count 13
    total size to send 6656 blocksize 512
    Attempting to send buffer 0x111441d30 start block 43598 block count 19008
    total size to send 9732096 blocksize 512
    *** 2011-07-18 09:43:24.265
    Attempting to send buffer 0x111441d30 start block 62606 block count 19349
    total size to send 9906688 blocksize 512
    *** 2011-07-18 09:43:25.524 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:43:25.524 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 81955 block count 10066
    total size to send 5153792 blocksize 512
    Online entry still exists for log 3 thr 1 seq 17731. Using it
    Closing thread 1 sequence 17731 logno 3 nab 92021 los 35193489640 nxs 35193490559
    *** 2011-07-18 09:43:26.686 71560 kcrr.c
    Sending online log thread 1 seq 17732 [logfile 1] to standby
    Opening logfile [logno 1]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 1]
    Attempting to send buffer 0x111441d30 start block 2 block count 20407
    total size to send 10448384 blocksize 512
    Attempting to send buffer 0x111441d30 start block 20409 block count 20349
    total size to send 10418688 blocksize 512
    Attempting to send buffer 0x111441d30 start block 40758 block count 19751
    total size to send 10112512 blocksize 512
    Attempting to send buffer 0x111441d30 start block 60509 block count 20260
    total size to send 10373120 blocksize 512
    *** 2011-07-18 09:43:33.262 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:43:33.262 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 80769 block count 11251
    total size to send 5760512 blocksize 512
    Online entry still exists for log 1 thr 1 seq 17732. Using it
    Closing thread 1 sequence 17732 logno 1 nab 92020 los 35193490559 nxs 35193490735
    *** 2011-07-18 09:43:33.541 71560 kcrr.c
    Sending online log thread 1 seq 17733 [logfile 2] to standby
    Opening logfile [logno 2]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    *** 2011-07-18 09:43:34.387
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 2]
    Attempting to send buffer 0x111441d30 start block 2 block count 19192
    total size to send 9826304 blocksize 512
    Attempting to send buffer 0x111441d30 start block 19194 block count 18876
    total size to send 9664512 blocksize 512
    Attempting to send buffer 0x111441d30 start block 38070 block count 19565
    total size to send 10017280 blocksize 512
    Attempting to send buffer 0x111441d30 start block 57635 block count 19765
    total size to send 10119680 blocksize 512
    *** 2011-07-18 09:43:41.660 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:43:41.660 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 77400 block count 14627
    total size to send 7489024 blocksize 512
    Online entry still exists for log 2 thr 1 seq 17733. Using it
    Closing thread 1 sequence 17733 logno 2 nab 92027 los 35193490735 nxs 35193490800
    *** 2011-07-18 09:43:41.928 71560 kcrr.c
    Sending online log thread 1 seq 17734 [logfile 3] to standby
    Opening logfile [logno 3]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 3]
    Attempting to send buffer 0x111441d30 start block 59038 block count 18758
    total size to send 9604096 blocksize 512
    *** 2011-07-18 09:44:42.141
    *** 2011-07-18 09:44:42.141 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:44:42.142 72204 kcrr.c
    Detected physical end of file
    total size to send 586240 blocksize 512
    Online entry still exists for log 1 thr 1 seq 17744. Using it
    Closing thread 1 sequence 17744 logno 1 nab 92029 los 35193494218 nxs 35193494529
    *** 2011-07-18 09:45:58.974 71560 kcrr.c
    Sending online log thread 1 seq 17745 [logfile 2] to standby
    Opening logfile [logno 2]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 2]
    Attempting to send buffer 0x111441d30 start block 2 block count 9013
    total size to send 4614656 blocksize 512
    Attempting to send buffer 0x111441d30 start block 9015 block count 20176
    total size to send 10330112 blocksize 512
    Attempting to send buffer 0x111441d30 start block 29191 block count 19808
    total size to send 10141696 blocksize 512
    Attempting to send buffer 0x111441d30 start block 48999 block count 18939
    total size to send 9696768 blocksize 512
    *** 2011-07-18 09:46:10.146
    Attempting to send buffer 0x111441d30 start block 67938 block count 19124
    total size to send 9791488 blocksize 512
    Attempting to send buffer 0x111441d30 start block 87062 block count 3690
    total size to send 1889280 blocksize 512
    *** 2011-07-18 09:46:12.644 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:46:12.644 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 90752 block count 1267
    total size to send 648704 blocksize 512
    Online entry still exists for log 2 thr 1 seq 17745. Using it
    Closing thread 1 sequence 17745 logno 2 nab 92019 los 35193494529 nxs 35193494940
    *** 2011-07-18 09:46:13.690 71560 kcrr.c
    Sending online log thread 1 seq 17746 [logfile 3] to standby
    Opening logfile [logno 3]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 3]
    Attempting to send buffer 0x111441d30 start block 2 block count 19533
    total size to send 10000896 blocksize 512
    Attempting to send buffer 0x111441d30 start block 19535 block count 11151
    total size to send 5709312 blocksize 512
    Attempting to send buffer 0x111441d30 start block 30686 block count 20154
    total size to send 10318848 blocksize 512
    *** 2011-07-18 09:46:20.822
    Attempting to send buffer 0x111441d30 start block 50840 block count 19083
    total size to send 9770496 blocksize 512
    Attempting to send buffer 0x111441d30 start block 69923 block count 19167
    total size to send 9813504 blocksize 512
    *** 2011-07-18 09:46:22.573 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:46:22.573 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 89090 block count 2933
    total size to send 1501696 blocksize 512
    Online entry still exists for log 3 thr 1 seq 17746. Using it
    Closing thread 1 sequence 17746 logno 3 nab 92023 los 35193494940 nxs 35193495191
    *** 2011-07-18 09:46:23.637 71560 kcrr.c
    Sending online log thread 1 seq 17747 [logfile 1] to standby
    Opening logfile [logno 1]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 1]
    Attempting to send buffer 0x111441d30 start block 2 block count 8093
    total size to send 4143616 blocksize 512
    Attempting to send buffer 0x111441d30 start block 8095 block count 20288
    total size to send 10387456 blocksize 512
    Attempting to send buffer 0x111441d30 start block 28383 block count 18967
    total size to send 9711104 blocksize 512
    *** 2011-07-18 09:46:31.007
    Attempting to send buffer 0x111441d30 start block 47350 block count 5237
    total size to send 2681344 blocksize 512
    Attempting to send buffer 0x111441d30 start block 52587 block count 20188
    total size to send 10336256 blocksize 512
    Attempting to send buffer 0x111441d30 start block 72775 block count 19167
    total size to send 9813504 blocksize 512
    *** 2011-07-18 09:46:37.430 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:46:37.430 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 91942 block count 84
    total size to send 43008 blocksize 512
    Online entry still exists for log 1 thr 1 seq 17747. Using it
    Closing thread 1 sequence 17747 logno 1 nab 92026 los 35193495191 nxs 35193495503
    *** 2011-07-18 09:46:37.501 71560 kcrr.c
    Sending online log thread 1 seq 17748 [logfile 2] to standby
    Opening logfile [logno 2]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 2]
    Attempting to send buffer 0x111441d30 start block 2 block count 2052
    total size to send 1050624 blocksize 512
    *** 2011-07-18 09:46:43.059
    total size to send 8164352 blocksize 512
    *** 2011-07-18 09:48:18.781
    *** 2011-07-18 09:48:18.781 72367 kcrr.c
    Detected proper completion of online log
    **** 2011-07-18 09:48:18.781 72204 kcrr.c*
    Detected physical end of file
    Attempting to send buffer 0x111441d30  start block 90604  block count 1416
    total size to send 724992  blocksize 512
    Online entry still exists for log 2 thr 1 seq 17754. Using it
    Closing thread 1 sequence 17754 logno 2 nab 92020 los 35193496751 nxs 35193496934
    **** 2011-07-18 09:48:19.891 71560 kcrr.c*
    *Sending online log thread 1 seq 17755 [logfile 3] to standby*
    *Opening logfile [logno 3]*
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    *Log file opened [logno 3]*
    Attempting to send buffer 0x111441d30 start block 2 block count 19248
    total size to send 9854976 blocksize 512
    Attempting to send buffer 0x111441d30 start block 19250 block count 20166
    total size to send 10324992 blocksize 512
    Attempting to send buffer 0x111441d30 start block 39416 block count 4955
    total size to send 2536960 blocksize 512
    Attempting to send buffer 0x111441d30 start block 44371 block count 19903
    total size to send 10190336 blocksize 512
    *** 2011-07-18 09:48:30.215
    Attempting to send buffer 0x111441d30 start block 64274 block count 19991
    total size to send 10235392 blocksize 512
    *** 2011-07-18 09:48:32.370 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:48:32.370 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 84265 block count 7754
    total size to send 3970048 blocksize 512
    Online entry still exists for log 3 thr 1 seq 17755. Using it
    Closing thread 1 sequence 17755 logno 3 nab 92019 los 35193496934 nxs 35193498387
    *** 2011-07-18 09:48:32.472 71560 kcrr.c
    Sending online log thread 1 seq 17756 [logfile 1] to standby
    Opening logfile [logno 1]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 1]
    Attempting to send buffer 0x111441d30 start block 2 block count 19214
    total size to send 9837568 blocksize 512
    *** 2011-07-18 09:48:40.267
    Attempting to send buffer 0x111441d30 start block 19216 block count 19981
    total size to send 10230272 blocksize 512
    Attempting to send buffer 0x111441d30 start block 39197 block count 19586
    total size to send 10028032 blocksize 512
    Attempting to send buffer 0x111441d30 start block 58783 block count 6569
    total size to send 3363328 blocksize 512
    Attempting to send buffer 0x111441d30 start block 65352 block count 19894
    total size to send 10185728 blocksize 512
    *** 2011-07-18 09:48:47.133 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:48:47.133 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 85246 block count 6772
    total size to send 3467264 blocksize 512
    Online entry still exists for log 1 thr 1 seq 17756. Using it
    Closing thread 1 sequence 17756 logno 1 nab 92018 los 35193498387 nxs 35193500455
    *** 2011-07-18 09:48:47.344 71560 kcrr.c
    Sending online log thread 1 seq 17757 [logfile 2] to standby
    Opening logfile [logno 2]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 2]
    *** 2011-07-18 09:48:50.302
    Attempting to send buffer 0x111441d30 start block 2 block count 18546
    total size to send 9495552 blocksize 512
    Attempting to send buffer 0x111441d30 start block 18548 block count 19821
    total size to send 10148352 blocksize 512
    Attempting to send buffer 0x111441d30 start block 38369 block count 20457
    total size to send 10473984 blocksize 512
    *** 2011-07-18 09:49:02.194
    Attempting to send buffer 0x111441d30 start block 58826 block count 20477
    total size to send 10484224 blocksize 512
    Attempting to send buffer 0x111441d30 start block 79303 block count 12397
    total size to send 6347264 blocksize 512
    *** 2011-07-18 09:49:08.443 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:49:08.443 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 91700 block count 333
    total size to send 170496 blocksize 512
    Online entry still exists for log 2 thr 1 seq 17757. Using it
    Closing thread 1 sequence 17757 logno 2 nab 92033 los 35193500455 nxs 35193504614
    *** 2011-07-18 09:49:08.549 71560 kcrr.c
    Sending online log thread 1 seq 17758 [logfile 3] to standby
    Opening logfile [logno 3]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 3]
    Attempting to send buffer 0x111441d30 start block 2 block count 19640
    total size to send 10055680 blocksize 512
    *** 2011-07-18 09:49:15.005
    Attempting to send buffer 0x111441d30 start block 19642 block count 12646
    total size to send 6474752 blocksize 512
    Attempting to send buffer 0x111441d30 start block 92000 block count 23
    total size to send 11776 blocksize 512
    *** 2011-07-18 11:30:19.515 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 11:30:19.515 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 92023 block count 11
    total size to send 5632 blocksize 512
    Online entry still exists for log 3 thr 1 seq 17758. Using it
    Closing thread 1 sequence 17758 logno 3 nab 92034 los 35193504614 nxs 35194291751
    *** 2011-07-18 11:30:21.546 71560 kcrr.c
    Sending online log thread 1 seq 17759 [logfile 1] to standby
    Opening logfile [logno 1]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 1]
    Attempting to send buffer 0x111441d30 start block 2 block count 24
    total size to send 12288 blocksize 512
    *** 2011-07-18 11:30:27.006
    Attempting to send buffer 0x111441d30 start block 26 block count 1
    total size to send 512 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27 block count 34
    total size to send 17408 blocksize 512
    Attempting to send buffer 0x111441d30 start block 61 block count 31
    total size to send 15872 blocksize 512
    *** 2011-07-18 11:30:39.003
    Attempting to send buffer 0x111441d30 start block 92 block count 32
    total size to send 16384 blocksize 512
    Attempting to send buffer 0x111441d30 start block 124 block count 2
    total size to send 1024 blocksize 512
    Attempting to send buffer 0x111441d30 start block 126 block count 1
    total size to send 512 blocksize 512
    *** 2011-07-18 11:30:51.000
    Attempting to send buffer 0x111441d30 start block 127 block count 1
    total size to send 512 blocksize 512
    Attempting to send buffer 0x111441d30 start block 128 block count 30
    total size to send 15360 blocksize 512
    Attempting to send buffer 0x111441d30 start block 158 block count 88
    total size to send 45056 blocksize 512
    Attempting to send buffer 0x111441d30 start block 246 block count 3
    total size to send 1536 blocksize 512
    *** 2011-07-18 11:31:03.002
    Attempting to send buffer 0x111441d30 start block 249 block count 32
    total size to send 16384 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27416 block count 4
    total size to send 2048 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27420 block count 14
    total size to send 7168 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27434 block count 54
    total size to send 27648 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27488 block count 10
    total size to send 5120 blocksize 512
    *** 2011-07-18 12:27:01.000
    Attempting to send buffer 0x111441d30 start block 27498 block count 78
    total size to send 39936 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27576 block count 2
    total size to send 1024 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27578 block count 56
    total size to send 28672 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27634 block count 60
    total size to send 30720 blocksize 512
    *** 2011-07-18 12:27:14.006
    Attempting to send buffer 0x111441d30 start block 27694 block count 7
    total size to send 3584 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27701 block count 1
    total size to send 512 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27702 block count 106
    total size to send 54272 blocksize 512
    *** 2011-07-18 12:27:28.001
    Attempting to send buffer 0x111441d30 start block 27808 block count 2
    total size to send 1024 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27810 block count 37
    total size to send 18944 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27847 block count 2
    total size to send 1024 blocksize 512
    *** 2011-07-18 12:27:42.002
    Attempting to send buffer 0x111441d30 start block 27849 block count 78
    total size to send 39936 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27927 block count 43
    total size to send 22016 blocksize 512
    *** 2011-07-18 12:27:52.001
    Attempting to send buffer 0x111441d30 start block 27970 block count 1
    total size to send 512 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27971 block count 2
    total size to send 1024 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27973 block count 38
    total size to send 19456 blocksize 512
    *** 2011-07-18 12:28:03.007
    ORA-00472: PMON  process terminated with error
    Closing Redo Read Context
    Redo Push Server: Freeing ASYNC PGA buffer
    LNS1: Doing a channel reset for next time around...
    Please help me out.

  • Oracle write archive log files continuosly

    Hi all,
    I don't know why my Oracle Database has this problem. Online log are writen to archive log file continuously(3 minutes period). My archive logfile is 300M. I have startup force my database. It work, but archive log files are writen so much. This is alert log:
    >
    Sat Jan 1 14:23:19 2011
    Successfully onlined Undo Tablespace 5.
    Sat Jan 1 14:23:19 2011
    SMON: enabling tx recovery
    Sat Jan 1 14:23:19 2011
    Database Characterset is AL32UTF8
    Opening with internal Resource Manager plan
    where NUMA PG = 1, CPUs = 16
    replication_dependency_tracking turned off (no async multimaster replication found)
    Sat Jan 1 14:23:40 2011
    WARNING: AQ_TM_PROCESSES is set to 0. System operation might be adversely affected.
    Sat Jan 1 14:24:32 2011
    db_recovery_file_dest_size of 204800 MB is 28.64% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Sat Jan 1 14:24:40 2011
    Completed: ALTER DATABASE OPEN
    Sat Jan 1 14:27:05 2011
    Warning: PROCESSES may be too low for current load
    shared servers=360, want 7 more but starting only 3 more
    Warning: PROCESSES may be too low for current load
    shared servers=363, want 9 more but starting only 0 more
    Sat Jan 1 14:27:39 2011
    Warning: PROCESSES may be too low for current load
    shared servers=363, want 9 more but starting only 1 more
    Warning: PROCESSES may be too low for current load
    shared servers=364, want 9 more but starting only 0 more
    Sat Jan 1 14:28:58 2011
    Thread 1 advanced to log sequence 9463 (LGWR switch)
    Current log# 3 seq# 9463 mem# 0: /u01/oradata/TNORA3/redo03a.log
    Current log# 3 seq# 9463 mem# 1: /u02/oradata/TNORA3/redo03b.log
    Sat Jan 1 14:30:20 2011
    Errors in file /opt/app/oracle/admin/TNORA3/bdump/tnora_j000_17762.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00018: maximum number of sessions exceeded
    Sat Jan 1 14:39:47 2011
    Thread 1 advanced to log sequence 9464 (LGWR switch)
    Current log# 1 seq# 9464 mem# 0: /u01/oradata/TNORA3/redo01a.log
    Current log# 1 seq# 9464 mem# 1: /u02/oradata/TNORA3/redo01b.log
    Sat Jan 1 14:42:51 2011
    Errors in file /opt/app/oracle/admin/TNORA3/bdump/tnora_s008_17165.trc:
    ORA-07445: exception encountered: core dump [_intel_fast_memcpy.J()+80] [SIGSEGV] [Address not mapped to object] [0x2B8988CE2018] [] []
    Sat Jan 1 14:42:57 2011
    Thread 1 advanced to log sequence 9465 (LGWR switch)
    Current log# 2 seq# 9465 mem# 0: /u01/oradata/TNORA3/redo02a.log
    Current log# 2 seq# 9465 mem# 1: /u02/oradata/TNORA3/redo02b.log
    Sat Jan 1 14:43:11 2011
    found dead shared server 'S008', pid = (42, 1)
    Sat Jan 1 14:45:39 2011
    Thread 1 advanced to log sequence 9466 (LGWR switch)
    Current log# 3 seq# 9466 mem# 0: /u01/oradata/TNORA3/redo03a.log
    Current log# 3 seq# 9466 mem# 1: /u02/oradata/TNORA3/redo03b.log
    Sat Jan 1 14:48:47 2011
    Thread 1 cannot allocate new log, sequence 9467
    Checkpoint not complete
    Current log# 3 seq# 9466 mem# 0: /u01/oradata/TNORA3/redo03a.log
    Current log# 3 seq# 9466 mem# 1: /u02/oradata/TNORA3/redo03b.log
    Sat Jan 1 14:48:50 2011
    Thread 1 advanced to log sequence 9467 (LGWR switch)
    Current log# 1 seq# 9467 mem# 0: /u01/oradata/TNORA3/redo01a.log
    Current log# 1 seq# 9467 mem# 1: /u02/oradata/TNORA3/redo01b.log
    Sat Jan 1 14:52:11 2011
    Thread 1 advanced to log sequence 9468 (LGWR switch)
    Current log# 2 seq# 9468 mem# 0: /u01/oradata/TNORA3/redo02a.log
    Current log# 2 seq# 9468 mem# 1: /u02/oradata/TNORA3/redo02b.log
    Sat Jan 1 14:55:12 2011
    Thread 1 advanced to log sequence 9469 (LGWR switch)
    Current log# 3 seq# 9469 mem# 0: /u01/oradata/TNORA3/redo03a.log
    Current log# 3 seq# 9469 mem# 1: /u02/oradata/TNORA3/redo03b.log
    Sat Jan 1 14:58:12 2011
    Thread 1 advanced to log sequence 9470 (LGWR switch)
    Current log# 1 seq# 9470 mem# 0: /u01/oradata/TNORA3/redo01a.log
    Current log# 1 seq# 9470 mem# 1: /u02/oradata/TNORA3/redo01b.log
    Sat Jan 1 15:02:00 2011
    Thread 1 advanced to log sequence 9471 (LGWR switch)
    Current log# 2 seq# 9471 mem# 0: /u01/oradata/TNORA3/redo02a.log
    Current log# 2 seq# 9471 mem# 1: /u02/oradata/TNORA3/redo02b.log
    Sat Jan 1 15:05:16 2011
    Thread 1 advanced to log sequence 9472 (LGWR switch)
    Current log# 3 seq# 9472 mem# 0: /u01/oradata/TNORA3/redo03a.log
    Current log# 3 seq# 9472 mem# 1: /u02/oradata/TNORA3/redo03b.log
    Sat Jan 1 15:08:30 2011
    Thread 1 advanced to log sequence 9473 (LGWR switch)
    Current log# 1 seq# 9473 mem# 0: /u01/oradata/TNORA3/redo01a.log
    Current log# 1 seq# 9473 mem# 1: /u02/oradata/TNORA3/redo01b.log
    Sat Jan 1 15:11:12 2011
    Thread 1 cannot allocate new log, sequence 9474
    Checkpoint not complete
    Current log# 1 seq# 9473 mem# 0: /u01/oradata/TNORA3/redo01a.log
    Current log# 1 seq# 9473 mem# 1: /u02/oradata/TNORA3/redo01b.log
    Sat Jan 1 15:11:14 2011
    Thread 1 advanced to log sequence 9474 (LGWR switch)
    Current log# 2 seq# 9474 mem# 0: /u01/oradata/TNORA3/redo02a.log
    Current log# 2 seq# 9474 mem# 1: /u02/oradata/TNORA3/redo02b.log
    Sat Jan 1 15:14:15 2011
    Thread 1 advanced to log sequence 9475 (LGWR switch)
    Current log# 3 seq# 9475 mem# 0: /u01/oradata/TNORA3/redo03a.log
    Current log# 3 seq# 9475 mem# 1: /u02/oradata/TNORA3/redo03b.log
    >
    PLs, help me.

    This is the contait of tail -100 /opt/app/oracle/admin/TNORA3/bdump/tnora_s008_17165.trc | more
    KCBS: Tot bufs in set segwise
    KCBS: nbseg[0] is 1568
    KCBS: nbseg[1] is 1568
    KCBS: nbseg[2] is 1569
    KCBS: nbseg[3] is 1568
    KCBS: nbseg[4] is 1568
    KCBS: nbseg[5] is 1568
    KCBS: nbseg[6] is 1569
    KCBS: nbseg[7] is 1568
    KCBS: nbseg[8] is 1568
    KCBS: nbseg[9] is 1568
    KCBS: nbseg[10] is 1569
    KCBS: nbseg[11] is 1568
    KCBS: nbseg[12] is 1568
    KCBS: nbseg[13] is 1568
    KCBS: nbseg[14] is 1569
    KCBS: nbseg[15] is 1568
    KCBS: nbseg[16] is 1568
    KCBS: nbseg[17] is 1568
    KCBS: nbseg[18] is 1569
    KCBS: nbseg[19] is 1568
    KCBS: Act cnt = 15713
    KCBS: bufcnt = 31365, nb_kcbsds = 31365
    KCBS: fbufcnt = 445
    KCBS: Tot bufs in set segwise
    KCBS: nbseg[0] is 1568
    KCBS: nbseg[1] is 1568
    KCBS: nbseg[2] is 1569
    KCBS: nbseg[3] is 1568
    KCBS: nbseg[4] is 1568
    KCBS: nbseg[5] is 1568
    KCBS: nbseg[6] is 1569
    KCBS: nbseg[7] is 1568
    KCBS: nbseg[8] is 1568
    KCBS: nbseg[9] is 1568
    KCBS: nbseg[10] is 1569
    KCBS: nbseg[11] is 1568
    KCBS: nbseg[12] is 1568
    KCBS: nbseg[13] is 1568
    KCBS: nbseg[14] is 1569
    KCBS: nbseg[15] is 1568
    KCBS: nbseg[16] is 1568
    KCBS: nbseg[17] is 1568
    KCBS: nbseg[18] is 1569
    KCBS: nbseg[19] is 1568
    KCBS: Act cnt = 15713
    KCBS: bufcnt = 31365, nb_kcbsds = 31365
    KCBS: fbufcnt = 445
    KCBS: Tot bufs in set segwise
    KCBS: nbseg[0] is 1568
    KCBS: nbseg[1] is 1568
    KCBS: nbseg[2] is 1568
    KCBS: nbseg[3] is 1569
    KCBS: nbseg[4] is 1568
    KCBS: nbseg[5] is 1568
    KCBS: nbseg[6] is 1568
    KCBS: nbseg[7] is 1569
    KCBS: nbseg[8] is 1568
    KCBS: nbseg[9] is 1568
    KCBS: nbseg[10] is 1568
    KCBS: nbseg[11] is 1569
    KCBS: nbseg[12] is 1568
    KCBS: nbseg[13] is 1568
    KCBS: nbseg[14] is 1568
    KCBS: nbseg[15] is 1569
    KCBS: nbseg[16] is 1568
    KCBS: nbseg[17] is 1568
    KCBS: nbseg[18] is 1568
    KCBS: nbseg[19] is 1569
    KCBS: Act cnt = 15713
    KCBS: bufcnt = 31365, nb_kcbsds = 31365
    KCBS: fbufcnt = 444
    KCBS: Tot bufs in set segwise
    KCBS: nbseg[0] is 1568
    KCBS: nbseg[1] is 1568
    KCBS: nbseg[2] is 1568
    KCBS: nbseg[3] is 1569
    KCBS: nbseg[4] is 1568
    KCBS: nbseg[5] is 1568
    KCBS: nbseg[6] is 1568
    KCBS: nbseg[7] is 1569
    KCBS: nbseg[8] is 1568
    KCBS: nbseg[9] is 1568
    KCBS: nbseg[10] is 1568
    KCBS: nbseg[11] is 1569
    KCBS: nbseg[12] is 1568
    KCBS: nbseg[13] is 1568
    KCBS: nbseg[14] is 1568
    KCBS: nbseg[15] is 1569
    KCBS: nbseg[16] is 1568
    KCBS: nbseg[17] is 1568
    KCBS: nbseg[18] is 1568
    KCBS: nbseg[19] is 1569
    KCBS: Act cnt = 15713
    KSOLS: Begin dumping all object level stats elements
    KSOLS: Done dumping all elements. Exiting.
    Dump event group for SESSION
    Unable to dump event group - no SESSION state objectDump event group for SYSTEM
    ssexhd: crashing the process...
    Shadow_Core_Dump = partial

  • Dequeue from multi consumer queue table

    Hi,
    Even after all consumers I created have dequeued the messages (in REMOVE mode), they just didn't go from the queue table. Although my application works fine (the messages could no longer be dequeued again), I am afraid this will affect performance when messages piled up in Q table.
    I tried maunally delete the records in Q table. But the question is "is there an automatic way to handle this?"
    Thx for any feedback!

    Make sure that the init.ora parameter AQ_TM_PROCESSES is set to 1 or more. This is the parameter that controls the number of processes available to clean up the queue after the messages have been dequeued or the message has expired.

  • Multi-consumer queue table does not empty

    Hello,
    I must be missing something pretty trivial here but I have setup queue with a queue table where multiple_consumers = true. When I dequeue a message from the queue it is received, but the message is still left in the queue table. When I do a second dequeue I get a end-of-fetch error.
    Currently, there is only one subscriber and the subscriber is specified as the recipient of the message.
    How do I get the messages removed from the queue table?
    DECLARE
        queue_options       DBMS_AQ.ENQUEUE_OPTIONS_T;
        message_properties  DBMS_AQ.MESSAGE_PROPERTIES_T;
        recipients          DBMS_AQ.AQ$_RECIPIENT_LIST_T;
        message_id          RAW(16);
        my_message          MYRESP_T;
    BEGIN
        recipients(1) := sys.aq$_agent('MY_SUBSCRIBER',null,null);
        message_properties.recipient_list := recipients;
        my_message := MYRESP_T('99293','ORCL','TEST');
        DBMS_AQ.ENQUEUE(
            queue_name => 'RESP_Q',
            enqueue_options => queue_options,
            message_properties => message_properties,
            payload => my_message,
            msgid => message_id);
        COMMIT;
    END;
    DECLARE
            r_dequeue_options    DBMS_AQ.DEQUEUE_OPTIONS_T;
            r_message_properties DBMS_AQ.MESSAGE_PROPERTIES_T;
            v_message_handle     RAW(16);
            o_payload                 MYRESP_T;
            v_dynamic_sql           VARCHAR2(4000);
            BEGIN
                r_dequeue_options.wait := DBMS_AQ.NO_WAIT;
                r_dequeue_options.dequeue_mode := DBMS_AQ.REMOVE;
                r_dequeue_options.navigation := DBMS_AQ.FIRST_MESSAGE;
                r_dequeue_options.consumer_name := 'MY_SUBSCRIBER';
                DBMS_AQ.DEQUEUE(
                    queue_name         => 'RESP_Q',
                    dequeue_options    => r_dequeue_options,
                    message_properties => r_message_properties,
                    payload            => o_payload,
                    msgid              => v_message_handle
              commit;
            END;Thanks in advance

    Presumably the message gets left on the Q with a state of PROCESSED? If so then that suggests you have aq_tm_processes explicitly set to 0 (zero) in your spfile/pfile - these background processes clear messages which have been PROCESSED.
    If this is not the case can you post the state of the messages and some more information like version and AQ related parameters?
    Thanks
    Paul

  • Dequeue with OCCI does not remove the message from the queue

    Hey there,
    I have this problem where no matter what dequeue option I try the messages never seem to be removed from the queue... I tried looking around and found only a similar un-answered question...
    Thanks in advance...
    void TryAnydataDequeue(oracle::occi::Connection * conn)
         try
              std::cout << "Dequeue Commence..." << std::endl;
              Consumer cons(conn);
              //Settings de dequeue
              cons.setCorrelationId("SPPC");
              cons.setQueueName("Anydata_queue");
              cons.setConsumerName("SNOOP");
              cons.setDequeueMode(cons.DEQ_REMOVE);
              //cons.setDequeueMode(cons.DEQ_LOCKED);
              std::cout << "Reception du message..." << std::endl;
              Message m2 = cons.receive(Message::ANYDATA);
              AnyData any(conn);
              any = m2.getAnyData();
              if(!any.isNull())
                   oracle::occi::TypeCode type = any.getType();
                   if(type == OCCI_TYPECODE_VARCHAR2)
                        std::string msg = any.getAsString();
                        std::cout << "Message Reçu: ";
                        std::cout << msg << std::endl;
                   else
                        std::cout << "Format du message invalide..." << std::endl;
                   std::cout << "Fin du message... (Press a key)" << std::endl;
              else
                   std::cout << "Message invalide..." << std::endl;
              System::String * theInput = System::Console::ReadLine();
         catch(SQLException ex)
              std::cout << "Exception: " << ex.getErrorCode() << " - " << ex.getMessage() << std::endl;
              System::String * tnput = System::Console::ReadLine();
    }

    The message from the queue will be removed when you do a commit after a successful dequeue call, depending upon your message retention settings.
    After you have done this processing and successfully performed a commit, what is the output of the following query:
    SQL> connect AQADMIN/password
    SQL> select msg_state from aq$<your_queue_table_name_goes_here> ;?
    If it is PROCESSED, check your queue retention settings.
    Additionally, make sure that the init.ora parameter AQ_TM_PROCESSES is set to a NON-ZERO value for this to happen.

  • Applied_scn doesn't grow up

    Hi all,
    I've implemented typical Streams environment within one schema (changes from one table being put into another table). Everything was working just fine until the Capture process had lodged with status "WAITING FOR REDO LOG". I started digging and as a result I found that the applied_scn value (in a dba_capture view) wasn't changed since I started the capture process. I've came across a metalink document [#418755.1|https://metalink2.oracle.com/metalink/plsql/f?p=130:14:8916378701992994795::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,418755.1,1,1,1,helvetica#_Toc190682512]. Here's been said that to check whether applied_scn and current_scn being changed synchronously it's worth to implement a heartbeat table. Unfortunately I haven't found any info what to do if it's not neither in this document nor somewhere else.
    I use Oracle 10.2.0.4 on SunOS. I'd kindly appreciate if somebody could help me to sort this out...

    Hi Alex,
    There are workarounds available if the applied_scn does not move (wherein you can manually update the applied_scn). Open an SR with Oracle Support to get the details of Note.789198.1 'Workaround for APPLIED_SCN not Moving'.
    You need to make sure that the apply process is correctly applying the changes. If the apply has stopped for any reason then applied_scn would not move. Also make sure that the aq_tm_processes is set to a non-zero value less than 10 (a queue monitor slave would populate sys.aq$_replay_info base table).
    In any case open an SR with Oracle Support Services for checking out the possibilities of hitting any known bugs.
    Thanks,
    Rijesh

  • Stream Performance

    Hi,
    We are working on Oracle 9i bi-directional Stream replication between two remote databases. We have following system configuration :
    MS Windows 2K OS
    Pentium IV Processor with 1.7 GHz
    1 GB RAM
    We have more than 100 tables for replication purpose. In stream set up, we have two different queues, one for capture and another for apply. It was working fine earlier. As sson as we restarted both the db srvrs, Oracle.exe thread staretd taking almot 95-99% of CPU, and we tried to recover from this, we could not. and after some time, both the systems stopped functioning.
    What might be the possible reason for this ?
    Thanx, & regards,
    Kamlesh

    Here are a couple of performance tips:
    1) Make sure that you have installed either the 9.2.0.2 or 9.2.0.3 patchset. 9.2.0.2 is a required patch for databases participating in Oracle Streams. The 9.2.0.3 patchset includes the 9.2.0.2 patches and is a recommended patchset for Oracle Streams databases.
    2) Increase the shared_pool size .
    Each capture process requires 10Mb of shared pool. If the parallelism parameter of capture is greater than 2, then the memory required is 10Mb * parallelism
    In addition to the memory required for the capture process, there is an in-memory buffer queue which holds all of the logical change records(LCRs) for streams requires memory from the shared pool. The buffer queue memory requirement for a database is limited to 10% of the memory allocated with the shared_pool_size init.ora parameter. Therefore, with a 200Mb shared_pool_size, up to 20Mb is available for the use of the in-memory buffer queue(s).
    When the buffer queue memory threshold is exceeded, LCRs will spill-over to disk and continue to spill to disk until all of the transactions have been consumed by all down-stream sites. When this spill-over occurs, streams performance is impacted.
    3) Relocate the Streams data dictionary tables away from the SYSTEM tablespace.
    4) For bi-directional replication, configure two (2) queues to minimize spill-over from buffer queue to disk.
    5) Make sure that rules are simple To make a quick determination if an event (LCR) is "interesting", fast rule evaluation preprocessing can be used on rules with object_owner, object_name, source_database_name specified in simple equality statements. Avoid 'LIKE' and 'NOT' operators in rules as fast rule evaluation preprocessing cannot be utilized.
    6) Make sure that the init.ora parameter aq_tm_processes is set to a non-null value. This is the parameter that enables the purging of the queue. If the queue is never purged, the in-memory buffer will, sooner or later, spill over to disk.

  • Integrating Workflow Process and Business Events

    Hi,
    Im trying to use events in oracle workflow process..im trying to run the demo
    process named 'Workflow Agent Ping / Acknowledge'. I have scheduled the listeners for local inbound agent WF_IN and propagations for local outbound agents WF_OUT. The master ping process begins executing and calls the detail ping process. The detail ping process begins execution but the process gets stuck on the receive event node.The process is not receiving the acknowledge event in return to the ping event. It does not move further,not allowing the detail ping process to complete, which as a result doesnot allow the master ping process to complete its execution.
    How do i make it move?
    Thankyou
    Saadia

    After launching the master process, check for the state of the message in WF_OUT queue. It could be that the message stays in READY state in WF_OUT and has not propagated to WF_IN queue.
    Check if DB init parameters aq_tm_processes is set to 1 and it is running. If the message is not found in WF_OUT even after launching the proces, check if the queue is enabled for enqueue. Also check if the Business Event System is ENABLED.
    SELECT text
    FROM wf_resources
    WHERE name = 'WF_SYSTEM_STATUS';

  • Some AQ managed tables aren't cleared and contain loads of rows

    Hi,
    I have been running a system made up of two nodes (Oracle XE 10gR2) connected by queues for a couple of years without too much hassle up to date.
    Yesterday I found that two of the tables created at the time of the creation of the queue contained a few hundred thousands rows whereas the same tables in a test environment that runs almost the same data were empty. I am talking of AQ$_queue_table_name_H and $AQ_queue_table_name_I.
    I stopped the propagation and when the queue was empty I truncated the content of the two tables without problems, but the question is, is there some internal Oracle process that is supposed to take care of this and for some reason is not working?
    I checked the documentation but I don't find much details about housekeeping jobs.
    Is the monitoring of these tables something that the DBA should add to his/her tasks?
    Thanks
    Flavio

    Hi,
    Sorry I missed the XE thing.
    So, when you say aq_tm_processes is set to zero as recommended I'm assuming you mean it is defaulted and not explicitly set to zero? You can check using this:
    connect / as sysdba
    set serveroutput on
    declare
    mycheck number;
    begin
    select 1 into mycheck from v$parameter where name = 'aq_tm_processes' and value = '0'
    and (ismodified != 'FALSE' OR isdefault='FALSE');
    if mycheck = 1 then
    dbms_output.put_line('The parameter ''aq_tm_processes'' is explicitly set to 0!');
    end if;
    exception when no_data_found then
    dbms_output.put_line('The parameter ''aq_tm_processes'' is not explicitly set to 0.');
    end;
    /If it is explicitly zero then remove it:
    alter system reset aq_tm_processes scope=spfile sid='*';
    --restart the databaseIf it isn't then check that the background processes are running:
    select sid,type,program,event from v$session where program like '%(Q%';sys.dbms_aqadm.aq$_propaq handles propagation not queue cleanup activities, the cleanup process should be removing data if the retention is set to 0, this is a background process so its frequency is defined internally.
    Can you also check for orphaned messages on your queue?
    select count(*)
    from AQ$_<queue_table_name>_I i
    where not exists (select t.msgid
                      FROM <queue_table_name> t where i.msgid = t.msgid);
    select count(*)
    from AQ$_<queue_table_name>_T i
    where not exists (select t.msgid
                      FROM <queue_table_name> t where i.msgid = t.msgid);
    select count(*)
    from AQ$_<queue_table_name>_H i
    where not exists (select t.msgid
                      FROM <queue_table_name> t where i.msgid = t.msgid);Thanks
    Paul
    Edited by: pdtill2508 on May 23, 2012 9:55 AM

  • Streams AQ: waiting for messages in the queue

    Hi,
    For some reason, I've to run the owb mapping manually. First I try to run it in this way:
    declare
    n_result number;
    begin
    n_result:=dwrr104.wb_rt_api_exec.run_task('LOC_ZONE2_DW','PLSQL','MAP_RMS_CUSTOMER');
    dbms_output.put_line('result :='||n_result);
    end;
    This script just kept running endlessly. I noticed The wait event in database for this session was: "Streams AQ: waiting for messages in the queue"
    However, if I run the 'main' function of this mapping directly like this:
    declare
    -- Non-scalar parameters require additional processing
    p_env dw.wb_rt_mapaudit.wb_rt_name_values;
    begin
    -- Call the function
    :result := dw.map_rms_web_ptrackcode.main(p_env => p_env);
    end;
    it can work without any problem.
    Any ideas?
    Jeffrey

    Hi Jeffrey,
    need to change them?Yes, you need to increase value for AQ_TM_PROCESSES parameter (set it to at least 1).
    It is a requirements for target database (database where runtime services is run):
    Look at OWB installation guide (it is for OWB 10gR1 but for later OWB versions requirements is the same):
    http://download.oracle.com/docs/cd/E10926_01/doc/owb.101/b12150/appaprepdb.htm#i1008228
    Regards,
    Oleg

  • Specifying DELAY for enqueue does not work

    Oracle 8.1.7
    I am experiencing a problem with the DELAY feature for the message property when enqueuing a message. The delay interval I specify is 2 seconds, and when I look at the message in the aq$aq_table_name where queue = 'QUEUE_NAME' AND msg_state = 'WAIT' after enqueue, the message is there, with the correct time in the delay column. Unfortunately the state of the message never changes to READY when the delay time is up. I do have a suspicion that there is a problem with the background time-manager deamon not working, but I am not able to find any information as to how to control it. Any help would be extremely appreciated. Thank you in advance
    Regards,
    Kamen

    Hi Kamen,
    Please make sure that system parameter aq_tm_processes is set to more than 1.
    cheers,
    Brajesh.

Maybe you are looking for

  • Can I use my iPhone 6 out of the box to take photos, before syncing it with my computer?

    I will be receiving a new iPhone 6 at the beginning an upcoming trip and would like to use the great camera on it to take photos. The problem is I won't have my computer with me during this trip. Will I be able to use my iPhone right out of the box t

  • IPhoto updated but now I can't open iPhoto at all

    iPhoto was installed on my MacBook Pro when I purchased it in Sept.(Along with iMovie, iTunes, etc.) I was having problems with editing some of the photos (it wouldn't open up in the edit screen) so I decided to update it. I downloaded the update and

  • Problem with ping

    I am using isReachable method of InetAddress class for checking if the host is alive or not. This method returns false. But if i invoke ping using Runtime class I get response from that host ....also if i try to do ping from command line even then I

  • Context awareness

    how do I get to the path of the library project or application owning a call to a specific. Vi? Jeff Solved! Go to Solution.

  • Asynchronous restart

    Hi, we have an asynchronous interface from ECC to PI and then, through a BPM,  synchronous messages are sent from PI to External system. The problem we have is that if PI is closed, we gather many messages in ECC and when PI is restarted , many messa