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).

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

  • Problems with Advanced Queueing...

    Hi,
    Has anyone used AQ through OCI?
    We are having problems with OCISubscriptionRegister() the error reported back is 'two task conversions - overflow integer'. The code we are running is straight out of the published demos...
    Please HELP!!
    Thanks,
    Darryl Schallig

    There are discussion on this in the Advanced Queueing forum.

  • 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

  • How to setup the Advance payment in Oracle Payroll

    Dear Friends,
    Can any one pls let me Know,How to setup the Advance payment in Oracle Payroll.. Pls ..
    with regards
    Veeru

    GLOBAL HRMS , XX_legislation
    Plz help

  • Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?

    Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?
    We are not licensed for the Oracle Advanced Security Option and I have been tasked to use Oracle Network Data Encryption in order to encryption network traffic between Oracle instances that reside on remote servers. From what I have read and my prior understanding this is not possible without ASO. Can someone confirm or disprove my research, thanks.

    Hi, Srini Chavali-Oracle
    As for http://www.oracle.com/technetwork/database/options/advanced-security/advanced-security-ds-12c-1898873.pdf?ssSourceSiteId… ASO is mentioned as TDE and Redacting Sensitive Data to Display. Network encryption is excluded.
    As for Network Encryption - Oracle FAQ (of course this is not Oracle official) "Since June 2013, Net Encryption is now licensed with Oracle Enterprise Edition and doesn't require Oracle Advanced Security Option." Could you clarify this? Thanks.

  • 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.

  • Advanced Queueing and SQL in same transaction?

    Can Advanced Queueing operations and SQL operations be combined in one atomic transaction? I can't find any reference to this in the Oracle AQ documentation and none of the examples show this. In my application I'm having problems that seem like deadlock when I do combine AQ and SQL in the same transaction. However, when I place them in seperate transactions it works.
    null

    I am also looking for some examples of using SQL/PLSQL w/Advanced Queueing. We currently have the following scenario: One server has non-relational tables; another server has relational tables which house the same data in a relational format. We are looking for a way to migrate the non-relational data to the relational tables and keep the data updated when it changes in the non-relational tables.
    We had considered using materialized views, but, this was ruled out because the non-relational tables are created and dropped on a daily basis.
    My email: [email protected]
    Thanks for any input you may have!

  • Advanced Queueing and databases synchronization

    What kind of (application) problems could be solved by Advanced Queueing ?
    What about databases synchronization ( two Oracle Database Standard Edition One ) ?
    TANK YOU !

    AQ is intended for messaging. Messaging between applications, messaging between back-end and front-end.
    Synchronization would be a poor use of messaging. If you want synchronization then name your version number (all four places) and replication technology and we can point you in the right direction.
    For most situations I use:
    DBMS_RECTIFIER_DIFF or DBMS_COMPARISON
    http://www.morganslibrary.org/library.html

  • 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

  • Deadlock using Advanced Queueing and OC4J

    We develop an application which extensively uses JMS. We use Advanced Queueing as JMS provider (Oracle9i 9.2.0.3.0 and OC4J 9.0.3). In our application we have message driven bean which listens on cerain queue and can send messages to other queues/topics as a result of processing received message. In this scenario we sometimes get a java-level deadlock.
    An example of such deadlock is here (taken from thread dump, jvm is sun 1.4.1_01):
    Found one Java-level deadlock:
    =============================
    "TaskManager":
    waiting to lock monitor 0x8ff45c (object 0x39db898, a oracle.jdbc.driver.OracleCallableStatement),
    which is held by "ApplicationServerThread-1"
    "ApplicationServerThread-1":
    waiting to lock monitor 0x8ff43c (object 0x39e4de8, a oracle.jdbc.driver.OracleConnection),
    which is held by "TaskManager"
    Java stack information for the threads listed above:
    ===================================================
    "TaskManager":
    at oracle.jdbc.driver.OracleCallableStatement.close(OracleCallableStatement.java:980)
    - waiting to lock <039DB898> (a oracle.jdbc.driver.OracleCallableStatement)
    - locked <039E4DE8> (a oracle.jdbc.driver.OracleConnection)
    at oracle.jdbc.driver.OracleConnection.close_statements(OracleConnection.java:2333)
    - locked <039E4DE8> (a oracle.jdbc.driver.OracleConnection)
    at oracle.jdbc.driver.OracleConnection.close(OracleConnection.java:1412)
    - locked <039E4DE8> (a oracle.jdbc.driver.OracleConnection)
    at com.evermind.sql.DriverManagerPooledConnection.close(DriverManagerPooledConnection.java:247)
    - locked <039DC320> (a com.evermind.sql.DriverManagerPooledConnection)
    at com.evermind.sql.OrionPooledDataSource.removeCache(OrionPooledDataSource.java:559)
    - locked <08A67AF0> (a com.evermind.sql.OrionPooledDataSource)
    at com.evermind.sql.OrionPooledDataSource.run(OrionPooledDataSource.java:505)
    at com.evermind.sql.DriverManagerXADataSource.run(DriverManagerXADataSource.java:195)
    at com.evermind.util.TaskManager.run(TaskManager.java:181)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
    at java.lang.Thread.run(Thread.java:536)
    "ApplicationServerThread-1":
    at oracle.jdbc.driver.OracleConnection.getDescriptor(OracleConnection.java:2549)
    - waiting to lock <039E4DE8> (a oracle.jdbc.driver.OracleConnection)
    at oracle.sql.StructDescriptor.createDescriptor(StructDescriptor.java:132)
    at oracle.jpub.runtime.MutableStruct.toDatum(MutableStruct.java:128)
    at oracle.jms.AQjmsObjectMessage_C.toDatum(AQjmsObjectMessage_C.java:45)
    at oracle.jdbc.driver.OraclePreparedStatement.setORAData(OraclePreparedStatement.java:2700)
    - locked <039DB898> (a oracle.jdbc.driver.OracleCallableStatement)
    at com.evermind.sql.OrclCallableStatement.setORAData(OrclCallableStatement.java:732)
    at oracle.jms.AQjmsProducer.enqueue(AQjmsProducer.java:837)
    - locked <091DBC40> (a oracle.jms.AQjmsProducer)
    at oracle.jms.AQjmsProducer.publish(AQjmsProducer.java:1366)
    - locked <091DBC40> (a oracle.jms.AQjmsProducer)
    at oracle.jms.AQjmsProducer.publish(AQjmsProducer.java:1216)
    - locked <091DBC40> (a oracle.jms.AQjmsProducer)
    at com.abilitydev.slovalco.jms.dispatcher.alarm.AlarmMessageDispatcher.dispatchMessage(AlarmMessageDispatcher.java:229)
    at com.abilitydev.slovalco.jms.dispatcher.DispatcherWrapper.dispatchMessage(DispatcherWrapper.java:51)
    at com.abilitydev.slovalco.jms.dispatcher.DispatcherWrapper.dispatchMessage(DispatcherWrapper.java:49)
    at com.abilitydev.slovalco.jms.dispatcher.DispatcherWrapper.dispatchMessage(DispatcherWrapper.java:49)
    at com.abilitydev.slovalco.jms.dispatcher.DispatcherWrapper.dispatchMessage(DispatcherWrapper.java:49)
    at com.abilitydev.slovalco.jms.handlers.PotDataHandler.handleMessage(PotDataHandler.java:40)
    at com.abilitydev.slovalco.jms.ObjectMessageBean.onMessage(ObjectMessageBean.java:95)
    at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:141)
    at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:769)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:929)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
    at java.lang.Thread.run(Thread.java:536)
    Any suggestions?
    Thanks, Marcel

    Marcel --
    This sounds like something that you'd want to pursue with the Oracle support folks.
    Is it possible for you to test the application using the OC4J 904 Developer Preview and see if the problem reproduces?
    btw -- are you using a tool to pull the information from the thread-dump? I noticed the line "Found one Java-level deadlock:" which looks like output from a tool. Just interested that's all.
    cheers
    -steve-

  • Start up Advanced Queueing

    Hi,
    I would like to know the setup which needs to be made with the DB in order to enable advanced queueing.
    Also, I would like to have a nice material (easy to understand) on Advanced queuing.
    Also I would like to know how the Oracle Message Gateway works and how it works in tandem with AQ.
    Thanks and Regards,

    Can anybody email me these sql scripts to my email?
    My email id is [email protected]
    aqdemo00.sql Create users, message types, and tables
    aqdemo01.sql Create queue tables, queues, subscribers, and propagation schedule
    aqdemo02.sql Enqueue messages into input queue
    aqdemo03.sql Install dequeue procedures
    aqdemo04.sql Perform blocking dequeues
    aqdemo05.sql Perform listen for multiple agents
    aqdemo06.sql Clean up users, queue tables, queues, and subscribers in aqdemo00.sql to aqdemo05.sql
    aqdemo07.sql Enqueue and dequeue to XMLType queue using XPATH expressions
    aqdemo08.sql Demonstrates server-to-server email notifications with default XML presentation
    aqdemo09.sql Set up queues and subscribers for array enqueue and dequeue (for OCI array demos also)
    aqdemo10.sql Array enqueue 10 messages
    aqdemo11.sql Array dequeue 10 messages
    aqdemo12.sql Clean up queues and subscribers for array enqueue and dequeue (for OCI array demos also)

  • No Groups have been registered for the Advance Test

    Hi,
    When I run the Diagnostic Tool and select Application, then it say "No Groups have been registered for the Advance Test". Though it shows number of test available for that application for ex. 4, 15. Please help me.
    Regards,

    One more note which should be helpful:
    Note: 235307.1 - eBusiness Support Diagnostics FAQ and Troubleshooting Guide
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=235307.1

  • How can you permanently add a new field to the Advanced User Search?

    We have a number of USR UDF attributes that need to be used in the Advanced Search: Users window. These will be used very often so we would rather not require our Admins to have to select the Add Fields button, scroll down to the attribute they want, then enter the value to search on. We would much rather modify that Advanced Search screen such that the custom attributes we want to search on are listed permanently on that screen. I think there is a way to configure this but I just can't seem to find it.
    Any help would be much appreciated.
    Thank you.
    -Dave Herrmann

    The first suggestion here, http://docs.oracle.com/cd/E21764_01/doc.1111/e14308/conf_mangmnt.htm#CHDIEFGD, only allows me to add the UDF attribute to the Add Fields drop down list. It doesn't put the attribute on the screen by default. I was trying to avoid having our Admins select that attriubute from the Add Fields drop down list since they will be searching on this attribute pretty much all the time.
    The second suggestion was to open up one of the OIM jar files and modify an xml file and then zip it back up. This will be overwritten on each OIM Bundle Patch so I really don't tlhink we can use that approach.
    So, this is it? What I'm trying to do can't be done through a standard lookup change or something?
    -Dave
    Edited by: user552098 on May 2, 2012 8:39 AM
    Edited by: user552098 on May 2, 2012 8:40 AM

Maybe you are looking for