Question on exec DBMS_AUTO_TASK_ADMIN.DISABLE;

Guys,
I executed "DBMS_AUTO_TASK_ADMIN.DISABLE;" connected as sys to disable the auto tasks, but when I query the DBA_AUTOTASK_TASK, it still shows as enabled. Database is oracle 11g and this is on windows 2003 server.
SELECT TASK_NAME, OPERATION_NAME, STATUS FROM DBA_AUTOTASK_TASK;
auto_space_advisor_prog     auto space advisor job     ENABLED
gather_stats_prog     auto optimizer stats job     ENABLED
AUTO_SQL_TUNING_PROG     automatic sql tuning task     ENABLED
Thanks.

Try following script:
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE    11.2.0.1.0      Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
SQL>
SQL> select client_name, status
  2  from dba_autotask_client;
CLIENT_NAME                                                      STATUS
auto optimizer stats collection                                  ENABLED
auto space advisor                                               ENABLED
sql tuning advisor                                               ENABLED
SQL>
SQL> begin
  2    dbms_auto_task_admin.disable(
  3      client_name => 'auto optimizer stats collection',
  4      operation => NULL,
  5      window_name => NULL);
  6  end;
  7  /
PL/SQL procedure successfully completed.
SQL>
SQL> select client_name, status
  2  from dba_autotask_client;
CLIENT_NAME                                                      STATUS
auto optimizer stats collection                                  DISABLED
auto space advisor                                               ENABLED
sql tuning advisor                                               ENABLEDPlease post your 4 digits Oracle version.
Edited by: P. Forstmann on 1 févr. 2010 21:53

