Solution to oracle job failure

Source: Internet
Author: User

Recently I wrote an Oracle job, which runs at an interval of 1 minute. However, I found that this job was not running. I initially suspected that the time interval was incorrect, but I found that the time interval was not an error. I also suspected that there was a problem with the stored procedure, however, it is okay to execute the stored procedure separately. Later, I checked it online and found that it may be the system parameter job_queue_process. Job_queue_process indicates the number of jobs that can be concurrently run by oracle.

Show parameter job_queue_process;

To view the value of job_queue_process in oracle. When job_queue_process is set to 0, all oracle jobs are stopped. Statements

Alter system set job_queue_processes = 10;

To modify the value of job_queue_process in oracle (here it is changed to 10, and the value of job_queue_process is set to another problem). However, this modification is dynamic, after oracle restarts, The job_queue_process value will still be from \ % ORACLE_HOME % \ admin \ mydb \ pfile \ init. read from the ora file.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.