Purge the Job SCHEDULER$ _EVENT_LOG Tables

Hi Experts

Please I need your help with this issue:

Oracle Rac two nodes 11 GR 2

I have a Rac database somehow work tables: PLANNER$ _EVENT_LOG and PLANNER$ _JOB_RUN_DETAILS grow a lot.

When I run a query to view details MyJob, this query takes a long time to complete, due to the size of these tables, the automatic purge period a few hours to complete and it s not purge.

Now, I want to serve these tables and I ve done this:

run DBMS_SCHEDULER. SET_SCHEDULER_ATTRIBUTE('log_history','1');

BEGIN

() DBMS_SCHEDULER.purge_log

log_history = > 1,

which_log = > 'JOB_LOG ',.

job_name = > 'MYJOB');

END;

/

BEGIN

() DBMS_SCHEDULER.purge_log

log_history = > 1,

which_log = > 'WINDOW_LOG ',.

job_name = > 'MYJOB');

END;

/

BEGIN

DBMS_SCHEDULER. PURGE_LOG (log_history = > 1, which_log = > 'JOB_LOG');

END;

/

I am not able to serve these tables. We run chain job every night.

Any advice will be appreciated

Concerning

JUDGE

I fix the problem

It seems that the problem was the use of string information:

DOC - ID 749440.1

Rows in the table of newspaper work on the steps of a string are purged only when the entry for the work of the main chain is purged (manually or automatically).

Action:

Stop the task of the main chain

After that I was able to empty tables to work with DBMS_SCHEDULER.purge_log (no line on the tables), but the space used for each table was the same and requests delay again a lot of time.

So after that, I ran a Truncate on each table (PLANNER$ _EVENT_LOG and PLANNER$ _JOB_RUN_DETAILS), now everything seems fine. I get a lot of space and queries are fast.

Thank you for your time

Tags: Database