Similar Messages

  • I use Plaxo for my contacts, and I want it to synch my Outlook contacts with my PC.  So I can't use my iCloud contact synch.  My question: How do I disable my iCloud contact synch feature while still allowing the rest of iCloud (music

    I use Plaxo for my contacts, and I want it to synch my Outlook contacts with my PC.  I got a new HP PC with the (awful) Windows 8.0 operating system, and, to say the least, I miss the good old days.   Plaxo customer support tells me that I can't use my iCloud contact synch because they clash. 
    My question: How do I disable my iCloud contact synch feature while still allowing the rest of iCloud (music, photos) to operate as usual.
    What mysterious steps must I take in order to do this and not cause a complete meltdown in the process?  The meltdown that I fear most is the one that happens between my ears.

    Music is nothing to do with iCloud but Photostream is, so turn off Mail, Contacts and Calendars (in the iCloud Control Panel) and leave everything else on.
    You will lose iCloud Calendars and Mail as well as Contacts, but you can manually re-enable mail (if you use iCloud email)

  • I tried buying an album off the iTunes Store but I didn't know the security question answers. It disabled my account from buying for 8 hours but I want the album by tonight! Help please?!?!

    I tried buying an album off of the iTunes Store but I didn't know the security question answers. I reached the limit for the amount of answers and now it disabled my account from buying for 8 hours but I want the album by tonight! Can anyone help?!

    If you've disabled your account for 8 hours then you will need to wait until the 8 hours have completed.
    When the 8 hours are up, then if you have a rescue email address (which is not the same thing as an alternate email address) on your account then you should get a reset link on your account : http://support.apple.com/kb/HT6170
    If you don't have a rescue email address (you won't be able to add one until you can answer your questions) then you will have to contact Support in your country to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps on this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5620

  • Change automatic SQL Tuning Advisor time

    Hi All,
    can anyone help me in changing "automatic SQL Tuning Advisor" job timingsm because currently it is scheduled during peak hours , i want to change it to evening 6 pm daily.Because during peak hours it is taking more cpu and taking one hour.
    Wed May 08 08:00:10 2013
    Begin automatic SQL Tuning Advisor run for special tuning task "SYS_AUTO_SQL_TUNING_TASK"
    Wed May 08 08:05:47 2013
    thanks
    Mapps

    Hello,
    Here's what you can do,
    Create a new window to the time you want it to run:
    EXEC dbms_scheduler.create_window(window_name => 'YOUR_WINDOW_NAME',
    duration => numtodsinterval(1, 'hour'),
    resource_plan => 'DEFAULT_MAINTENANCE_PLAN',
    repeat_interval => 'FREQ=DAILY;BYHOUR=18;BYMINUTE=0;BYSECOND=0');>
    The above window would be in effect from 6 pm to 7 pm.
    Then, disable automatic sql_tuning and then re-enable it to run on the window you just created:
    EXEC DBMS_AUTO_TASK_ADMIN.DISABLE(client_name => 'sql tuning advisor',
    operation => NULL,
    window_name => NULL);>
    and now set it to run to your window:
    EXEC DBMS_AUTO_TASK_ADMIN.ENABLE(client_name => 'sql tuning advisor',
    operation => NULL,
    window_name => 'YOUR_WINDOW_NAME');

  • Autospace advisor job and this oracle table: WRI$_ADV_OBJSPACE_TREND_DATA

    Does anyone know about this query and why this runs..
    Query : insert into wri$_adv_objspace_trend_data
    select timepoint, space_usage, space_alloc, quality from table(dbms_space.object_growth_trend(:1, :2, :3, :4, NULL, NULL, NULL, 'FALSE', :5, 'FALSE'))
    Regards

    EXEC DBMS_AUTO_TASK_ADMIN.disable;
    EXEC DBMS_AUTO_TASK_ADMIN.enable;
    u can use the EXEC DBMS_AUTO_TASK_ADMIN.disable to stop it
    for knowing more
    http://www.oracle-base.com/articles/11g/AutomatedDatabaseMaintenanceTaskManagement_11gR1.php

  • Catbundle_WINBUNDLE_ database SID _ROLLBACK.sql hangs

    Hello experts,
    We are rolling back a opatch i.e. bundle patch 44.
    after rollback when we run the script catbundle_WINBUNDLE_<database SID>_ROLLBACK.sql
    the script hangs after executing for some time, without any error.
    Database version: 11.1.0.7.0.
    O. S. : Windows server 2003
    Please help me urgently.
    Regards
    Rahul Srivastava

    Hello experts,
    I have resolved the issue by
    Starting the database in restricted session
    Disable auto stats collection job
    exec DBMS_AUTO_TASK_ADMIN.DISABLE(
    client_name => 'auto optimizer stats collection',
    operation => NULL,
    window_name => NULL);
    and then executing the script
    catbundle_WINBUNDLE_<database SID>_ROLLBACK.sql
    the script executed succesfully.
    Then we can
    exec DBMS_AUTO_TASK_ADMIN.ENABLE(
    client_name => 'auto optimizer stats collection',
    operation => NULL,
    window_name => NULL);
    and run utlrp.sql .
    Regards
    Rahul Srivastava

  • Can I disable an Ipod from ITunes/Other Questions

    Hi all! I am new to this forum and to using IPods/ITunes, so I am still trying to learn as much as I can about them. I made the mistake of getting my very irresponsible young teenage son an IPod (Gen 3) Touch. I have asked him several times to hand the device over to me so I can review the browser’s history (I am not even sure if that is possible, but I was going to try). I am I have major concerns regarding the websites he may be visiting. I am not trying to violate his privacy, but if it was a problem showing me the device - why won’t he hand it over - so that raised some major red flags.
    So...my questions are:
    Can I disable the device from ITunes? Or can I just delete the device from my ITunes Account? Would he still be able to use it?
    I think I found a place on ITune where there was a place I could pick what parental controls that I wanted, I set those up - but I found this feature after he started hiding the device? Can this feature still work remotely without syncing?
    Is there a way to view the browsing and internet history on the device (even if he would delete it)?
    I am not sure if this would make a difference or not to answer my question, but when I had to set up the ITunes account, I did have to provide credit card information to start the account.
    I do have my daughter’s new IPod (Gen 4) Touch also linked to the same ITunes account.
    One more thought...can I just delete the ITunes account totally and start a new one for my daughter? Would this disable his device?
    Again, I am very new to using an IPod. I can get around using them (and selecting the correct features) with a little direction though.
    Thanks for your help and advice in advance it is very very appreciated!
    -SD

    Can I disable the device from ITunes?
    Not without being able to connect the iPod to the computer, no.
    Or can I just delete the device from my ITunes Account? Would he still be able to use it?
    See above.
    I think I found a place on ITune where there was a place I could pick what parental controls that I wanted, I set those up - but I found this feature after he started hiding the device? Can this feature still work remotely without syncing?
    The parental controls feature in iTunes only works for iTunes, not for a portable device. There are similar restrictions on the iPod, but those can only be set on the iPod itself.
    Is there a way to view the browsing and internet history on the device (even if he would delete it)?
    No, sorry, if he clears the history, there's no way to view it.
    can I just delete the ITunes account totally and start a new one for my daughter?
    You can start a new one, but that won't affect any existing accounts. You can change the password on the iTunes Store account he's been using. That would block him from being able to purchase any new content through that account. But you can't stop him from opening up a new iTunes Store account by using a prepaid iTunes card, available from almost any grocery store.
    Would this disable his device?
    No.
    Without being able to have the iPod in your hands, the only way you can affect it would be if you had set up the Find My iPod feature before giving the iPod to your son. If you had, you could then lock the iPod or wipe the data on it. Otherwise, there's nothing you can do until he gives you his iPod, at which time you could set up the Restrictions and, if you wish, download a web browser that allows you to set site restrictions and force him to use that browser.
    Regards.

  • The ubiquitous question about disabling the "AUTOMATIC pixel aspect ration correction"....

    So many people ask the question, "How do I disable the automatic pixel aspect correction" in photoshop only to get repsonses that include the manual step at turning off the correction for the current photo you're working on. Further details are also given from time to time on how this "shouldn't be a problem" or "it's only because you took a video screen grab", or even better, a debate over how it occaisionally helps. Here's the thing, it doesn't help as often as it creates an annoying step in having to go and turn it off when you open pictures that CS5 determines "need fixing" when in fact, the image becomes distorted by this automated fix, especially when this happens so much more now with cell phone pics, and as you turn off the "Auto correct" the image is no longer distorted. It is indeed RARE that this feature does anything good, and way more often that it shows a preview that is way out of whack. Why would Adobe decide that they can't compile Photoshop with this being something you can disable and only turn on for the photos you want as you open them instead of making you turn them off for when you don't (which is the more often case)? Why has this question circulated since at least CS2 on Adobe forums, and yet never been addressed any further than half hearted attempts at describing "recorded macros/steps/automations" that don't work? If I can set a default scratch disk, surely I should be able to set my default action upon opening a photo to NOT auto-correct anything?  If the guys who put Photoshop together don't agree and think "We must autocorrect everything these fools are opening", perhaps we can be allowed enough rope to hang our selves with square pixels anyway and learn our lesson the hard way? Please?

    Hi Darrell,
    You've posted in the AIR forums and I think you meant this for Photoshop.  Would you mind reposting over there?
    Thanks,
    Chris

  • How to disable the "turn page" event triggered by the scroll/swipe function?

    The problem is as follows.
    The default behaviour of Acrobat Reader (both stand alone and browser plug-in) is to allow scrolling/swiping with the mouse wheel/trackpad. This is useful when the pdf's page length is greater than the screen's own length, because you can read the pdf with no need to distract your attention from the text to the scrollbar button. However, the same scroll/swipe function turns into a usability problem when the pdf is embedded in a html page and the pdf's page length is smaller than the browser's length. In this case, the scroll/swipe turns the page, distracting your attention from the text to the unintended behaviour of the browser. What happens is that you are so used to scrolling/swiping that you did it unintentionally in the pdf's caption area. You really did not want to turn pages in the pdf. Furthermore, if the pdf takes the whole html page, being a website, the scroll/swipe function flips the website pages in ways that neither the reader nor the writer had ever intended. Hence the question. How to disable, in this case, the "turn page" event triggered by the scroll/swipe function? A JavaScript should do, but the SDK documents did not help so far...
    Message was edited by: 41457173
    Message was edited by: 41457173

    ... or release a patch for the API,
    ... or suggest an alternative route to achieve the intended result.

  • How can I disable .mp4 videos from playing automatically on Yahoo News? (and elsewhere)

    I posted a similar question last week about disabling html5 videos and that seems to have worked. But I notice that when I look at the Yahoo News main page, some videos (thumbnails) are playing automatically as I'm scrolling up and down the page. I find that annoying, distracting, and is probably consuming data on my limited plan.
    I see other questions posted about .mp4, but those are all how to PLAY rather than NOT play videos.
    Any help would be appreciated.

    You can look at: Stop Autoplay: https://addons.mozilla.org/firefox/addon/1765

  • How do I disable hyperlinks in Pages 5.0?

    I'm creating a document and i have a number of email addresses to work with, cutting and pasting, so I don't want the hyperlinks to be active. It was a simple matter to turn them off in the old Inspector.  But I can't for the life of me figure out how to do it in the current version.  Please advise.

    Hello sudirende,
    Thank you for the question.  You can disable hyperlinks by verifying that Edit>Substitutions>Smart Links is unchecked before you enter the links or email address in the document:
    Turn off automatic formatting for links
    If you don’t want Pages to automatically format links as clickable text, you can turn off automatic formatting.
    Choose Edit > Substitutions > Show Substitutions (the Edit menu is at the top of your computer screen).
    Select the Smart Links checkbox.
    Click a button to replace all occurrences of formatted links in the document, or just in the selected text.
    When Smart Links is turned on for the document, a checkmark appears next to Smart Links in the Substitutions menu. You can deselect it to turn it off, but existing links won’t change unless you select the text that contains them, then follow the steps above.
    You can find more information here:
    Pages Help for Mac - Link text in a document
    http://help.apple.com/pages/mac/5.0/#/tand51db403
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • (second time) Two questions - One is, Firefox will not sign me in completely and remember passweords., shown in details. Two- how to stop the loading animations

    Since no one is replying, i have to try again
    Deatails for number 1:
    Firefox will not sign me in and remember my passwords at all. It first started on this site, New Jersey Online (NJ.com). I created an account there and Firefox will not log me in. That happened, January 3rd, 2012.
    About NJ.com problem
    I created an account there. Then I signed into my new account. I did get correct username and password. But the browser does not log me into the acount. I looked all around NJ.com for answer and my problem was not in the forums/blogs.
    On Jan 4, 2012 - On the City Data forum I logged into my account there.
    About the city data forum problem
    I logged into my account there.
    Firefox asked me if I want to remember this passwod, i said Yes. The box in city data forum has a remember be box I checked it.
    The result means- I did not get signed in at all.
    I tried multiple times, none worked.
    I allowed firefox to do these things -
    1. Remember browsing history for at lease one day
    2. Remember download histroy.
    3. Accept cookies from sites, including third party cookies, until their expiration
    4. Clear the folowing when firefox closes: browsing history, download history, and form/search history.
    I feel afraid this problem is gonna hsppen forever (and maybe even on this site!), and it will not sign me in to any site on the internet.
    Number 2 Question
    Any way to disable the loading animation in Firefox 3.6.15? it makes me forget what I was going to do. it's also shown in the addon update information. PLease help me disable the loading animation Everywhere in the Firefox browser.
    For other sites with loading animations, I can use the Adblock plus element hiding helper . Just need to remove the animations by firefox
    Please help me ASAP (as soon as possible), thank you!

    See:
    *https://support.mozilla.org/kb/Cannot+log+in+to+websites
    Can't you sign in at all or aren't you signed in anymore if you revisit that website another time (next day)?
    See also:
    *http://kb.mozillazine.org/Websites_report_cookies_are_disabled
    *http://kb.mozillazine.org/Cookies
    What do you mean with the ''loading animation''?
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How can I disable window snapping/docking?

    Ever since CS4 came out I feel like I've been less productive in Photoshop due to annoying window dock/snapping.  Windows are constantly sticking and resizing themselves in ways that blocks the work I am trying to do.  Also the main image itself automatically resizes to feet the work space and I find this also an annoyance.  This is my main question:  How can I disable "sticky" windows?
    In fact if there a way to get the old classic skin back that would be great, also...because all the programs in CS4 are missing a handle bar at the top of the window, making it difficult to find a place to click to drag the window around...which also wastes time.  Sometimes the classic skin is visible underneath buttons in graphic glitches..
    Finally, is there a way to disable hardware acceleration completely?  My processor is fast enough that it can complete tasks faster than the latency of accessing the GPU, so hardware acceleration actually slows things down.  Also the hardware code has bugs in it that prevents me from opening massive images (eg, 21600 x 21600 image crashes).

    Edit, preferences. Everything is there to play with

  • How to disable checking for sites security certificates

    I work in a company which manipulates its server in a way to make all unwanted sites look like not having a valid certificate so when I try to open them like gmail site I get a message that this site doesnt have a valid certificate and firefox - or any other browser- dont open the site. The question is: how to disable this feature in firefox to stop looking for sites certificates or doesnt care about them?

    Exporting a root certificate in another browser would only be helpful if it did work in that browser.
    If it happens in other browsers as well then it would be of any help.
    I'm not seeing the button to add an exception as that would allow to inspect the certificate in the Certificate Manager.
    Is that specific page opened in an (i)frame?
    If "I Understand the Risks" is missing then this page may be opened in an (i)frame and in that case try the right-click context menu and use "This Frame: Open Frame in New Tab".

  • How to disable the new logon Window in Adobe Reader 11?

    Some times, some corporate guys get an idea - and no one is around to stop them.
    For some reason, there's now a logon window in Adobe Reader taking up 1/3 of the screen...and it can't be disabled. Which mor....person...ever thought of something like this?
    So my natural question: how does one disable it? And how can this setting be spread out through a Windows domain? Is there any registry setting which can be used to disable it?

    Can you post a screenshot of that logon panel?  Never seen that before...

Maybe you are looking for

  • Applications freezing... Then they will not quit.

    I have looked around in the forums and have found similar problems, but the solutions offered did not really help my problem. I have encountered this problem most of the time when I am using firefox, but it is not limited to firefox. I will be browsi

  • Can i do work on my mac while it is backing up with time machine?

    can i do work on my mac while it is backing up with time machine?

  • Forwarding agent product quota allocation

    Hi, Client allocates the quantity to Forwarding agent (forwarding agent quota) on every day. Based on allocation, shipment document is created. How can I achieve this in SAP? Where we can set the quantity against the forwarding agent? Should I need t

  • Group by trunc(date)

    Hi, lets say I have a source table like this Customer _ TimeStamp ________ BillAmount 001 ______ 01/01/2012 11:00 __ 100,00 001 ______ 01/01/2012 17:00 __ 150,00 I want to load a destination table like this Customer _ Date ________ BillAmount 001 ___

  • How do I overcome error "files in use Reader" when downloading 10.1.4?

    How do I overcome an error "files in use Reader *" when attempting to download Reader 10.1.4? Reader 8 not in use, but is installed.  All I want to do is upgrade to 10.1.4.  Why do I get sudn an error anyway?