Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Asynchronous Procedure Calls

Re: Asynchronous Procedure Calls

From: Scott Canaan <srcdco_at_ritvax.rit.edu>
Date: Mon, 01 Jul 2002 13:38:31 -0800
Message-ID: <F001.0048D4DC.20020701133831@fatcity.com>


That is true, I have figured it out. dbms_job will allow the asynchronous execution of procedures and dbms_pipe allows the communication between the processes to occur. It works. I'm doing it now. The jobs are being kicked off in groups of 10 and they are sending a message back to the calling program via pipes. Each job has it's own pipe, so the main program can keep track of who is done. Currently, I am waiting for all 10 to complete before starting the next 10, but I may work on a way to start the eleventh job when the first one finishes. I'm just glad that I got something to work.

Thank you for your help.

Jared.Still_at_radisys.com wrote:

> DBMS_JOB will not solve the problem of
> async communications.
>
> Jared
>
> "Khedr, Waleed" <Waleed.Khedr_at_FMR.COM>
> Sent by: root_at_fatcity.com
> 07/01/2002 12:23 PM
> Please respond to ORACLE-L
>
>
> To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
> cc:
> Subject: RE: Asynchronous Procedure Calls
>
> You need dbms_job(s)
> Also make sure you have enough background job processes to handle the
> expected maximum number of concurrent procedure calls.
>
> Regards,
>
> Waleed
>
> -----Original Message-----
> Sent: Monday, July 01, 2002 2:20 PM
> To: Multiple recipients of list ORACLE-L
>
> Advanced Queuing will do what you need.
>
> There are examples at otn.oracle.com
>
> Jared
>
> Scott Canaan <srcdco_at_ritvax.rit.edu>
> Sent by: root_at_fatcity.com
> 06/28/2002 01:23 PM
> Please respond to ORACLE-L
>
>
> To: Multiple recipients of list ORACLE-L
> <ORACLE-L_at_fatcity.com>
> cc:
> Subject: Asynchronous Procedure Calls
>
> I have a need to call a procedure repeatedly and asynchronously. I
> am using dbms_pipe for the communication between the calling procedure
> and the called procedure and that seems to be working. What I want to
> do is call the procedure multiple times, asynchronously, from the main
> procedure. The problem is that Oracle waits for each call to complete
> before continuing processing. Is there any way to do this in PL/SQL?
> My environment is: Oracle 8.1.7.0.0, Sun Solaris 2.8. I need to do
> this in PL/SQL because it has to run through Oracle Warehouse Builder.
>
> Thank you.
>
> --
> Scott Canaan (srcdco_at_rit.edu)
> (585) 475-7886
> "Life is like a sewer, what you get out of it depends on what you put
> into it" - Tom Lehrer
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Scott Canaan
> INET: srcdco_at_ritvax.rit.edu
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> 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.com
> --
> Author:
> INET: Jared.Still_at_radisys.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> 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.com
> --
> Author: Khedr, Waleed
> INET: Waleed.Khedr_at_FMR.COM
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> 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.com
> --
> Author:
> INET: Jared.Still_at_radisys.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> 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).

--
Scott Canaan (srcdco_at_rit.edu)
(585) 475-7886
"Life is like a sewer, what you get out of it depends on what you put into it"
- Tom Lehrer


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Scott Canaan
  INET: srcdco_at_ritvax.rit.edu

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Mon Jul 01 2002 - 16:38:31 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US