question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scheduler/jobs/Run Log is empty (oracle)

See original GitHub issue

image

System information:

  • Operating system: OS: Ubuntu Budgie 20.04.3 LTS x86_64 (Kernel: 5.11.0-38-generic ) - but it’s same bug on windows 10
  • DBeaver version: 21.2.4.202111011413

Connection specification:

  • Database name and version: oracle 19c EE (but same bug on other versions of oracle)
  • Driver name: ojdbc7.jar

Describe the problem you’re observing:

Run Log for dbms_scheduler is empty for every job

Steps to reproduce, if exist:

begin    DBMS_SCHEDULER.CREATE_JOB (
            job_name => 'MY_JOB',
            job_type => 'PLSQL_BLOCK',
            job_action => 'BEGIN
						null;
                           END;',
            number_of_arguments => 0,
            start_date => TO_TIMESTAMP_TZ('2014-04-04 01:30:00.000000000 EUROPE/PRAGUE','YYYY-MM-DD HH24:MI:SS.FF TZR'),
            repeat_interval => 'Freq=DAILY;ByHour=5;ByMinute=45',
            end_date => NULL,
            enabled => FALSE,
            auto_drop => FALSE,
            comments => 'desc');
END;            

BEGIN DBMS_SCHEDULER.run_job('MY_JOB',false); END;

SELECT * FROM USER_SCHEDULER_JOB_RUN_DETAILS  WHERE job_name ='MY_JOB' --this IS NOT empty 

and than go to: Scheduler/jobs/MY_JOB/Run Log and ther will be label “no data” (on screenshot it’s diferent job, but it’s same result for all jobs)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:38 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
majkyyxcommented, Oct 13, 2022

Thank you Anastasiya for this investigation. I made new issue https://github.com/dbeaver/dbeaver/issues/17909

Have a nice day.

bye

0reactions
majkyyxcommented, Oct 13, 2022

I know! It’s working only when SYS schema is visible in schema list. Because if i use the schema filtr, and sys schema is hidden, it stops working.

image

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Monitoring Jobs
You can view information about job runs, job state changes, and job failures in the job log. The job log shows results for...
Read more >
ALL_SCHEDULER_JOB_LOG
USER_SCHEDULER_JOB_LOG displays log information for the Scheduler jobs owned by the current user. Column, Datatype, NULL, Description. LOG_ID, NUMBER, NOT NULL ...
Read more >
ALL_SCHEDULER_JOB_RUN_...
Column Datatype Description LOG_ID NUMBER Unique identifier of the log entry LOG_DATE TIMESTAMP(6) WITH TIME ZONE Date of the log entry OWNER VARCHAR2(30) Owner of the...
Read more >
How to view Oracle job logs
Oracle 10g: I have following job: procedure create_or_replace_job as begin begin dbms_scheduler.drop_job(job_name => merge_job_name);
Read more >
Update Additional_Info Column of a Job's Run Log Details
When the job runs successfully, that column is blank. ... Except apparently a scheduled job can't run a function.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found