Enable Oracle dbms scheduled jobs
Hi Gurus,
I need to enable a set of dbms jobs which got transferred as a result of exporting a 9i database and importing to 11g database.
They were running as scheduled jobs in old legacy database.
I can see them in SQL Developer under DBMS jobs but don't know how to enable them
Please help. My current Oracle version is 11g.
Thanks
Amitava.
amitavachatterjee1975 wrote:
Hi Gurus,
I need to enable a set of dbms jobs which got transferred as a result of exporting a 9i database and importing to 11g database.
They were running as scheduled jobs in old legacy database.
I can see them in SQL Developer under DBMS jobs but don't know how to enable them
Please help. My current Oracle version is 11g.
Thanks
Amitava.
post SQL & results which show any of the jobs actually got transferred.
post SQL & results that show they are not scheduled or running now.
Similar Messages
-
DBMS scheduler jobs running twice
Hi,
I have 4 DBMS scheduler jobs , which checks for a specific job status in DB and sends an email , when i started the schedule for the first week the jobs executed fine from next week I am getting two emails from each job , when i check the logs USER_SCHEDULER_JOB_RUN_DETAILS I see only one run , which seems weird to me so i disabled one job and left the three jobs in schedule , next time i got two emails from 3 jobs and one from disabled job . After checking logs i see that there is no entry of the disabled job execution . I am not sure where is the problem i can't find any log from where the disabled job executing. Please help me
Job schedule is to run every Saturday
Interval setup :
start_date => trunc(SYSDATE)+ 8.5/24,
repeat_interval => 'TRUNC(LEAST(NEXT_DAY(SYSDATE,''SATURDAY'') )) + 8.5/24'
SureshHi,
I tried to schedule the same jobs using DBMS_JOB but i still get the same problem , I created the procedure with all code in and scheduled it using dbms job , first day it run once second day it run twice ( sending two emails) Inow i am not sure if issue is with my code or scheduler
Procedure
Declare
v_count number;
v_Recipient VARCHAR2(400) := '[email protected]';
v_Subject VARCHAR2(80) := 'TEST_Email';
v_Mail_Host VARCHAR2(30) := 'localhost';
v_Mail_Conn utl_smtp.Connection;
crlf VARCHAR2(2) := chr(13)||chr(10);
BEGIN
select count(*) into v_count from TEC_CODERETURN@RPRD where interface like 'FOR002B' and trunc(rundate) =trunc(sysdate);
if v_count = 0
then
v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
utl_smtp.Rcpt(v_Mail_Conn, '[email protected]');
UTL_SMTP.OPEN_DATA(v_Mail_Conn);
utl_smtp.WRITE_RAW_DATA(v_Mail_Conn, UTL_RAW.CAST_TO_RAW(
'Date: ' || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || UTL_TCP.CRLF ||
'From: ' || '[email protected]' || UTL_TCP.CRLF ||
'Subject: '|| v_Subject || UTL_TCP.CRLF ||
'To: ' || v_Recipient || UTL_TCP.CRLF ||
'This is a test Alert'|| UTL_TCP.CRLF
UTL_SMTP.CLOSE_DATA(v_mail_conn);
utl_smtp.Quit(v_mail_conn);
end if;
EXCEPTION
WHEN utl_smtp.Transient_Error OR utl_smtp.Permanent_Error then
raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
END;
DBMS job creation
DECLARE
jobno NUMBER;
BEGIN
DBMS_JOB.submit
(job => jobno,
what => 'TEST_ALERT;',
next_date => trunc(sysdate)+0.1/24,
interval => 'SYSDATE + 1',
no_parse => TRUE );
DBMS_OUTPUT.put_line ('Created Job - the job number is:' || TO_CHAR (jobno));
COMMIT;
END;
Suresh -
DBMS SCHEDULER: Job of type 'Chain' is failing
Hi,
I am using Oracle 10gR2 version. The job created on top of chain is failing for some reason. I couldn't trace the exact error. Please help me in debugging this as I am new to using dbms scheduler.
--Script I have used to create a chain
BEGIN
DBMS_SCHEDULER.create_chain (
chain_name => 'DAILY_JOB_CHAIN',
rule_set_name => NULL,
evaluation_interval => interval '5' minute ,
comments => 'Chain to run the daily jobs');
END;
--Script used to create a job and start it immediately.
BEGIN
DBMS_SCHEDULER.CREATE_JOB (
job_name => 'daily_job_rerun',
job_type => 'CHAIN',
job_action => 'daily_job_chain',
start_date => SYSTIMESTAMP,
auto_drop => true,
enabled => TRUE);
END;
Soon after I ran the create_job procedure, the job has started immediately but is failing immediately without starting the chain. I have checked the USER_SCHEDULER_JOB_LOG table for errors. This is what is stored in the table.
LOG_ID JOB_NAME OPERATION STATUS ADDITIONAL_INFO
144835 DAILY_JOB_RERUN CHAIN_RUN FAILED CHAIN_LOG_ID="144834"
144834 DAILY_JOB_RERUN CHAIN_START RUNNING
Please help.
Edited by: user10626493 on Oct 22, 2009 11:45 PMChain rule for one of the chain steps has been changed and hence the job failed. After correcting the chain rule, the job has started fine.
-
INSERT in PLSQL loop in Oracle 9i scheduled job has poor performance
Hi,
I have a scheduled job running in Oracle 9i. But everytime it executes the following piece of code, the INSERT process slows down drastically.
-------------------------------typical piece of code having problem-----------------------------------
LOOP
FOR increbkgs IN bookings_cur (in_chr_fiscal_period_id,
allrec.cust_name_string
LOOP
l_num_rec_count := l_num_rec_count + 1;
INSERT INTO SA_PORTAL_CDW_BOOKINGS_INCTEMP
(product_id, territory_code,
global_target_id, service_type,
equipment_deployment, created_date, updated_date,
fiscal_period_id, customer_id,
ship_to_country,
bookings_amount, sams_alliance_id
VALUES (increbkgs.product_id, increbkgs.territory_code,
increbkgs.global_target_id, increbkgs.service_type,
increbkgs.equipment_deployment, SYSDATE, SYSDATE,
increbkgs.fiscal_period_id, increbkgs.customer_id,
increbkgs.ship_to_country,
increbkgs.bookings_amount, allrec.sams_alliance_id
IF (l_num_rec_count = 500)
THEN
l_num_rec_count := 0;
COMMIT;
END IF;
END LOOP;
END LOOP;
All the tablespaces are auto-extend. But we have still tried to increase the tablespace manually from 2% to 30% by adding datafiles. Still the INSERT is slowing down for some reason.
(The same process in Oracle 8i is much faster)
Any hint or guidance is greatly appreciated.
Thanks and regards,
Ambilicommits in loops are great for slowing down things. Actually commits in loops are just about the best way of stalling any 'process' in Oracle.
A much better way is to resize your undo tablespace to permit one single commit at the end of the whole thing. Yes it could be big, but that's the way Oracle works.
If you want more info about this, buy Thomas Kyte's book found at http://apress.com/book/bookDisplay.html?bID=10008 -
Enabling Recovery and scheduled jobs
We have a job that is scheduled to run every three hours and we have it set up to enable recovery. The job has about 10 dataflows in it. If the job fails and is not corrected should the next run of it in three hours pick up from the point it failed or would it start at the beginning? It appears to be starting again at the beginning.
In some cases the job is not actually failing (i.e. no red X) but we get a warning even though the trace log message is "Process terminated because its parent had died.". There is no error log but the job does stop. I am wondering if because the system does not see it as an error the next run would just start new vs recovering.Arun - We tried the following test.
A test job has 3 data flows in which 2nd Data Flow does not work as it has authorization issue .
Scheduled a test job where work flows are normal(No recovery unit set) and execution parameter ‘Enable Recovery’ was set . Scheduled the job to repeat every 7 minutes.
First run as per the Schedule ,failed due to 2nd data flow issue.
Second run as per the schedule (2nd Data flow was corrected), Recovered, and started from the failed step that is 2nddata flow.
Third run and Fourth Run as per the Schedule (7 and 14 minutes later) but no dataflows were executed.
It looks like it uses the recovery information from the 2nd run (which completed the first run successfully) and then ran nothing. I would have expected that the job would have run from the first dataflow since the prior job had completed succesfully.
Any thoughts on how we can set this up in an automated fashion so that if a run is recovered and completes successfully the next run will start from the beginning? -
Oracle Grid Scheduled jobs disappear from active tab?
Thread was posted before as a similar situation.
Grid Control jobs disappeared from schedule
But was never answered;
For Grid control v10.2.0.3 Unix box.
I was wondering if this is a bug within OGC. Some of the scheduled jobs disappear from the active tab and have to be re-submitted. Does anyone or has anyone experienced this? Agents are in synch, and the only thing that was done was a bounce of the database and possibly the box itself.
Thanks,
Mark S.Hi,
I have upgraded Discoverer 4i EUL to 10g EUL by using auto upgrade utility which comes with the Disocverer 10.1.2 and installed the Discoverer 10g Admin Edition on my PC. And I executed the batchusr_app.sql and assigned a user DISCREP(other than APPS). We are in APPS mode EUL. The script execution completed fine and the EUL5 packages were created under the DISCREP owner. When I log into the Discoverer Admin and select Tools/Privileges and at the point of assigning the result tables to a schema which is DISCREP, I am getting a message saying that 'EUL5_BATCH_REPOSITORY' package is wrong version and batchusr.sql script needs to be run. I ran the batchusr.sql script and when tried to assign the schema to own result tables it gave me the same message.
Any ideas. You may have gone through this during your upgrades or installation.
Thanks,
Sabbani -
Hi,
I have created a dbms job as shown below for export backup, It was running fine on 10g. Recently I upgraded my database to 11g. since then that job is failing. Below is the error i am receiving while executing the job via toad as it is not getting triggered on time. If any 1 faced such issue kidly suggest.
BEGIN
SYS.DBMS_SCHEDULER.RUN_JOB
(job_name => 'SYS.EXPORT_DATAPUMP_JOB1'
,use_current_session => TRUE);
END;
Error at line 2
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
ORA-06512: at "SYS.DBMS_ISCHED", line 185
ORA-06512: at "SYS.DBMS_SCHEDULER", line 486
ORA-06512: at line 2Hi,
Please find the output
SQL> SELECT additional_info FROM DBA_SCHEDULER_JOB_RUN_DETAILS WHERE job_name='EXPORT
ADDITIONAL_INFO
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ADDITIONAL_INFO
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
ADDITIONAL_INFO
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
ADDITIONAL_INFO
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ADDITIONAL_INFO
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ADDITIONAL_INFO
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
ADDITIONAL_INFO
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
ADDITIONAL_INFO
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ADDITIONAL_INFO
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ADDITIONAL_INFO
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
ADDITIONAL_INFO
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file."
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
ADDITIONAL_INFO
STANDARD_ERROR="'expdp' is not recognized as an internal or external command,
operable program or batch file." -
Oracle.ias.scheduler
http://download-west.oracle.com/otn_hosted_doc/ias/preview/web.1013/b16026/overview-summary.html
I am trying to find out in which jar file can i find the package oracle.ias.scheduler.
Please help
Thanks
ASI need this Jar to try out few examples and to schedule jobs.
I am not able to import oracle.ias.scheduler* as i don't know which jar path is to be added in the classpath
http://www.oracle.com/technology/tech/java/oc4j/1003/how_to/jobscheduler/scheduler-userguide.html
see listing 1.
import java.io.File;
import java.io.IOException;
import oracle.ias.scheduler.Job;
import oracle.ias.scheduler.Executable;
import oracle.ias.scheduler.JobContext;
import oracle.ias.scheduler.JobExecutionException;
public class BackupJob implements Executable { -
Scheduled Job to gather stats for multiple tables - Oracle 11.2.0.1.0
Hi,
My Oracle DB Version is:
BANNER Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
In our application, we have users uploading files resulting in insert of records into a table. file could contain records ranging from 10000 to 1 million records.
I have written a procedure to bulk insert these records into this table using limit clause. After the insert, i noticed my queries run slow against these tables if huge files are uploaded simultaneously. After gathering stats, the cost reduces and the queries executed faster.
We have 2 such tables which grow based on user file uploads. I would like to schedule a job to gather stats during a non peak hour apart from the nightly automated oracle job for these two tables.
Is there a better way to do this?
I plan to execute the below procedure as a scheduled job using DBMS_SCHEDULER.
--Procedure
create or replace
PROCEDURE p_manual_gather_table_stats AS
TYPE ttab
IS
TABLE OF VARCHAR2(30) INDEX BY PLS_INTEGER;
ltab ttab;
BEGIN
ltab(1) := 'TAB1';
ltab(2) := 'TAB2';
FOR i IN ltab.first .. ltab.last
LOOP
dbms_stats.gather_table_stats(ownname => USER, tabname => ltab(i) , estimate_percent => dbms_stats.auto_sample_size,
method_opt => 'for all indexed columns size auto', degree =>
dbms_stats.auto_degree ,CASCADE => TRUE );
END LOOP;
END p_manual_gather_table_stats;
--Scheduled Job
BEGIN
-- Job defined entirely by the CREATE JOB procedure.
DBMS_SCHEDULER.create_job ( job_name => 'MANUAL_GATHER_TABLE_STATS',
job_type => 'PLSQL_BLOCK',
job_action => 'BEGIN p_manual_gather_table_stats; END;',
start_date => SYSTIMESTAMP,
repeat_interval => 'FREQ=DAILY; BYHOUR=12;BYMINUTE=45;BYSECOND=0',
end_date => NULL,
enabled => TRUE,
comments => 'Job to manually gather stats for tables: TAB1,TAB2. Runs at 12:45 Daily.');
END;Thanks,
SomiyaThe question was, is there a better way, and you partly answered it.
Somiya, you have to be sure the queries have appropriate statistics when the queries are being run. In addition, if the queries are being run while data is being loaded, that is going to slow things down regardless, for several possible reasons, such as resource contention, inappropriate statistics, and having to maintain a read consistent view for each query.
The default collection job decides for each table based on changes it perceives in the data. You probably don't want the default collection job to deal with those tables. You probably do want to do what Dan suggested with the statistics. But it's hard to tell from your description. Is the data volume and distribution volatile? You surely want representative statistics available when each query is started. You may want to use all the plan stability features available to tell the optimizer to do the right thing (see for example http://jonathanlewis.wordpress.com/2011/01/12/fake-baselines/ ). You may want to just give up and use dynamic sampling, I don't know, entire books, blogs and papers have been written on the subject. It's sufficiently advanced technology to appear as magic. -
Migrating from SQL Server 7.0 To Oracle 8i (SQLServer Jobs/ Schedules)
Hi there,
How do you schedule jobs in Oracle in a similar way as SQL Server 7.0? So far I have only been able to find a DBMS_JOB.Start and Enable and Disable.
Apart from this I have a question on maintainence procedures.
I run the following steps in SQL Server for performance benefits.
1) Rebuild INdexes
2) Database Shrink
3) Recompile Stored Procedures
4) Recompute Statistics
5) Make an entry in a table to indicate that these 4 tasks have been completed.
Do these things matter in Oracle or does the database take care of it on its own? How do you get a similar maintenance schedule up and running in Oracle 8i?
Please reply.
Thanks and Regards,
AjayHi,
Version 1.2.5.0.0 will be available for free download from this site within the next two weeks.
I will migrate both schema and data for a SQL Server 7.0 database.
Please mail [email protected] with your request.
Regards
John -
Some Schedule jobs are not running in Oracle 10g
i have total of 8 Schedules jobs in Oracle 10g test database which were not in sync with prod database . So i re-created all of them again and then enbled them . but some 4 of them didnt ran on their NEXT_RUN_DATE . Showing NULL on LAST_START_DATE and LAST_RUN_DURATION . How to make them Run
select OWNER,JOB_NAME,START_DATE,STATE,SCHEDULE_NAME,LAST_START_DATE,LAST_RUN_DURATION,NEXT_RUN_DATE from ALL_SCHEDULER_JOBS
where OWNER='MESH_FOR' and last_start_date is NULL;
OWNER JOB_NAME START_DATE STATE SCHEDULE_NAME LAST_START_DATE LAST_RUN_DURATION NEXT_RUN_DATE
MESH_FOR REFRESH_TERMINALS_J 27.07.2010 11:00:00,000000000 +02:00 SCHEDULED DAILY_EVERY_30_MINUTES NULL NULL 27.07.2010 11:00:00,000000000 +02:00
MESH_FOR REFRESH_MN_SERVERS_J 27.07.2010 11:00:00,000000000 +02:00 SCHEDULED DAILY_EVERY_30_MINUTES NULL NULL 27.07.2010 11:00:00,000000000 +02:00
MESH_FOR REFRESH_EVENT_INFO_J 27.07.2010 11:00:00,000000000 +02:00 SCHEDULED DAILY_EVERY_30_MINUTES NULL NULL 27.07.2010 11:00:00,000000000 +02:00
MESH_FOR UPDATE_MV_CHANGES_J 27.07.2010 11:00:00,000000000 +02:00 SCHEDULED DAILY_EVERY_30_MINUTES NULL NULL 27.07.2010 11:00:00,000000000 +02:00Hi,
Could you please explain, what is OS authentication?
I created a new user for creating and runing jobs.
I have given following priveleges to the new User.'
1)Connect
2)SELECT_CATALOG_ROLE
3)Create Job
Then, I created the job as follows.
BEGIN
sys.dbms_scheduler.create_job(
job_name => 'SMPL_TST_JB',
job_type => 'PLSQL_BLOCK',
job_action => 'Declare
Result Integer;
begin
Result:=1;
/* Other statments */
Exception
when others then
Result:=3;
end;',
repeat_interval => 'freq=daily;byhour=10;byminute=00;bysecond=00',
start_date => systimestamp,
job_class => 'DEFAULT_JOB_CLASS',
auto_drop => FALSE,
enabled => TRUE);
sys.dbms_scheduler.set_attribute( name => 'SMPL_TST_JB', attribute => 'logging_level', value => DBMS_SCHEDULER.LOGGING_FULL);
sys.dbms_scheduler.set_attribute( name => 'SMPL_TST_JB', attribute => 'restartable', value => TRUE);
END;
Then, I run the job as following.
SQL> begin sys.dbms_scheduler.run_job ('SMPL_TST_JB'); end;
2 /
begin sys.dbms_scheduler.run_job ('SMPL_TST_JB'); end;
ORA-03113: end-of-file on communication channel
Thank you,
Regards
Gowtham Sen. -
Oracle schedule jobs monitoring & restarting if necessary
Hi Gurus,
I need to monitor the schedule jobs.
I can see them under Scheduler icon in SQL Developer.
But I need to see them by executing sql so can get the states and all job details (cause I am guessing some jobs are not running properly).
I tried as SYS or user the following views ALL_SCHEDULER_JOBS, ALL_SCHEDULER_SCHEDULES, ALL_SCHEDULER_PROGRAMS, ALL_SCHEDULER_JOB_CLASSES, ALL_JOBS; none worked.
Also after I see their states, how can I restart some schedule jobs if they are not enabled or active.
Thanks
Amitava.amitavachatterjee1975 wrote:
Hi Gurus,
I need to monitor the schedule jobs.
I can see them under Scheduler icon in SQL Developer.
But I need to see them by executing sql so can get the states and all job details (cause I am guessing some jobs are not running properly).
I tried as SYS or user the following views ALL_SCHEDULER_JOBS, ALL_SCHEDULER_SCHEDULES, ALL_SCHEDULER_PROGRAMS, ALL_SCHEDULER_JOB_CLASSES, ALL_JOBS; none worked.
Also after I see their states, how can I restart some schedule jobs if they are not enabled or active.
Thanks
Amitava.
"none worked" is not a useful statement.
I don't know what you have.
I don't know what you do.
I don't know what you see.
It is really, Really, REALLY difficult to fix a problem that can not be seen.
use COPY & PASTE so we can see what you do & how Oracle responds.
what exactly do you expect/desire to see when the SQL works for you? -
How to stop a Scheduler Job in Oracle BI Publisher 10g
Hello!
Can someone tell me how can I stop a scheduler job in Oracle BI Publisher 10g?
I scheduled a bursting job to run a report but is running during two days.
I would like to stop it.
Thanks.
Edited by: SFONS on 19-Jan-2012 07:16Unfortunately there is no way to stop a job once it is being executed. Yes as you read, it is not possible once job has started.
Same thing applies for running queries.
Once queries are sent to the DB BIP loses control over them. The message you see (if any) "Click Here to Cancel" does not stop any query
it is just a message.
I guess you will have to stop/kill the process in your DB
regards
Jorge
p.s If you consider your question answered then please mark my answer as *"Correct"* or *"Helpful"* -
Window oracle job scheduler and Oracle server scheduler relationship
Hi Experts,
We use oracle 10G R4 in window 2003 server.
From window server panel,we can see OracleJobSchedulerORCAID server is disable. However, I check oracle Jobs from EM.
I can saw schedule jobs are running in there.
What relationship is between window scheduler server and Oracle Schdeler?
As I know we can stop/start window Oracle database serve,r DBconsle EM server and Listener server in window server to control oracle
.Why window oracle schedule does not affect Oracle schdule job?
Thanks Experts to explaining?
JIm10g R4 is not an existing Oracle version. 10.2.0.4 is.
Oracle EM has three different schedulers:
- dbms_job
- dbms_scheduler
- EM's own scheduler. Jobs submitted in the EM scheduler are spawned by the Management Agent.
Sybrand Bakker
Senior Oracle DBA -
Capture DDL for Oracle Scheduled Jobs and job from DBMA_JOBS
I have trying at this for while and now I am stuck...so I need some help or advice.
I am doing a DB migration and I need to capture the DDL for all Oracle Scheduled Jobs as well as DBMS_JOBS. Anyone have a good way?
I took a datapump export last week. Can I run a impdp and capture the DDL for this VIA the sqlfile parameter? If so, how? What would be the script for it. Something like this maybe (par file)?
directory=DP_IMPORT
DUMPFILE=dump1.dmp
SCHEMAS=A,B,C...X,Y,Z
LOGFILE=JOBS.LOG
EXCLUDE=TABLE,INDEX,CONSTRAINT
PARALLEL=4
INCLUDE=JOBS
????Hello,
It's JOB, see following table for possible options , I recommend you to read throught this thoroughly before starting.
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_metada.htm#BGBIEDIA
Regards
Maybe you are looking for
-
IPhoto won't show my shared photo stream as an option when sharing a photo
Hello all, I am running Mavericks 10.9 and iPhoto 9.5. I am trying to share some photos and videos from iPhoto on my iMac. I am the owner of a shared photostream, and when I select a photo or video, and select "Share," the shared photostream does not
-
My Iphone 4S no longer works it's wifi connection as well as the share internet option
My iPhone 4S no longer works it's wifi connection nor it's internet share option
-
Photoshop CS4 has stopped working--importing video frames to layers
Whenever I get the part of the video selected that I want and hit okay I get a message saying: "Adobe Photoshop CS4 has stopped working" How can I fix this? Thanks
-
I've been trying to produce a slide show/movie (about 300 pictures) with music, using pictures from iPhoto and songs from iTunes, and then recording them on a CD-R to view on a DVD player. I haven't been able to do this with QuickTime 6, so that has
-
Hello Guru's!I want to join the XI. I want to know the topics on XI to be learn. So i request you to send the details of the course contents. My mail id is [email protected] Plz send me to this id!