Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> question about AQ
Hello,List
There're two question about AQ.My local queue have one
enqueue and one dequeue process runing on same
machine.My DB server have 4 CPUs.
First question:how can I enable parallel dequeue
processes?Just start another dequeue process?
I'm now using dbms_job to start a dequeue process:
SQL>exec dbms_job.submit(:jobnum,'p_dequeue;');
If I want to enable two parallel dequeue processes,just execute it again,right?
Second question:What's the best way to stop the background dequeue processes? I'm now using a signal table.Before every loop the dequeue procedure check the signal value to determine if it should stop.
Thanks advance!
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Apr 30 2003 - 04:41:44 CDT