oracle-aq

How to clear a queue in Oracle AQ

a 夏天 提交于 2019-12-03 04:48:36
I've been testing Oracle AQ for the first time. I have managed to create 2000 rows of test inserts into the queue I created. Now, I'd like to clear those out. As I was teaching myself, I set the expiry time to be a month. I can't wait that long. And I don't think I should just delete them from the queue table. What's the best way to do this? erbsock You can use the DBMS_aqadm.purge_queue_table procedure. SOLUTION The SQL looks something like this : -- purge queue DECLARE po_t dbms_aqadm.aq$_purge_options_t; BEGIN dbms_aqadm.purge_queue_table('MY_QUEUE_TABLE', NULL, po_t); END; JOTN Just do a

Where to get Oracle jar files for 11.2.0.3 - xdb, aq, i18n, xmlparser

邮差的信 提交于 2019-12-01 16:58:37
I'm trying to update a legacy Java application to be compatible with Oracle 11g version 11.2.0.3. The application was running on Oracle 10g version 10.2.0.4 and uses Oracle Advanced Queues. It has Maven dependencies declared for: aq 10.2.0.4.0 xdb 10.2.0.4.0 xmlparser 10.2.0.4.0 i18n 10.2.0.4.0 I'm struggling to find the same files for 11g, specifically for 11.2.0.3. I've looked around in various places such as my Oracle home directory, JDeveloper installation and online, and found a bewildering variety of jar files of various names and versions that are candidates but not quite what I need.

Where to get Oracle jar files for 11.2.0.3 - xdb, aq, i18n, xmlparser

爱⌒轻易说出口 提交于 2019-12-01 15:57:33
问题 I'm trying to update a legacy Java application to be compatible with Oracle 11g version 11.2.0.3. The application was running on Oracle 10g version 10.2.0.4 and uses Oracle Advanced Queues. It has Maven dependencies declared for: aq 10.2.0.4.0 xdb 10.2.0.4.0 xmlparser 10.2.0.4.0 i18n 10.2.0.4.0 I'm struggling to find the same files for 11g, specifically for 11.2.0.3. I've looked around in various places such as my Oracle home directory, JDeveloper installation and online, and found a

Oracle Advance Queue - Dequeue not working

*爱你&永不变心* 提交于 2019-11-30 14:42:11
I can't seem to find the solution to my problem, I've been stuck at this for hours. I'm usings Oracle AQs: Dbms_Aqadm.Create_Queue_Table(Queue_Table => 'ITEM_EVENT_QT', Queue_Payload_Type => 'ITEM_EVENT', Multiple_Consumers => TRUE); Dbms_Aqadm.Create_Queue(Queue_Name => 'ITEM_EVENT_QUEUE', Queue_Table => 'ITEM_EVENT_QT', Max_Retries => 5, Retry_Delay => 0, Retention_Time => 432000, -- 5 DAYS Dependency_Tracking => FALSE, COMMENT => 'Item Event Queue'); -- START THE QUEUE Dbms_Aqadm.Start_Queue('ITEM_EVENT_QUEUE'); -- GRANT QUEUE PRIVILEGES Dbms_Aqadm.Grant_Queue_Privilege(Privilege => 'ALL',