Re: job_priority for Oracle scheduler jobs
From: Fairlie Rego <fairlie.rego_at_gmail.com>
Date: Fri, 26 May 2023 08:40:20 +1000
Message-Id: <436AB299-A6B1-4CC3-B0D9-8BF8B348B743_at_gmail.com>
Thanks Mark for your reply
Date: Fri, 26 May 2023 08:40:20 +1000
Message-Id: <436AB299-A6B1-4CC3-B0D9-8BF8B348B743_at_gmail.com>
Thanks Mark for your reply
I am aware of this
However the question was more to do with
if anyone is using this in production in anger
Apologies for not being clear on the previous email
Cheers
Fairlie
Sent from my iPhone
On 26 May 2023, at 4:01 am, Powell, Mark <mark.powell2_at_dxc.com> wrote:
You use the set_attribute procedure to set the job_priority which defaults to 3 out of 1 to 5 with 1 being highest.
The DBMS_SCHEDULER package provides a collection of scheduling functions and procedures that can be called from any PL/SQL program.docs.oracle.com
Mark PowellDatabase Administration(313) 592-5148
From: oracle-l-bounce_at_freelists.org <oracle-l-bounce_at_freelists.org> on behalf of Fairlie Rego <fairlie.rego_at_gmail.com>
Sent: Thursday, May 25, 2023 5:23 AM
To: ORACLE-L <oracle-l_at_freelists.org>
Subject: job_priority for Oracle scheduler jobsHi all,
I am currently working on a system which is a heavy user of Oracle scheduler jobs. During certain hours we have almost 20,000 jobs running in an hourand some critical ones do not seem to get kicked off at the exact time they need to run.
Is anyone using the job_priority feature and if so in what version and have they faced any issues with it.?
"When several jobs within the same job class are scheduled to start at the same time, the job coordinator uses the job priority to decide which job to execute first."
<image.png>
Cheers
Fairlie
-- http://www.freelists.org/webpage/oracle-lReceived on Fri May 26 2023 - 00:40:20 CEST