Oracle Advanced Queueing on 10G  dequeue options  FIRST_MESSAGE

Has anyone used the " dbms_aq.first_message " in their dequeue options when dequeueing from a queue with oracle advanced queueing?
If so, have yoiu noticed any change in performance time ? Has it slowed processing time in anyway?
Just looking for anyone that has actually used this and their experience with it.
Thanks,

Its difficult to answer without understanding what your application is trying to achieve, PLSQL notification can handle certain aspects - e.g. fire off a procedure when new messages arrive.
Have a look at the doc to see if it might help your scenario:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14257/aq_opers.htm#sthref1315
(10.7 Registering for Notification)
Thanks
Paul

Similar Messages

  • Oracle Advanced Queueing  VS. JAVA

    Dears,
    i am facing a problem when integrating java with oracle while using advanced queueing.
    The dequeue rate is very little 26 deq/second, is there any performance tuning mechanisms to be used or optimizations?
    Thank you.

    Try http://www.akadia.com/services/ora_advanced_queueing.html
    they have some very straight forward , basic examples

  • Does Oracle Advanced Queueing support JRockit?

    Does anyone know if Oracle Advanced Queueing supports JRockit (1.5 or 1.6),
    or better still, does anyone have experience using this?

    AQ is an in-database implementation of Java Messaging Service (JMS).
    With that in mind could you please ask your question again including specifics as to what you are thinking.

  • Oracle Advance Queueing

    I am using DBMS_AQ (Advanced Queueing) , when trying to dequeue the messages from it, by providing a dequeue stored procedure that is being called by a java process the number of dequeue messages per second is below expectations; arround 33/sec.
    Please can any one tell me what is wrong, find below the stored procedure, if there is any optimization that can be made on it please tell me to speed up the dequeue process.
    CREATE OR REPLACE PROCEDURE SMPP.deq (
    outputmessage OUT smpp.sms,
    priority OUT NUMBER,
    enq_time OUT VARCHAR2,
    CORR IN VARCHAR2,
    waittime IN NUMBER
    AS
    dequeue_options DBMS_AQ.dequeue_options_t;
    message_properties DBMS_AQ.message_properties_t;
    message_handle RAW (16);
    v_err VARCHAR2 (255);
    BEGIN
    dequeue_options.WAIT := waittime;
    dequeue_options.visibility := DBMS_AQ.IMMEDIATE;
    dequeue_options.correlation := CORR;
    dequeue_options.navigation := DBMS_AQ.first_message;
    DBMS_AQ.dequeue (queue_name => 'SMPP.SMSINQ',
    dequeue_options => dequeue_options,
    message_properties => message_properties,
    payload => outputmessage,
    msgid => message_handle
    priority := message_properties.priority;
    enq_time :=
    TO_CHAR (message_properties.enqueue_time, 'dd-mm-rr hh24:mm:SS');
    DBMS_OUTPUT.put_line (enq_time);
    DBMS_OUTPUT.put_line (outputmessage.msg_txt);
    DBMS_OUTPUT.put_line (message_properties.priority);
    EXCEPTION
    WHEN OTHERS
    THEN
    v_err := SUBSTR (SQLERRM, 1, 255);
    DBMS_OUTPUT.put_line (v_err);
    RAISE;
    END;
    /

    I haven't found much tuning opportunities by messing with dequeue options. Adding memory to the SGA tends to help. Also, creating mutliple queue tables for the queue tends to distribute io and may also help.

  • Oracle Advanced Queueing

    Can we dequeue the messages from oracle higher version into a lower version.
    we are enqueing into 8.1.6 and can we dequeue
    from this version to 8.0.5 and what are the additional features we cannot get.
    Can anybody pls help.
    Thanks,

    You can't create a message with a VARCHAR2 payload. It either has to be a RAW message, or a message of an object type.
    Of course, your object type can have VARCHAR2 attributes, but not VARCHAR2(40000) since the maximum for VARCHAR2 is 4000. It can be a CLOB attribute, in which case the message can be up to 4 gigabytes.

  • Data synchronization between apps using Advanced Queueing

    Dear you,
    I'm quite new to Oracle Advanced Queueing and looking at this for using now.
    I want to integrate our system (name A, Web application with Java technology, deployed on Ora AS 10g, using Oracle database) with an outside system (named B, .NET technology, using Sybase database) using Oracle Advanced Queuing.
    Could you please suggest the interfaces for both system A & B to access Advanced Queuing? What is the best to use: Java, JMS or HTTP/HTTPS/SMTP?
    Many thanks,
    K.N

    So we are talking EPMA Data Synchronization here.
    Are you able to limit decimal precision?
    The number provided in the error message is not negative -- can you please provide more details?
    Thank you,
    Todd Rebner

  • Sample Message Driven Bean using Oracle Advance Queuing

    Hi,
    Can someone please provide me with sample MDB using Oracle Advance Queuing to Enqueue & Dequeue messages?
    Thanks

    Write your email Id .....I have got a test case which basically enqueus and dequeues the messages using Oracle9i AQ..
    --Venky                                                                                                                                                                                                                                                                   

  • EBS R12.1 with Oracle Advance Security option  - is it certified ?

    Hi,
    Environment details are below:
    EBS R12.1.1
    Oracle database version is 10g R2 (10.2.0.4) .
    OS is Solaris 10
    We are looking for an option of implementing Oracle advanced security option (ASO) .But want to know if its certified with EBS R12.1.1 / 10g R2 database.
    I checked few links but I'm not clear if its certified.
    http://blogs.oracle.com/stevenChan/2008/07/10gr2_10204_certified_with_apps_11i.html
    from the above link i understand its certified on 11i (11.5.10 CU2 only)
    <<Advanced Security Option / Advanced Networking Option (ASO / ANO) (11.5.10.CU2 only)>>
    Dees anyone know about this certification. If you have any pointers please let me know.
    Thanks for your time.
    Note : ASO is certified with 11g database. 11gR1 but I'm looking for 10g R2 (10.2.0.4)
    http://blogs.oracle.com/mt/mt-search.cgi?blog_id=101&tag=EBS%2012&limit=20
    Cheers,
    sbs
    Edited by: sbs on Oct 14, 2009 5:23 PM

    Hi,
    Please see this link.
    10gR2 10.2.0.4 Database Certified with Apps 12
    http://blogs.oracle.com/stevenChan/2008/08/10gr2_10204_database_certified_with_apps_12.html
    Regards,
    Hussein

  • Oracle 10g OLAP option

    Hi all
    Do we support creating a universe against an Oracle 10g OLAP database and how do we do this to report against OLAP data?
    I notice that there isn't an OLAP universe option for this, so I presume that if we can then we do this via OLAP SQL expressions?
    Thank you for your help and kind regards,
    Deam

    Hi,
    You are right, we are supporting Oracle OLAP 10g using SQL.
    In fact we provide an option in Universe Designer where you can automatically create an Oracle view based on an AW (Analytical Workspace) and then generate the universe:<ul><li>Select "Metadata exchange" menu option from "File" menu
    <li>Then select "Oracle OLAP 9i/10G/11g" option
    </ul>You can therefore customize the universe by adding objects, filters, measures, etc.
    You can also add other tables in the scema in order to provide drill-though capabilities.
    Regards,
    Didier

  • Oracle Advanced Security in Developer Forms 10g (10.1.2.)

    Hi everybody,
    I have installed Oracle RDBMS 10g v.2 (10.2.0) and Developer Suite 10g (v 10.1.2) on XP platform on the same machine.
    I want to configure encryption and SSL authentication (Oracle Advanced Security) using Oracle Net Manager of Developer Suite as I have done before on Oracle Net Manager of Oracle Database Server and Oracle Client 10g as well....
    The problem is that there is no such a selection in Oracle Net Manager and i'm wondering if there is the capability to install and configure Oracle Advanced Security in Developer Suite 10.1.2..
    Is there Developer Suite 10.2. downloadable from OTN....????
    Thanks , for your interest...
    Simon

    I believe they need to be in separate folders.
    I extracted them into separate folders, then ran setup.exe from disk 1. It will ask you for the location of disk 2, enter that path and away it went.

  • Oracle AQ, the Advanced Queueing Facility

    Hi all,
    Does someone have first hand experience using
    Oracle AQ, the Advanced Queueing Facility?
    I am primarily interested in understanding its reliability, usability and general industry acceptance.
    thx
    Kalpana Subramanian

    DBMS_XMLQUERY and DBMS_XMLSAVE are implemented in Java. Neither are part of XQuery. However XQuery does require the java componant since the XQuery parser is currently written in Java. So while we can execute XQuery without Java we currently cannot parse XQuery statements without Java.
    DBMS_XMLGEN and DBMS_XMLSTORE should be present in XE. They are almost 100% feature equivilant to XMLQUERY and XMLSAVE but are implemented in 'C' rather than java. For XML Generation (XMLQUERY/XMLGEN) you should also consider the SQL/XML operators (XMLElement, XMLAgg, XMLForest, XMLAttributes).

  • Oracle Advanced Networking Option with Linux

    I want to set up a linux client that works with an Solaris based Oracle 8i EE server using an encrypted connection.
    I have successfully done this with NT clients. However the Linux client responds an "ORA-12657: No algorithms installed"
    Isn't Oracles Advanced Networking Option available for Linux?
    If it is, how do I install it?
    Martin
    null

    Check to see if ANO is linked in with SQL*Plus by running the following:
    cd to oracle_home/bin
    adapters sqlplus
    If after running the adapters command and ANO does not show as being linked in,
    perform the following:
    1. Change directorys to oracle home/sqlplus/lib
    2. Run the following unix command to relink SQL*Plus:
    make -F ins_sqlplus.mk install
    3. Change to oracle home/bin directory.
    4. Re-run "adapters sqlplus" to verify that ANO is now linked in.

  • Can you setup Advanced queueing between 2 databases using SQL*net connection

    Hi experts,
    Is it possible to setup AD between 2 databases without using DBlink? I know we can use Java program to do that. Unfortunately, I have no experience in Java.
    Our version databases is 10g
    Thanks in advance
    Hieu

    Following are the different options available.
    Interfaces to Advanced Queuing
    You can access Advanced Queuing functionality through the following interfaces:
    PL/SQL using DBMS_AQ, DBMS_AQADM,andDBMS_AQELM. Refer to the Oracle9i Supplied PL/SQL Packages and Types Reference.
    Visual Basic using Oracle Objects for OLE. Refer to the Online Help for Oracle Objects for OLE.
    Java using the oracle.AQ Java package. Refer to the Oracle9i Supplied Java Packages Reference.
    Java Message Service (JMS) using the oracle.jms Java package. Refer to the Oracle9i Supplied Java Packages Reference.
    Internet access using HTTP, HTTPS, and SMTP
    For java references you can refer to below URL
    http://docs.oracle.com/cd/B10500_01/appdev.920/a96609/arj_aq.htm#1005399
    I believe no one will provide you fully written code here. You can get help from this forum,

  • Dequeue Option and Enqueue Option

    Hello all,
    Am sure this is gonna be the most trivial for everyone here. Am very new to Advanced Queueing, and i have the problem as listed here below.
    1. I have problems when i try to enqueue a message while the queue is empty.
    I have tried with the default EnqueueOptions and also with
    enq_option = new AQEnqueueOption(AQEnqueueOption.VISIBILITY_IMMEDIATE,b_array,AQEnqueueOption.DEVIATION_TOP);
    But the message is not available in the queue though there is no exception thrown.
    2. When i Dequeue with a wait-time set as a non zero value, and try to read the queue elements, it goes around in loops... the queue elements are read again from the start when it reaches the end. How can this be prevented? I want to read the elements of the queue once from start to end, and then stop with it.
    This was the property of the dequeueoptions i have set.
    deq_Option = new AQDequeueOption();
    deq_Option.setDequeueMode(AQDequeueOption.DEQUEUE_BROWSE);
    deq_Option.setNavigationMode(AQDequeueOption.NAVIGATION_NEXT_MESSAGE);
    deq_Option.setWaitTime(5);
    Would be much obliged for all hte help.
    Thanks
    Usha Ranganathan

    Hi Usha,
    1. With the default enqueue options, you would need to issue a commit in order for the messages to be visible.
    With 'visibility_immediate' Can you please try without specifying 'deviation_top'.
    2. Since you have the dequeue mode set to BROWSE and a non zero wait time, it is expected to loop through the messages when it reaches the end. Please change the dequeue mode to REMOVE or set zero wait time.

  • No suitable driver for mysql in oracle application  server  portal 10g

    Hi all
    i want to run my portlet with mysql4.1 database from "oracle application server portal 10g".
    i did all configuration in data source and also i kept mysql connector jar file into all oraclehome/jdbc/jlib folder.
    Mysql
    General
    Name :: helloMysql(jndiname)
    Description :: helloMysql
    Data Source Class :: com.mysql.jdbc.jdbc2.optional.MysqlXADataSource
    JDBC URL :: jdbc:mysql://localhost:3306/database?relaxAutoCommit=true
    JDBC Driver :: com.mysql.jdbc.driver
    Datasource Username and Password
    Username------------>(user name)
    password-------------->(password)
    JNDI Locations
    Location== jdbc/helloMysql
    jdbc/blogOracle== jdbc/XA/helloMysql
    EJB Location == jdbc/XA/helloMysql
    Connection Attributes
    Connection Retry Interval (seconds)====1
    Max Connection Attempts===empty
    Cached Connection Inactivity Timeout (seconds)===30
    remaing all are empty
    when i run the portlet, then i am getting "No suitable driver" in my portal page.
    i want check server console or server log for oracle application server portal.
    please help ,where to find server log?
    Any suggestions or help from your side.
    Thanks in advance.
    Raju

    I think you're trying to connect to a database in a diferent host than the Web Server.
    This is possible in applcations, but not in applets, who only can open TCP connections to the same machine who served the page.
    To do that, yo should use a Data Gateway to establish the connections (IDSServer, and so on). I think that installing Oracle's Connection Manager in the same machine than the Web, it would run.
    null

Maybe you are looking for