Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: question about AQ
Cole ,
you can have as many consumers processes as you want to make your app
scalable .
-ak
> 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!
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Cole Zhai
> INET: cole_zhai_at_yahoo.com
>
> 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).
>
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: AK INET: oramagic_at_hotmail.com 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 - 10:56:40 CDT
![]() |
![]() |