Scheduled task job in Oracle 10 GB

Source: Internet
Author: User

There are many automatically executed jobs in Oracle10g. For example, AUTO_SPACE_ADVISOR_JOB and GATHER_STATS_JOB

And so on. These automatically executed jobs will consume a certain amount of system resources while facilitating us. If you do not perform any of these automatic tasks

If you have some knowledge about the time and functions of the task, these automatic tasks will become a "mine" in your system ". Maybe it will be exploding that day.

The following SQL gives us a simple understanding of scheduled tasks and execution time in the system. This makes it easy for us to reasonably use

Scheduled tasks. Especially in case of system exceptions, it is important to check whether these scheduled tasks are at fault.

SQL> SELECT OWNER,
2 JOB_NAME,
3 to_char (last_start_date, 'yyyy-mm-dd hh24: mi: ss') last_start_date,
4 to_char (next_run_date, 'yyyy-mm-dd hh24: mi: ss') next_run_date,
5 PROGRAM_NAME,
6 JOB_TYPE,
7 JOB_ACTION
8 FROM DBA_SCHEDULER_JOBS;

SQL> SELECT log_id,
2 job_name,
3 to_char (REQ_START_DATE, 'yyyy-mm-dd hh24: mi: ss') REQ_START_DATE,
4 to_char (Actual_Start_Date, 'yyyy-mm-dd hh24: mi: ss') Actual_Start_Date,
5 to_char (log_date, 'yyyy-mm-dd hh24: mi: ss') log_date,
6 status,
7 SESSION_ID
8 FROM dba_scheduler_job_run_details
9 order by LOG_DATE DESC;

Related Article

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.