How to manual purge WRH$_SQL_PLAN old data from sysaux - Need help urgently

Hi All,
In our production environment, we're encoutner SYSAUX tablespace high usage, the sysaux occupant show that the WRH$_SQL_PLAN occupied more than 50GB,
we have logged a SR to oracle since last year Novemember, unfortunetly they're not able to provide any solution right now, they have asked us applied a lot of patch/workaround
but still we found that the WRH$_SQL_PLAN never get purged at all, the old snap id not purge since 2011 June till now, and oracle auto purge keep failure everytime.
Below is the top 5 occupant in SYSAUX.
SEGMENT_NAME|SEGMENT_TYPE|GB
SYS_LOB0000005981C00038$$|LOBSEGMENT|26.484375
WRH$_SQL_PLAN|TABLE|19.0712890625
WRH$_SQL_PLAN_PK|INDEX|8.3974609375
Just would like to check anyone facing the same issue? And how to resolve it?
We have applied below oracle patch but still not resolve the issue:
- Stats history retention reduced to 8 days, AWR historical retention reduced to 4 days
- Patch 8553944 deployed on Nov 2011 issue unresolved, continue investigation with Oracle Support
- Patch 6394861 deployed on December 10, 2011, issue unresolved, continue investigation with Oracle Support
- Event 10445 enabled as part of patch 6394861 on January 15, 2012, issue unresolved, continue investigation with Oracle Support
- New bug 13788152 logged by Oracle Support to Development on Feburary 2012, pending findings from Oracle Development
I would like to know any efficient way we can manual purge the WRH$_SQL_PLAN table (LOB segment) manually? Thanks in advance
Regards,
klng

>
I would like to know any efficient way we can manual purge the WRH$_SQL_PLAN table (LOB segment) manually? Thanks in advance
>
I would be very cautious about doing anything if Oracle support hasn't been able to help you.
That said, you might want to take a look through this blog that shows how another user did it.
http://juniororacledba.wordpress.com/2011/07/28/oracle-optimizer-stats-not-being-purged/
Edited to add missing link by: rp0428 on Apr 23, 2012 8:16 PM

