Does plan_table cleared or purged automatically?

what is the restriction or limitation of using plan_table? Any links would be appreciated too!
I am referring to the default plan_table!
Thanks

As stated in the docs, the PLAN_TABLE is automatically created as a global temporary table, so as a consequence that data is lost when the session is ended as it was private to the session.
[Plan Table Docs|http://www.oracle.com/pls/db112/to_URL?remark=ranked&urlname=http:%2F%2Fdownload.oracle.com%2Fdocs%2Fcd%2FE11882_01%2Fserver.112%2Fe10821%2Fex_plan.htm%23PFGRF94674]
Connected to Oracle Database 11g Enterprise Edition Release 11.1.0.6.0
Connected as fsitja
SQL> explain plan for select 1 from dual;
Explained
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 1388734953
| Id  | Operation        | Name | Rows  | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT |      |     1 |     2   (0)| 00:00:01 |
|   1 |  FAST DUAL       |      |     1 |     2   (0)| 00:00:01 |
8 rows selected
SQL> disc
Not logged on
SQL> conn fsitja/xxxxxxxxx@ORCL
Connected to Oracle Database 11g Enterprise Edition Release 11.1.0.6.0
Connected as fsitja
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Error: cannot fetch last explain plan from PLAN_TABLE
SQL> select count(*) from plan_table;
  COUNT(*)
         0
SQL>

Similar Messages

  • FRA - Does the archives get purged automatically

    Hi ,
    We have a datagurad setup . Primary and standby . FRA has been confiured on both primary and standby . RMAN backup is configured for primary . We are not taking standby database backup .
    I would like know whether the archivelogs on standby will be purged automatically by oracle when the FRA gets full , or do we have to manually clean up the archive logs.

    AFAIK, you will need to manually clean up the archive logs.
    You could have it done automatically if you have either setup a detention policy for your FRA and scheduled a job that deletes obsoleted files upon the policy or using a batch file do the work and schedule it to be executed periodically in order to keep your FRA clean and save disk spaces.
    Well, this is my opinion. Let's see what others have a say on this.

  • Clearing Safari Cache Automatically when it Quits

    I work for a school district that uses Safari 2.0.4 on eMac’s running 10.4.7 and 10.4.8 and the students have their network home folders located on a 10.4.8 Server.
    I would like to have Safari clear its cache every time a student quits Safari or logs out, but don’t see a way to have this done automatically. Is there a script or utility out there that clears the cache automatically?
    Thanks for the help!

    Hello again,
    Ok, let's give this a go then
    Personally, for editing scripts I like to use the command line 'vi' editor, but for starting with that may scare you off so lets use the regular TextEditor application for the time being.
    Fire up TextEditor and open a new document. Change the type of the document to be a plain text file. This can be done via the Format menu -> Make Plain Text option (if it says Make Rich Text, then the file is already in plain text mode).
    In the editor, copy and paste the following, but remove the line numbers I've added:
    1 #!/bin/bash
    2
    3 logFile=/tmp/SafariCleanerLog.txt
    4
    5 echo "-----------------" >> $logFile
    6 echo `date` >> $logFile
    7 echo "" >> $logFile
    8 echo "Deleting Safari cache files in: $HOME/Library/Caches/Safari/" >> $logFile 2>&1
    9 echo "" >> $logFile
    10
    11 rm -rf $HOME/Library/Caches/Safari/* >> $logFile 2>&1
    Some lines may appear to wrap around in the webpage, so use the line numbers as your guide to know if something is supposed to fit on one line or not.
    This is what it does:
    - The 1st line indicates what particular shell application to use to execute this script (/bin/bash in this case)
    - The 3rd creates a variable that I'm using to store the path to a log file for what this script is doing
    - Lines 5 to 9 append some logging information to the logfile we've decided to report to
    - Line 11 does the actual deletion of the Safari cache files. rm is short for remove, aka delete, and the -rf means recursively (i.e. all subdirectories in the Safari cache folder) and forceably (i.e. don't askif you are sure for each and every file). The cryptic 2>&1 at the very end is to make any error messages that rm might generate appear in our logfile. If you try out the commands to see how they work, please please please be very careful with rm, once a file has been rm'ed its gone - it doesn't go to the Trashcan
    Note that if you want to see more about what each of these commands do, you can use the man pages either from the Terminal itself or here. ('echo' is a built-in command to bash, so you would need to read the bash manpage for information on that)
    Ok, so now we have a script. Save that on your Desktop with a name that makes sense for you (e.g. SafariCacheCleaner.sh - sh is the standard extension used to indicate something is a script, it's not required)
    Now we need to execute a few Terminal commands to make this work when a student logs out. Fire up the Terminal from /Applications/Utilities/Terminal.app
    The first thing we need is somewhere to place the script that is out of bounds to regular users, students, etc. OS X already has an area for scripts in /Library/Scripts/, so you may want to create your own area under this folder. For example, I created a 'Custom' folder via the following:
    sudo mkdir /Library/Scripts/Custom
    You may want to replace Custom with something else, like SchoolAdmin for instance. sudo is a command that gives the executor temporary administration rights. When you press return after typing the above command, you will be asked for a password - enter the password for your current user account and press return (note that you will not see anything appear in the Terminal while you are typing, this is a security feature).
    Next up, we need to copy the script to this location and give it the correct permissions to be executed:
    sudo cp ~/Desktop/SafariCacheCleaner.sh /Library/Scripts/Custom/
    sudo chmod 755 /Library/Scripts/Custom/SafariCacheCleaner.sh
    In this case, sudo will probably not prompt you for the password as it trusts access for a few minutes. If you leave things for, say, 10 minutes, it would ask you for your password again.
    cp is the command for copying files/folders.
    chmod is used to change permissions on a file. In this case, 7 means the owner of the file can write/read/execute the file, the first 5 means anyone in the same unix group as the owner can read/execute the file and the second 5 means everyone else can read/execute it.
    Lastly, we need to tell OS X that we want this script to run everytime a user logs out. This can be done with the following command (this is one long line that the browser may wrap):
    sudo defaults write com.apple.loginwindow LogoutHook /Library/Scripts/Custom/SafariCacheReset.sh
    Hopefully, that should be it. You can test it out by logging out of your account and logging back in. The /Users/YourUsername/Library/Caches/Safari/ should be sparkling clean now.
    I've tried to be a bit verbose to explain what's going on, so it's not as complex as it may look at first.
    If you have any questions at all, feel free to ask - it's better to be sure of what you are doing when it comes to the Terminal sometimes.

  • OB52 Posting Period Close:  Does anyone know how to automate the close?

    Does anyone know how to automate the FI Period Close (trans code OB52)?  Currently, the business users go into the screen and open and close any periods manually.  For the MM period close, we are able to do so because we found the program to use in the batch job.  For some reason, the FI side shows the program SAPL0F00 but this is only a view and will not allow a batch job to be created.  Does anyone know of the actual program used for the FI period close?

    Use program RFPERIOD_OPEN.  It may help.  For further details you may check the following thread.
    RFPERIOD_OPEN

  • Deleted items would not be purged automatically after 30 days

    On my Exchange 2013 ECP, I went to Servers->Databases, then double click to open one of the databases listed, I then clicked Limits, under "Keep
    deleted items for (days):", I set it to 30 days. But the deleted items in Outlook or OWA did not get purged automatically even it's over 30 days.
    Is there anything I missed? Thanks much in advance!
    Lawrence Fung

    Hi.
    I am giving you this procedure without details but I suggest you read the white paper. Message Retention Management is a topic that impacts greatly on the business.
    Retention policies are an enterprise license feature.
    In the EAC, under compliance management -> retention tags:
    1 - Create a retention tag that delete Trash message after 30 days (similar to "30 Days Delete" but applies to Default Folder Trash);
    2 - Create a retention tag that delete Inbox message after 2 years;
    In the EAC, under compliance management -> retention policies:
    3 - Create a new Retention Polcy including the two Tags just created;
    Apply the newly created retention policy to the Mailbox (recipients -> mailboxes -> mailbox properties -> Mailbox Features -> retention Policy).
    Rocco Daniele Ciaravolo
    Cle IT staff

  • FINSTA Bankstatement does not clear Open Items

    Dear SAP guru,
    I am experiencing an issue where FINSTA bankstatement generated in IHC module does not clear Open items in reciving company code. I would like to get the system to search for the document based on the original FI document number and clear it. The situation is
    The bank statement successfully processed has an original document number and processed.
    In IMG for EBS, I configure as algorism used is 20 - Document number search and Bank Posting type 4: Clear Debit GL account
    Clearing account -  and have the posting with relevant document number matched with the bankstatement.
    It seems that the system does not find the matching at all.
    Could any of you shed some light on what I am missing???
    Kind regards
    Taro

    Creating or even using something like a data migration account is the best way.
    Are you saying that you have a GL account with say 100 line items and you want them all cleared. If that is the case you wont need a LSMW, make sure you know the amount, and then create a journal posting to your new GL account, and select all items in the GL account you want to clear.
    If there are various GL accounts, again no real problem, in F-03 which is what you would be using, you can enter more than GL account so that should not be an issue.

  • Why does iTunes no longer open automatically when iPad is connected?

    Why does iTunes no longer open automatically when iPad is connected? and iPhone as well?  Setting to "auto open" is selected, but iTunes will not open automatically. Problem seems to have begun with upgrade to Lion.

    Good luck getting an answer...I posted the same question a day ago.   I can only assume it's a glitch in iTunes 10.5.

  • Hi i am have had a lot of trouble emptying my trash. when i go to put something in there it asks from my password and the item goes off the screen, but this does not clear any space on the hard drive.

    Hi i am have had a lot of trouble emptying my trash. when i go to put something in there it asks from my password and the item goes off the screen, but this does not clear any space on the hard drive.

    1. Triple-click the line below to select it:
    ~/.Trash
    2. Right-click or control-click the highlighted line and select
    Services ▹ Show Info
    from the contextual menu. An Info dialog should open.
    3. The dialog should show "You can read and write" in the Sharing & Permissions section. If that's not what it shows, click the padlock icon in the lower right corner of the window and enter your password when prompted. Use the plus- and minus-sign buttons to give yourself Read & Write access and "everyone" No Access. Delete any other entries in the access list.
    4. In the General section, uncheck the box marked Locked if it's checked.
    5. From the action menu (gear icon) at the bottom of the dialog, select Apply to enclosed items and confirm.
    6. Close the Info window and test.

  • MQ Adapter does not clear the rejected message from the queue

    Hi All,
    I'm using a MQ Adapter to fetch the message from the queue without any Backout queue configured. However, whenever there is any bad structured message found in the queue, MQ adapter rejects the message and moves the message to the rejmsg folder but does not clear it off the queue, as a result of which it keeps retrying the same hence, filling the logs and the physical memory. Somehow we do not have any backout queue configured so I can move the message to blackout queue. I have tried configuring the jca retry properties and global jca retry as well but to no avail.
    - Is it not the default behaviour of MQ Adapter to remove the rejected message from the queue irrespective of Backout queue is configured or not? The same behaviour working well with the JMS and File Adapter though.
    - Is there any way I can make MQ Adapter delete the message from that queue once it is rejected?
    Regards,
    Neeraj Sehgal

    Hi Jayson,
    Check this URL which answers a problem with com.sap.engine.boot.loader.ResourceMultiParentClassLoader problem:
    http://209.85.175.132/search?q=cache:RnFZ9viwuKkJ:https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.sdn.folder.sdn!2fcom.sap.sdn.folder.application!2fcom.sap.sdn.folder.roles!2fcom.sap.sdn.folder.navigationroles!2fcom.sap.sdn.role.anonymous!2fcom.sap.sdn.tln.workset.forums!2fforumtest!2fcom.sap.sdn.app.iview.forumthread%3FQuickLink%3Dthread%26tstart%3D45%26threadID%3D1020700+com.sap.engine.boot.loader.ResourceMultiParentClassLoader&hl=en&ct=clnk&cd=3&gl=in&client=firefox-a
    Please check that the JDK compliance level is at 5.0
    Window->Preferences->Java->Compiler->Compiler compliance level set this to 5.0
    Set the installed JRE to the one you have mentioned JDK 5.0 update 16
    Window->Preferences->Java->Installed JRE's->
    Click on the add button to select the path of your JDK.
    once completed click on the check box next to it.
    regards,
    AKD

  • After hiighlighting a word and pasting it into another document, the clipboard does not clear ;when I hit enter it pastes again and again. How do I fix it?

    When I highlight a word or phrase and copy to the clipboard, then paste it in another area the clipboard does not clear the phrase. Therefore, every time as I type and hit the enter key it continues to paste the phrase all over my document. I do have the latest download of Firefox installed (16.0, win 7 and that is when this started. How do I stop this obnoxious behavior so I can type a sentence with normalcy?
    Louise

    Thank you, Iusually do that first thing with any computer problems. Old school computer fix. Hard Boot regardless! lol Thanks again.

  • Phone reset does not clear status screen

    we have a couple of applications that reset the phones. we have noticed that a reset on a 7941 does not clear the display (that is, the old message "Resetting, please wait ..." remains on the screen). The 7940s and 7960s are fine. does anyone know why this is?
    Version in use is:
    Load File TERM41.7-0-2SR1S
    App Load ID Jar41.72-1-0-1.sbn
    JVM Load ID cvm41.72-1-0-1.sbn
    OS Load ID cnu41.72-1-0-1.sbn
    Boot Load ID boot41.3-2-2-0.bin
    I also have tried SCCP41.8-2-2S
    And SCCP41.8-0-4SR3AS
    (These are the latest available on CCO)

    Marc,
    The Factory reset or Restore to Factory defaults is geared towards the "Configuration" of the DMP.  The contents within flash are not removed as you have seen.  The FAQ that you reference is a good way to remove the files if so desired.  So the DMP is working as designed.
    If this answers your question, Please take time to mark this
    discussion answered & rate the response.
    Thank You!
    T.

  • BADI ME_PROCESS_PO_CUST - DOES NOT CLEAR OUT ERROR

    In ME21N I want to validate the field Commodity Code - STAWN. I have used the BADI ME_PROCESS_PO_CUST*
    . Have used get_foreign_trade() in the PROCESS_ITEM method . I am able to throw an error . It is doing it but*
    after throwing error then when we give a valid Commoditycode too it is still showing the error and not clearing the error  .*
    As suggested by Dean Q I used   INCLUDE mm_messages_mac,
    tried im_item->set_foreign_trade( ls_mepo_eipo)  still when a valid Commodity code is entered after an invalid one  it does not clear out the error. In fact on checking using break-point I found that the second time it does not enter into the method  PROCESS_ITEM.    Any help is welcome
    Nivedita

    Hi,
    In SE18 give ME_PROCESS_PO_CUST as the enhancement spot and display. At the left side of the screen you can see the badi definition ME_PROCESS_PO_CUST. Expand the tree and double click on implementations. You can see the enhance implementations created. Double click on the enhancement implementation and in that screen there is a check box 'Implementation is active' and field 'Effect in current client'.
    If you know the enhancement implementation name(not the badi implementation name), you can check it directly from se19.
    Regards,
    Poornima

  • I have passed my iphone to my partner. How does she clear the phone and set up her own itunes account

    I have upgraded my iphone and have given it to my partner. How does she clear the phone and start from scratch with an itunes account. Thank you.

    ERASE / Clear All Data
    Go to Settings > General > Reset > Erase all content and settings
    Then Connect to iTunes on their computer.
    Syncing with iTunes
    From Here  >  http://www.apple.com/support/iphone/getstarted/

  • Defered COGS does not clear

    Hi Gurus,
    I am seeing sporadically DCOGS account does not clear causing balance in GL . I am looking to see problamatic transactions from GL.
    I have done sanity check from Cost Management with COGS Process , Revenue Recognition and Generate COGS Events. All looks good
    Here is the case - I have the DCOGS GL account having the balance. I can drill down but how to identify which are the transactions thats causing this balance?
    Drill down shows all the transactions but doesnt have capability to show stuck transactions. Are there any tables that helps in seeing this details?
    Any one who has more inputs on this issue , I appreciate the help.
    Thanks
    Raghavendra

    Hi Raghavendra,
    You may benefit from the following oracle support document:
    Identify the Sales Order Issue Transactions that have been finally accounted but have no Revenue Recognition Transactions i.e. COGS or DCOGS (Doc ID 1616456.1)
    However, functionally, I usually like to track deferred COGS through "COGS Revenue Matching Report" as it gives me direct information on what orders have been earned (revenue recognition) and still have DCOGS
    "This report in Cost Management responsibility"
    Hope this helps you
    Regards

  • Why Software Updater does not install some updates automatically?

    QuestionWhy Software Updater does not install some updates automatically?
    AnswerSoftware Updater only installs security-related updates automatically. Non-security-related updates, and service packs installation are required to be initiated manually via the Software updates tab under the Policy Manager Console.
    In Policy Manager 12, a checkbox Show non-security-related updates has been introduced under the Policy Manager Console > Software tab. Unchecking the checkbox hides the following update types:
    Microsoft security tools
    Non-security updates
    Service packs
    Note: This checkbox is Policy Manager Console-specific setting. If you change the setting in one Policy Manager Console, it would not affect another Policy Manager Console connected to the same Policy Manager Server.

    amrok90 wrote:
    Updater does not detects 5800. I've reinstalled everything as it's stated (as, according to FAQ, sometimes the drivers may get corrupt). Restarted the PC. Nothing happened. 
    Presumably FOTA not an option for your 5800XM?
    Happy to have helped forum with a Support Ratio = 42.5

Maybe you are looking for