Stoping/Disabling AWR Jobs or System Jobs

Hi Experts
i need your guidence in regards that i have a standby database and i use this standby database to offload some primary task/activities by opening standby database and i apply restore point . my question is when i open this standby database AWR report or other system scedual reports starts there work. if yes then how i can find which job are running and how i can stop/disable them permanently/temporarily...
my db version is 10gr2EE(10.2.0.4)
regards,

Use the DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS procedure.
interval     The new interval setting between each snapshot, in units of minutes. The specified value must be in the range MIN_RETENTION (10 minutes) to MAX_RETENTION (1 year).
If ZERO is specified, automatic and manual snapshots will be disabled. A large system-defined value will be used as the retention setting.
If NULL is specified, the current value is preserved.

Similar Messages

  • Disable scheduler jobs during the database refresh

    Chaps,
    I have a strange issue. We have certain jobs scheduled which monitor other jobs and when they aren't running, they send emails using utl_smtp to the whole DBA group. All is working fine on Production but the moment we restore the database to QA, and soon after the database is recovered, it sends an email saying the those jobs aren't running..
    How do I disable the scheduler jobs ? Can it be done while the database is in mount state ? Or, is there any parameters to do so ?

    Hi,
    Although you can't disable the entire scheduler, you can disable individual jobs or all jobs in a job class using dbms_scheduler.disable which will prevent the jobs from running (but not stop already running jobs).
    It should be straightforward to have a table of jobs that should be disabled and have procedures which run over the table either disabling or enabling them.
    -Ravi

  • How to disable dbms jobs?

    Hi,
    one job is running in sys schema. i want to disable that job. how to disable that job?
    Thanks,
    Edited by: Mohammed_82 on Mar 29, 2009 10:55 AM

    Hi Mohammad
    It's not Database related thread, please post your questions on related topic=> [Database - General|http://forums.oracle.com/forums/forum.jspa?forumID=61]
    For more information of DBMS_JOB, please refer to documentation:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_job.htm#BABBICAJ
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

  • Can't manage to disable a Job.

    I have a job that was created by a prior DBA (no longer with my company). This is the data on the job from DBA_SCHEDULER_JOB:
    OWNER JOB_NAME LAST_START_DATE
    CDEPOT_OWNER Check File Delivery Status 16-DEC-09 10.30.00.110007 AM -05:00
    REPEAT_INTERVAL ENABL
    FREQ=MINUTELY;I TRUE
    NTERVAL=30
    STATE NEXT_RUN_DATE LAST_RUN_DURATION FAILURE_COUNT
    SCHEDULED 16-DEC-09 11.00.00.000000 AM -05:00 +000000000 00:00:00.051310 15
    Here's the same data (more or less) from the SYS.SCHEDULER$_JOB table:
    OBJ# PROGRAM_ACTION CREATOR JOB_STATUS
    121959 CDEPOT_OWNER.CHECKFILEDELIVERYSTATUS CDEPOT_OWNER 1
    Okay, so I log into SQL*Plus as CDEPOT_OWNER and try to disable the job:
    begin
    dbms_scheduler.disable('Check File Delivery Status');
    end;
    begin
    ERROR at line 1:
    ORA-00931: missing identifier
    ORA-06512: at "SYS.DBMS_UTILITY", line 132
    ORA-06512: at "SYS.DBMS_UTILITY", line 164
    ORA-06512: at "SYS.DBMS_UTILITY", line 218
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 540
    ORA-06512: at line 2
    This is the SAME command that I've used to disable other jobs I've created (also as CDEPOT_OWNER). I'm stumped as to why it won't let me disable this job and I really NEED to disable this job ASAP 'cause it's causing problems for other processes. Any and all assistance gratefully accepted.
    Leigh Smith

    Okay, I tried using the double quotes as suggested and now I get a DIFFERENT error:
    begin
    dbms_scheduler.disable("Check File Delivery Status", TRUE);
    end;
    dbms_scheduler.disable("Check File Delivery Status", TRUE);
    ERROR at line 2:
    ORA-06550: line 2, column 27:
    PLS-00905: object CDEPOT_OWNER.Check File Delivery Status is invalid
    ORA-06550: line 2, column 4:
    PL/SQL: Statement ignored
    So I thought...okay...what if one of the underlying objects referenced by the job (two PL/SQL procedures) was invalid? Maybe that's my problem. So I recompiled them both and they compiled cleanly and show as valid. But, when I tried to run the snippet above...same outcome. I'm really beginning to not like my predecessor.
    Leigh Smith

  • How to Disable "Auto Align" in [System Pref.] - [Display] - [Arrangement]

    Does anyone know How to Disable "Auto Align" in [System Preferences] -> [Display] -> [Arrangement]?
    It always want to align the two screens from the top when they are lined up close together and I need them to be aligned from the bottom. Since the resolution heights are so close together (1080 & 1050) it does not allow one to align side by side from the bottom as it prioritizes top alignment.
    I guess I'm looking for a script to disable this feature.

    Anyone got any ideas?

  • REG : disable "periodic jobs" icon

    While scheduling a job in background there is checkbox on the screen "periodic jobs",
    its our client requirement that they want disable this check box for some particular users , so it will have to disable through authorization but I could not find any object
    Or option to disable it can any one Help me !!
    Hearty thanks in advance
    sathies

    Hi,
    With auth objects check you wont be able to switch of or disable the periodic check option in SM36. Via auth objects you can only restrict the authorization to a particular txn or screens of a txn, not to screen values.
    You will have to create a transaction variant for SM36 (this can be client-dependent or client-independent) in txn SHD0. The screen variant is automatically created when you create a txn variant. Please, find below the link to create a txn variant.
    http://help.sap.com/saphelp_nw70/helpdata/en/67/232037ebf1cc09e10000009b38f889/frameset.htm
    Once,you have finished creating a txn variant - you can then have a txn itself which then calls the original txn with the variant only. This is known as a VARIANT Transaction. You then go ahead and share this with the customer and lock down the SM36.Please find below how to do this.
    http://help.sap.com/saphelp_nw70/helpdata/en/67/232037ebf1cc09e10000009b38f889/frameset.htm
    Please note the restrictions as wel:
    Only "normal" screens, dialog boxes, and subscreens can be included in the variant. The screens of the following functions may not be included:
    - Help and possible entries help (F1, F4)
    - List display (and selection screens)
    - Confirmation dialog boxes
    - Various system functions (status display, save list...)
    Hope this helps.
    - Regards, Dibya

  • Cannot disable stats job

    SQL> conn / as sysdba
    Connected.
    SQL> exec DBMS_SCHEDULER.DISABLE('GATHER_STATS_JOB');
    BEGIN DBMS_SCHEDULER.DISABLE('GATHER_STATS_JOB'); END;
    ERROR at line 1:
    ORA-27476: "SYS.GATHER_STATS_JOB" does not exist
    ORA-06512: at "SYS.DBMS_ISCHED", line 3429
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 2395
    ORA-06512: at line 1
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE    11.1.0.7.0      Production
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production

    SQL> col LOG_USER format a10
    SQL> col WHAT format a50
    SQL> select JOB,LOG_USER,LAST_DATE,BROKEN,FAILURES,WHAT,NEXT_DATE from dba_jobs;
           JOB LOG_USER   LAST_DATE B   FAILURES
    WHAT                                               NEXT_DATE
            27 SYS        15-FEB-10 N          0
    wksys.wk_job.invoke(22,44);                        22-FEB-10
            26 SYS        18-FEB-10 N          0
    wksys.wk_job.invoke(22,24);                        18-FEB-10
             1 SYSMAN     18-FEB-10 N          0
    EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS();       18-FEB-10
           JOB LOG_USER   LAST_DATE B   FAILURES
    WHAT                                               NEXT_DATE
          4001 SYS        18-FEB-10 N          0
    wwv_flow_cache.purge_sessions(p_purge_sess_older_t 18-FEB-10
    hen_hrs => 24);
          4002 SYS        18-FEB-10 N          0
    wwv_flow_mail.push_queue(wwv_flow_platform.get_pre 18-FEB-10
    ference('SMTP_HOST_ADDRESS'),wwv_flow_platform.get
    _preference('SMTP_HOST_PORT'));
           JOB LOG_USER   LAST_DATE B   FAILURES
    WHAT                                               NEXT_DATE
            46 SYSMAN     18-FEB-10 N          0
    EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS();       18-FEB-10

  • Disable scheduled jobs

    Dear all,
    ebs r12 12.1.1 on OUL5 x64
    after the clone, we disabled CMs like this
    update fnd_concurrent_requests
    set phase_code = 'C', status_code = 'X'
    where status_code in ('Q','I')
    and requested_start_date > SYSDATE
    and hold_flag = 'N'
    REQUEST_ID REQUESTED_BY USER_NAME P H S R
    3662167 0 SYSADMIN P N Q
    3641376 0 SYSADMIN P N Q
    3659611 0 SYSADMIN P N I
    This works but then the jobs restarting again on the next cycle.
    Should i update the hold_flag (H) to 'Y' so the jobs will never start again. Is it a correct way to disable the CMs
    Please give me an advice.
    Thanks in advance.

    Yes. You need to put pending jobs on hold.
    1. Set Terminating or Running concurrent requests to Completed/Terminated
    UPDATE fnd_concurrent_requests
    SET phase_code = 'C', status_code = 'X'
    WHERE status_code ='T'
    OR phase_code = 'R';
    2) Set Pending/(Normal/Standby) to On Hold:
    UPDATE fnd_concurrent_requests
    SET hold_flag = 'Y'
    WHERE phase_code = 'P'
    AND status_code in ('Q','I');

  • Disable the job once it has run

    Hello All,
    I have a job (dbms_scheduler
    ), that is calling one stored procedure.
    Once this stored procedure is run through the job, I want to disable it.
    <code>
    BEGIN
          DBMS_SCHEDULER.CREATE_JOB (
          JOB_NAME =>'MY_JOB',
          JOB_TYPE =>'STORED_PROCEDURE',
          JOB_ACTION =>'P_MY_PROCEDURE',
          START_DATE => TO_DATE('04/SEPTEMBER/2013 19:18:00','DD/MON/YYYY HH24:MI:SS'),
          REPEAT_INTERVAL => 'FREQ=DAILY',
          ENABLED => TRUE,
          AUTO_DROP => false,
          COMMENTS => 'Job for updating the table..' );
    end;
    </code>
    I have  DBMS_SCHEDULER.disable('RUN_P_UBR_UPD_GRP_BUS_AREA'); in my stored procedure 'P_MY_PROCEDURE', when I am running the job manually then its getting disabled ( "ENABLED => FALSE") but when it is running its own, its not getting disabled.
    Is there any way I can achieve it.
    Thanks !!

    Hi,
    When a job is disabled with the force option set to FALSE and the job is currently running, an error is returned. When force is set to TRUE, the job is disabled, but the currently running instance is allowed to finish.
    The following link will be helpful to you,
    http://docs.oracle.com/cd/B28359_01/server.111/b28310/scheduse002.htm

  • Disabling Report Job (Scheduling) for User

    Hi all,
    Is it possible to disable the ability to schedule report job for certain user?
    I tried setting the permission on the reports, unchecking the "Schedule Report" option. But the user (under BI Consumer role) are still able to run scheduler for all report.
    Thanks a lot!

    Hi,
    Is this a Z Report that your are using?
    You can setup a background job in SM36 specifying the calendar and variant, you can take help from BASIS in setting up a spool recipient, I.D  This person will get the output in his/her mail.
    Regards
    Shailesh

  • Disable auto-update for SYSTEM on windows

    I wrote an AIR app that is called via a php 'exec' command for my employer. This is part of an automated system where there is no user interaction. The problem is that whenever the application is run, every now and then it will open the Adobe AIR Updater, expecting user input to allow the update or cancel.
    I downloaded the AIR Settings Manager app, and it does a great job of disabling this auto-update, but ONLY for the user running the app. Is there any way to disable the auto-updates for SYSTEM?

    Hi Ozzy,
    Setting HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\AIR\UpdateDisabled to 1 will disable runtime updates for ALL users.  Adding the file%APPDATA%\Adobe\AIR\updateDisabled will disable updates on a PER user basis.
    Hope this helps,
    Chris

  • Is it possible to disable implicit flush by system

    Hi
      I am going thru the tutorials on control programming. However in all the cases I find that control methods are fired asynchronously even without a flush.
    I have written a simple example using a text control. If you select the lines from text control and press a button those lines would be greyed out. (Looping is done to check flush issue, otherwise a single protect_line call would suffice)
    Code on pushbutton is as follows.
    CALL METHOD EDITOR->GET_SELECTION_POS
                 IMPORTING
                    FROM_LINE = FROM_IDX
                    FROM_POS = FROM_POS
                    TO_LINE = TO_IDX
                    TO_pos = to_pos
          exceptions
                    ERROR_CNTL_CALL_METHOD = 1.
       indx = from_idx.
       while indx <= TO_IDX ).
             CALL METHOD EDITOR->PROTECT_LINES
                  EXPORTING
                     FROM_LINE = INDX
                     TO_LINE   = INDX
                  ENABLE_EDITING_PROTECTED_TEXT =  
                         cl_gui_textedit=>true.
              add 1 to indx.
       endwhile.
    Even if no flush is called after get_selection_pos method
    everytime I am getting correct value of from_idx and to_idx and so lines are getting greyed out properly.
    Now SAP help on another tutorial says
    "Another control is used when large volumes of data are transferred by control methods. This control is the Data Provider. Currently, the Data Provider implicitly triggers another flush to transfer the data. "
    I think same is happening here too. Is my assumption correct?
      i) Is there any way I can disable that?
      or there is some problem in our system because of some
      patch not being applied or so? Don't you think such implicit flushing would be an overhead in the system
      ii) When does data provider decide that flushing is to be done or it's being done after every control method is called (I assume this is the case with me).
    We are on 4.6C. 
    Please enlighten me.

    I don't remember if I had the same problem on other phones or not, but I have had it on the 2G and 3G iphones.

  • Officejet 6600 LOCKED AND DISABLED WIRELESS -- Im the System Admin?

    I am the system admin and I somehow disabled my wireless and locked the HP Officejet 6600 down. I can not restore to defaults. I can't do anything with the printer? Can someone help?  MacBook Pro Latest version of software. 

    Hi DG13,
    Welcome to the HP Support Forums! I see you have disabled the wireless settings on your MacBook Pro and have locked the HP Officejet 6600 down. Please follow the steps listed below:
    1. Plug in your USB (You will need a USB to re enable the wireless settings)
    2. Select the Device Administration section
    3. Now re enable the wireless and whichever features you had disabled
    Please let me know the outcome, I will watch for your reply.
    Thanks,
    HevnLgh
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • Disable monitoring for non-system disks.

    Hi all,
    Our backup server dynamically mounts disks (with drive letters) when it's backing up a Virtual Machine.
    These disks are giving a lot of alerts in our monitoring that we don't need, therefore we want to disable monitoring for these disks. What is the best way to disable monitoring for these non-system disks ? As I said, these disks are dynamically mounted and
    unmounted ...
    Any experience with this case ?
    Kind Regards,
    J. Monnens

    This is a bit surprising, since the logical disk discovery only runs once a day, plus it's not supposed to discover network and removable drives.
    That means that your disks are mounted when the discovery runs and that they appear as "real" logical disks...
    Unfortunately there is no "sync time" parameter for this discovery, which would have allowed you to specify the time of the day at which the discovery runs; thus allowing you to set a time at which you know the drives are not mounted.
    Is there any other parameter that could help identifying these specific disks, besides their letter, so you could add them to a dynamic group?
    Otherwise, what you could maybe try is to create your own logical disk discovery based on the native one, but with specific settings that would exclude your drives and then disable the native discovery.
    But this again implies that you have something that would let you identify specifically your mounted drives... Also the native discovery is a quite complex VBS, I wouldn't actually recommend disabling/modifiying it.
    Maybe I could have another idea with more details about your environment...

  • Dsc: disable access to operative system to certain users

    Hello,
    i need to disable access to certain users of my apliccation to the operative system,
    so they can't access to the desktop.
    Thanks for your help.
    BG.

    If you want to disable special windows keyboard keys while your VI is running, you can do that from Toos>>DSC Module>>Options. Click on Advanced tab, Security Preferences, Advances and enter the security level.
    Now you need to set those users that you want to block a security level lower then the number you entered at the tools option.