Similar Messages

  • Deleted phone data from icloud, needs help

    I deleted my iphone data from my icloud so it could backup without me purchasing more storage.  Now that I did that, I'm not able to sign into my cloud. Is there a way I can get back in my cloud and back up using the same log in? I keep getting that my email is already on my phone and on my laptop i get 'manage account and send an anonymous diagnostic information to Apple' is there anything I can do to rectify this issue?

    If you have an iCloud backup that was made while the calendar was still on your phone, you might be able to recover it from the backup by following this: Recovering deleted iCloud contacts from an iCloud backup.  (This user tip was written to restore contacts from an iCloud backup, but the same process can be used to recover calendars.  Just substitute calendars for contacts.)

  • How do i transfer all my old data from my old computer to my new one?

    I recently purchased a new computer and have all my iPod data on that computer but now want all that data removed from that computer and put on this one. Is this possible? If so can you tell me how to do it. I own an iPod Mini

    Your best bet is probably to use your iPod Mini in disk more to move all the files from one computer to another. This article can show you how:
    http://docs.info.apple.com/article.html?artnum=93651

  • 2 month old date from current date in red color only

    Hi all,
    How can I Highlight 2 month old date from current date in red color only at report level with using Alertr.
    Example:-
    Date
    3/27/2014
    4/3/2014
    3/5/2014
    4/1/2014
    3/31/2014
    5/24/2013
    2/10/2014
    4/11/2014
    12/11/2013
    9/25/2013
    1/30/2014
    2/18/2014
    2/24/2014
    1/6/2014
    3/3/2014
    Thanks
    Sam

    Hello Sam,
    are you using Universe for your report..if Yes..pls try below option.
    Create two objects in the universe
    Object1 syntax: current date() (Note:this object you can create at webi level)
    Object 2 syntax:addmonths(sysdate;-2)
    Now create a alert in webi report by using below conditions
    Day is less than Object1
    and
    Day is greater than Object2
    Please try this and let me know if any issues.
    Regards,
    Naveen D

  • ICloud storage space used up by old data from 1st gen iPad I traded in nearly 2 yrs ago for an iPad Mini. Can't backup any info for mini or new 6 plus. How can I access this old data to clear it out?

    My iCoud storage space is being used up by old data from a 1st  generation iPad I traded in nearly 2 yrs ago for an iPad Mini. The people at the sprint store where I made my trade were supposed to transfer everything over from my old iPad to the new Mini once they backed up the old device to iCloud. Well, long story short, none of the data ever got transferred to the new iPad, but it all got backed to iCloud, eating up all my storage space. Here I am almost 2 years later, and I've never been able to back-up my iPad mini. What's worse, My iPhone 4 wasn't backed up that whole time, and now I can't back-up my data from my new iPhone 6 Plus to iCloud either. Trying to find creative ways to store and save my information and data between all my devices is getting to be ridiculous. I don't want to upgrade my storage space though...just want to clear out a great deal of what is already being stored. How can I access this old data to clear it out?

    The only way to access data from an iCloud backup is to restore it to your device.  You could, for example, back up your iPad mini to your computer using iTunes (by connecting it, opening iTunes, then going to File>Devices>Back Up and choosing to back up apps and transfer purchases when prompted), then erase it and restore the old iPad backup (as explained here: iCloud: Restore or set up your iOS device from iCloud), save any recovered data you want to keep, then restore your iTunes backup back to your iPad mini (by connecting it to your computer, opening iTunes, then going to File>Devices>Restore from Backup).
    Once you're done with the old backup, delete it from your account to free up the space.

  • How do i get my songs and data from my old mac onto my pc so that i can copy it onto my new ipod touch

    how do i get my songs and data from my old mac onto my pc so that i can copy it onto my new ipod touch

    jrswish wrote:
    When I plugged in my new one it cleared all my song and apps out of my current itunes.
    Are you sure of that?  Check in the Library.  Click on the Apps icon to see all apps.  Similarly click on the Music icon to see the songs.

  • HT4946 how can i get back my old data on my iphone

    Can anyone please help me about my problem about how to restore or get back my old data from my iphone 4?

    http://support.apple.com/kb/HT1766

  • HT1688 how do I transfer apps, messaging, and data from my old iphone to my new iphone

    how do I transfer apps, messaging, and data from my old iphone to my new iphone

    firstly sync your old iphone,then connect your new iphone and sync from backup.

  • How do I transfer my applications and data from one Mac to another?

    I am buying a new Macbook, anyone know how do I transfer my applications and data from old MacBook to New one?

    Or you can be guided bt this 'officail' Apple support document:
    http://support.apple.com/kb/PH4441
    Ciao.
    Csound 1 greetings:  Nothing wrong with a little plagiarism.

  • OS 10.5.8 Leopard. Recovering old data from Time Machine after HD replacement.

    Okay, I have and iMac dual core Model A1224, EMC 2210, 20" screen, 2.66GHz processor, 2GB RAM, came, when I bought it, with a 500 GB drive circa late 2008. The drive started to fail about 2 weeks ago, random shut downs, wouldn't boot up, couldn't find the OS. Could sometime recover booting up from the original OS disk in the C drive, but eventually even that failed. Had run disk first aid and TechTool Pro6 to no avail, they all passed the drive so it was a mechanical failure,not bad sectors.
    REPLACED the drive with a brand new Seagate Barracuda 1TB drive, figured I was all set, Time Machine had backed up the old drive every day since 2009 to an external 1TB drive. I could even see the data there. Now new drive is installed and I need to load the OS to it and retrieve my data from Time Machine. Put in the old disk, Leopard 10.5.1, and walked along and asked it to bring in the data from Time Machine.... except, the data is saved on Time Machine in a new version of Leopard, ver. 10.5.8 and so the 10.5.1 version can't import it, but of course Migration Assistant will allow you to import it later.
    So, I continue to load the OS via the disk, then go to software update after creating a new computer name, which I didn't want to do. Updated the software so I am now running OS 10.5.8, open Migration Assistant and attempt to migrate / recover the old data from Time Machine. I can get some stuff, but it insists on my resetting everything up all over again, all new accounts in Quicken and Thunderbird and Microsoft Office, no recovery of data already there and I can't access the accounts that were set up by others, it indicates I don't have sufficient privileges though I was an Administrator on the old computer and on the current system as well.
    Frankly, I need that old data, so how do I get it? Do I bite the bullet and upgrade the system to Snow Leopard OS10.6.XX, will that allow me access to old data under OS 10.5.8? Will it be backwards compatible? How about moving up to Lion? Would that be a better way to go and will I be able to recover that old data then?
    VERY frustrated here! Thanks for help or direction you all can provide.

    HI,
    Have you looked through Pondini's extensive TM help site?
    http://Pondini.org/TM/FAQ.html
    http://pondini.org/TM/Troubleshooting.html
    Can't imagine what he hasn't covered!

  • Best way to remove old data from db?

    Hi,
    I am looking some ways to keep my database small and remove old data from database and archive it somewhere else. the data may need to be put back to the database in the future. One of the things I am conserned is how to enforce constraints? In other words, when I remove data, all the related pk/fk data should be removed together. Any suggestions will be greatly appreciated.
    Thanks

    hope this may help u
    concept is : exp/imp & truncate will reclaim the space
    method1
    do an export and secure the dump(say dump1) for future purpose.
    delete the unwanted data.
    commit.
    now again export the tables ( say dump2).
    now do the import(dump2).
    /*now this import will reclaim the the unused space.*/
    method 2
    /* depennded on volume of data */
    -- create backup of existing table for future
    create table backup_table nologging as select * from original_table;
    -- create copy1 of existing table
    create table copy_table nologging as select * from original_table;
    -- truncate the original table, so that highwater mark is reset.
    truncate table original_table;
    -- insert data from copy_table into original table
    insert /*+ APPEND */ into original_table select * copy_table where(ur conditions for data);
    commit all the work.
    /* now u have 3 tables
    backup_table - with all the data - for future reload
    original_table - with unwanted data deleted and space reclaimed.
    copy_table - copy of original table.
    now u drop the copy_table
    drop table copy_table;
    regards

  • How to transfer game app including its data from an ipad to another?

    how to transfer game app including its data from an ipad to another?

    Do both iPads use the same Apple ID?
    How to Transfer Everything from an Old iPad to New iPad
    http://osxdaily.com/2012/03/16/transfer-old-ipad-to-new-ipad/
    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device
    http://support.apple.com/kb/HT2109
    Moving Content to a New iPad
    http://tinyurl.com/qzk2a26
    How to Transfer App Data and Game Saves from One iOS Device to Another
    http://lifehacker.com/5891964/can-i-transfer-app-data-and-game-saves-from-my-iph one-to-a-new-ipad
    How to transfer data from your old iPad to your new iPad
    http://www.imore.com/how-transfer-data-your-old-ipad-your-new-ipad-air-or-retina -ipad-mini
    Transferring your prepaid cellular data account depends on your carrier. AT&T lets you move it yourself when you go to Cellular Data in Settings and log into your account with your previous AT&T user name and password. For iPads with Sprint service, you can set up an account on the new iPad and contact Sprint Customer Care (888-211-4727 and go through the menus) to deactivate the old plan and get credit for unused service. For Verizon, call the company’s customer service number for mobile broadband support (800-786-8419) and ask to have your account transferred.
     Cheers, Tom

  • HT1766 I have forgotten my iPhone backup password. Is there a way of getting it as I am trying to load my old data from iPhone 4 to an iPhone 5?

    I have forgotten my iPhone backup password. Is there a way of getting it as I am trying to load my old data from iPhone 4 to an iPhone 5?

    If on a Mac, and you elected to save such to your Keychain, you can recover it from your Keychain. Otherwise, you can't.
    While you can continue to sync/backup, if you can't remember it & want to remove it, you'll have to delete your existing backups & restore the phone as a new device. Your data will be unrecoverable.

  • How is the best way to read data from an iphone if you lost your itunes data after a crash?

    How is the best way to read data from an iphone if you lost your itunes data after a crash?

    How is the best way to read data from an iphone if you lost your itunes data after a crash?

  • How to make users to select the date from calendar control my making the date field read only in date time control in external list in sharepoint 2010

    How to make users to select the date from calendar control only, by my making the date text field read only (don't want to let users type the date) in date time control in external list in sharepoint 2010. I am looking for a solution which can
    be done through sharepoint desginer / out of the box.
    thanks.

    Congratulate you got the solution by yourself. I am new to a
    WinForms calendar component, I feel so helpless on many problems even I'd read many tutorials. This question on the
    calendar date selection did me a great favor. Cheers.

Maybe you are looking for

  • Horrors: How do I get all my original photo files back out of iPhoto 9.1.2?

    In my heart I KNEW I should never have upgraded iPhoto when the update came in for 9.1.2. But I had no idea what it was going to do. Now, to my horror, I have found out. It has EATEN all the original photo files in my Home/Pictures folder and hidden

  • The file "itunes library" could not be read

    I just barely got a brand new mac and transferred my files from my old mac electronically via the prompt when initially starting up the computer through the wireless connection. I just tried to open iTunes for the first time and it won't open because

  • SQL Injection threat with APEX developed applications

    We are using a tool, HP WebInspect, to scan some of our APEX developed applications for web application security testing and assessment. We are getting some critical and high vulnerabilities identified (see below) and would like to know if someone el

  • Upgrade from APEX 3.0.0 to 3.1.0 causes problems with applications

    Hello everyone, We have recently upgraded our dev environment from APEX 3.0.0 to 3.1.0. The upgrade went through sucessfully, but the applications that were developed in 3.0.0 are not functioning in this upgraded dev environment. When I run the pages

  • RE:Web dynpro in ABAP

    Hi all, What is the use of component controller,custom controller and interface controller.In wht senarios we use them.Also please explain about its visibility with other components.. Regards, Alex.