Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: how to notify when dbms_job completes?
begin
create_indexes_in_parallel;
collect_statistics;
end;
/
Raj
-----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
- text/plain attachment: ESPN_Disclaimer.txt