Similar Questions

  • How to manually run the job scheduler

    I wanted to know how to run a job scheduler manually. My requirement is to reschedule some jobs if I want to run it manually so that their execution for the day is over and I can put the new time. For example. to reprogram a job, we can use the following command:

    () DBMS_SCHEDULER.set_attribute

    name = > 'CLUSTERPLANNINGREPORTS_JOB ',.

    attribute = > "repeat_interval"

    value = > ' freq = daily; BYHOUR = 16; BYMINUTE = 0; BYSECOND = 0 ;') ;

    Similarly, I wanted to run the task from the Scheduler.

    I hope that my request is clear.

    Please get back with the answer to my query.

    Concerning

    BEGIN
    DBMS_SCHEDULER.run_job (job_name => 'USERNAME.JOB_NAME');
    END;
    /
    
  • How to stop the job scheduler after recovery

    Hello

    Once I have restore the database from a cold backup of RMAN and start the database, all the tasks in the Scheduler which are due to begin. In our case, this causes a lot of questions.

    Is there a way to stop the Scheduler of shooting all jobs when I startup the database?

    Oracle 10g R1.

    OzOracle wrote:
    Hello

    Once I have restore the database from a cold backup of RMAN and start the database, all the tasks in the Scheduler which are due to begin. In our case, this causes a lot of questions.

    Is there a way to stop the Scheduler of shooting all jobs when I startup the database?

    Oracle 10g R1.

    ALTER SYSTEM SET JOB_QUEUE_PROCESSES IS 0 SCOPE = BOTH;.

  • setting up the job scheduler

    Hello

    can I set up Scheduler without domain system his... How

    Thank you

    check this post please

    Reg: Scheduler

  • Is it possible to have the same work performed several times using the jobs and Planner?

    I was instructed to examine whether we can move all our DBMS and jobs table that are scheduled using submit next procedure of jobs in the job scheduler

    There are several offers that concern them;

    We run every 3 seconds - this work may take 20 minutes to complete and there may be multiple running simultaneously 8-9, both

    so, my question is possible to use the Scheduler for simply helping employment and then 3 seconds we kickoff again?

    or the first inning started three seconds ago should finish before the next could draw?

    is there any solutions for this?

    I thought maybe you could create a script that creates a new entry every 3 seconds which is named work differently so that they can run at the same time, however, I hope that there is a more simple solution

    DB - 11g

    Thank you

    Thanks for the comments. It's a start. What I do for this work is to use a program. Since my job call the same routine with the same number of arguments. I create based on a program.

  • Job scheduler works is not as planned in 10.2.0.5

    Hi guys,.

    I have create a scheduler job that will run a stored procedure to kill the database session "SNIPED".

    However, the work of the scheduler does not like by expected.

    According to my tests, I drop and recreate the tasks Scheduler multiple times, sometimes it will run for the first time, then no more.

    But in the view of dba_scheduler_jobs, LAST_START_DATE and LAST_START_DATE keep up to date, showing that the job scheduler works very well, however, he does not kill my session "SNIPED".

    Please notify. My tasks in the Scheduler works well in 10.2.0.4 another data base.

    FYI, I have try some option like disable and enable the work of the Scheduler window as below but does not work.

    Difficulty dbms_scheduler jobs after upgrade | Rameau & amp; #039; s Blog

    OWNER JOB_NAME START_DATE REPEAT_INTERVAL LAST_START_DATE NEXT_RUN_DATE JOB_ACTION

    ---------- -------------------- -------------------- -------------------- -------------------- -------------------- --------------------

    SYS KILL_SESSION_JOB KILL_SESSION_PROC 7 APRIL 14 03.38.00.0 FREQ = MINUTELY; INTER 9 APRIL 14 09.38.00.1 9 APRIL 14 09.53.00.0

    00000 + 08:00 PM VAL = 15;              25172 AM + 08:00 00000 + 08:00 AM

    NOTCHED sessions are KILLED as sessions. They disappear from V$ SESSION after what they're trying to execute a SQL statement.

  • Job scheduling system?

    Hello
    I'm in following the Patch 9352164 -10.2.0.4.4 patch Update Set README.
    He said:
    "If you use the Job Scheduling system, run psu_root.sh as root to complete the installation of molecule 7155248"
    What is the job scheduling system, and how can I check if I use...?
    Thank you

    Refer
    http://Web.agelid.com/protect/utile/documentation/Oracle/database.804/a55924/CH4.htm#1037495

  • How to schedule the job run from applications of the ADF?

    Hi all

    I want to schedule the job to run every day I need to check some data on the table and send a notification,

    I know that I can do this in a database, but I need to do application-level, is there something in the logic of the web can allow me to do?

    Thank you

    I think you can refer to the

    http://Biemond.blogspot.com/2009/09/job-scheduling-in-WebLogic.html

    https://blogs.Oracle.com/jamesbayer/entry/a_simple_job_scheduler_example

  • SQL: how to display the second string of the function in the Jobs table only if the function has more than one string.

    SQL: how to display the second string of the function in the Jobs table only if the function has more than one string.

    Hello

    You can use REGEXP_SUBSTR Oracle/PLSQL: REGEXP_SUBSTR function

    Select the function double REGEXP_SUBSTR('PUBLIC RELATION REPRESENTATIVE ','[^]+',1,2);

    Do you have any value of the column as no 2nd string?

  • Purge the database postgres VCSA 5.5 data (tables vpx_event & vpx_event_arg)?

    Someone at - it instructions for the removal of the entries in the vpx_event & vpx_event_arg for the postgres database tables in VCSA 5.5? Due to a bad person designed the monitoring scripts, we have 18 million rows in the vpx_event_arg table and looks like it is the root cause of our recent problems with the VCSA.

    I see several KB articles on how to purge the data from MS SQL Server, but not instructions for Postgres.  So the same manully kickoff roll-up scripts. I've updated the retention policy of database from 180 to 90 days, but there is still 18 M records in the table. Cannot find how to manually start the rolling script for postgres.

    Any help would be appreciated.

    Thank you

    Michael

    Could not find a clean way to purge the data from the table, so we finished truncating the entire table. I poured both the vpx_event and the tables of vpx_event_arg for archival purposes and then did:

    /opt/VMware/vpostgres/1.0/bin/psql d VCDB vc

    Enter the password

    then:

    TRUNCATE TABLE vpx_event WATERFALL;

    It takes only a minute and of course we were back in business and the performance was back to normal.

  • How to purge the table ECX_OUTQUEUE of the ECX_OUTBOUND AGENT

    How to purge the table ECX_OUTQUEUE of the ECX_OUTBOUND AGENT

    904632 wrote:

    How to purge the table ECX_OUTQUEUE of the ECX_OUTBOUND AGENT

    Please see (how to recreate the ECX Related queues? (Doc ID 1354312.1)).

    Thank you

    Hussein

  • How to purge the tables using odi?

    Hello

    I want to purge the data in the target. That data my political is to remember that the only 90 days. I have to keep the only 90 days of data. How can I do this in ODI. I don't have a single column DATE.

    Thank you

    Kind regards
    AMSII

    If your existing date field can be used to identify records to be served, then you can simply create a procedure in ODI along the lines of

    delete of < %="odiRef.getSchemaName" ()="" %=""> . * your_table * where your_date_field< (sysdate="" -="">

    It of the easiest way, but beware of your index finger on the table, that they don't get too fragmented. You might also consider using a strategy of daily score on the table that would allow you to remove partitions over 90 days, which would be much faster.

  • Job Scheduler DB to regularly clean up the old data

    Hello

    The subscription information contains table following as, timpstamp, error, etc., the user of the operating system. How can I create a JOB DB running on a daily basis to keep saying only 90 days of data. Subscription data table contains since 2007, i.e., TIMPSTAMP 08/10/2007.

    10.2.0.5 EA on RHLinux.
    select owner,table_name,tablespace_name from dba_tables where table_name like 'HT_SERVER%';
    
    OWNER                      TABLE_NAME      TABLESPACE_NAME
    ------------------------------ ------------------------------ ---------------
    SYSTEM                      HT_SERVER           TOOLS
    
      COUNT(*)
    ----------
      12584584
    Thank you very much.

    Best regards.

    Published by: John-M on May 3, 2012 07:15

    Yes, the good is with <= not="">= as I posted.

    Please if your doubt is the answer, mark the post as answer.

    HTH

  • Purge the Cache of the Table does not not as expected

    Hello gurus,
    We use OBIEE 10.1.3.3.1.
    We need to purge the cache Table.
    So I use the ODBC function:

    Call SAPurgeCacheByTable ('Database_name', 'Catalogue', 'Plan', 'Physical Table');

    so, when I run the present from invite cmd:
    nqcmd d AnalyticsWeb u username - password - Pali C:\OracleBI\Server\Bin\clear_cache.txt
    I received the message of successful result as below:

    [59118] SAPurgeCacheByTable operation succeeded!
    number of lines 1
    Processed requests 1

    But the thing is Local cache and web cache is not serving (.) TBL files)

    Please help solve this problem.

    Thank you
    Kanna

    Hello

    the problem is that OBIEE 10.1.3.4.0 ha a bug, see the support document SAPurgeCacheByTable and SAPurgeCacheByDatabase not working do not [787797.1 ID].

    The bug is logged as a Bug 6906535 and it resolved in the next version which is 11.1.

    Currently, there is no difficulty for 10.1.3.4.

    Support proposes to use SAPurgeAllCache() to work around the problem.

    I hope it helps.

    Kind regards
    Gianluca Ancarani

  • identify the dbms_stats job scheduling

    Hello

    I have questions about scheduling the dbms_stats jobs. I am aware that there is no cronjob for dbms_stats work and the Oracle 10.2 is common on Sun Solaris.

    1. How can I identify the dbms_stats work planning in Oracle?

    2. where I will identify information last performed time?

    Thank you in advance.

    ADI

    Hello

    SELECT master, job_name, activated from dba_scheduler_jobs;

    Run dba_scheduler_job_run_details to the status of the job, but you can easily use log_date to understand what is your line.

    -Pavan Kumar N

Maybe you are looking for