Maybe you are looking for

  • File browsing based on image clicked

    i'm becoming familiar with the File class, but i'm learning very slowly and its difficult not to get frustrated. basically what i want to do is be able to click on a map of different counties and depending on which county is click, bring up an approp

  • Give me a solution

    Hi, I have some images in my Oracle Database. Now i would like to send this pictures to my clientele in web format. Can JSP be used to retrieve the images from the database, create the proper XML from a template and publish it? Is the process OK? Ram

  • Adobe Premiere CC and Adobe Encore CS6

    Hi friends Perhaps I missed this information. In my personal notebook I already use the CC design apps like Photoshop, Illustrator, InDesign. My father works with video app and in his workstation he is still using CS6 applications, including Premiere

  • Does the TM create a sparse bundle on a Raid 5 device with a local thunderbolt connection

    I know that TM creates a sparse bundle when used over a network connection.  I would like to know if also creates a sparse bundle on a raid  device ( Lacie 5 big thunderbolt 2) which is connected locally, and formatted in HFS+.  The reason I'm asking

  • Enabling PHP is breaking Apache.

    I am following the tutorial at, http://developer.apple.com/mac/articles/internet/phpeasyway.html, to enable apache/mysql. Where the tutorial is titled, "Enabling PHP in Apache", I copy and pasted the code to terminal. Osascript password prompted and