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: how to notify when dbms_job completes?

RE: how to notify when dbms_job completes?

From: Jamadagni, Rajendra <Rajendra.Jamadagni_at_espn.com>
Date: Tue, 13 May 2003 12:11:57 -0800
Message-ID: <F001.00597F7C.20030513121157@fatcity.com>


begin
  create_indexes_in_parallel;
  collect_statistics;
end;
/

Raj




Rajendra dot Jamadagni at nospamespn dot com All Views expressed in this email are strictly personal. QOTD: Any clod can have facts, having an opinion is an art !

-----Original Message-----
Sent: Tuesday, May 13, 2003 12:12 PM
To: Multiple recipients of list ORACLE-L

I want to create indices in parallel so I want to use dbms_job. then when that is complete I want to analyze the table.

I thought about using dbms_lock and a pl/sql table, but this is inefficient and wastes CPUs because there is no 'lock monitor' like the wait,notify,synchronize in java and POSIX pthreads, so I have to keep looping and checking the pl/sql table.

any better way?


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jamadagni, Rajendra
  INET: Rajendra.Jamadagni_at_espn.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 Tue May 13 2003 - 15:11:57 CDT

Original text of this message

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