How to manualy delete histograms in 10.2.0.3 .
Hi,
I've got serious issue with my 10.2.0.3 4 node rac .
The problem is rowcache size in particular dc_histogram_defs :
CACHE# TYPE SUBORDINATE# PARAMETER COUNT USAGE FIXED GETS GETMISSES SCANS SCANMISSES SCANCOMPLETES MODIFICATIONS FLUSHES DLM_REQUESTS DLM_CONFLICTS DLM_RELEASES
16 PARENT dc_histogram_defs 1116884 1116884 0 38680620 19580733 0 0 0 113607 113605 19847714 15495 18387433
8 PARENT dc_objects 55757 55757 55 426334 66078 0 0 0 8796 7012 80957 2936 3444
2 PARENT dc_segments 52442 52442 0 1923667 576468 0 0 0 477486 477444 1484668 2654 505099
16 SUBORDINATE 0 dc_histogram_data 33784 33784 0 1051801 118655 0 0 0 10468 8652 0 0 0
8 SUBORDINATE 0 dc_object_grants 903 903 0 23537 905 0 0 0 0 0 0 0 0
16 SUBORDINATE 1 dc_histogram_data 722 722 0 99115 4372 0 0 0 3026 2736 0 0 0
11 PARENT dc_object_ids 569 569 55 986083 8803 0 0 0 2566 2409 14155 128 4728
3 PARENT dc_rollback_segments 411 411 1 1176543 600 0 0 0 158 157 1161 190 0
10 PARENT dc_usernames 259 259 0 128026 294 0 0 0 0 0 294 0 35
6 PARENT dc_files 208 208 0 2912 208 0 0 0 0 0 208 0 0
17 PARENT dc_global_oids 123 123 0 105714 158 0 0 0 0 0 158 0 35
7 PARENT dc_users 91 91 0 3180849 238 0 0 0 23 23 288 3 144
24 PARENT outstanding_alerts 82 82 0 14220 13120 0 0 0 44 44 26935 13009 2
7 SUBORDINATE 1 dc_users 81 81 0 1175519 169 0 0 0 0 0 0 0 0
5 PARENT dc_tablespace_quotas 56 56 0 679614 114 0 0 0 3150 3150 192726 55 3
0 PARENT dc_tablespaces 44 44 0 2728891 114 0 0 0 0 0 114 0 70
7 SUBORDINATE 0 dc_users 29 29 0 49971 97 0 0 0 0 0 0 0 0
12 PARENT dc_constraints 24 24 0 9850 4050 0 0 0 9848 9828 16352 161 598
13 PARENT dc_sequences 11 11 0 12824 273 0 0 0 12824 12824 23197 258 4
15 PARENT dc_database_links 4 4 0 2318544 42 0 0 0 0 0 42 0 38
22 PARENT dc_awr_control 1 1 0 1654 41 0 0 0 16 16 73 40 0
14 PARENT dc_profiles 1 1 0 25642 5 0 0 0 0 0 5 0 4
25 PARENT dc_hintsets 0 0 0 0 0 0 0 0 0 0 0 0 0
19 SUBORDINATE 0 dc_partition_scns 0 0 0 0 0 0 0 0 0 0 0 0 0
7 SUBORDINATE 2 dc_users 0 0 0 0 0 0 0 0 0 0 0 0 0
34 SUBORDINATE 0 realm auth 0 0 0 0 0 0 0 0 0 0 0 0 0
36 SUBORDINATE 0 Realm Subordinate Cache 0 0 0 0 0 0 0 0 0 0 0 0 0
32 PARENT qmtmrctq_cache_entries 0 0 0 0 0 0 0 0 0 0 0 0 0
31 PARENT qmtmrciq_cache_entries 0 0 0 0 0 0 0 0 0 0 0 0 0
30 PARENT qmtmrctp_cache_entries 0 0 0 0 0 0 0 0 0 0 0 0 0
29 PARENT qmtmrcip_cache_entries 0 0 0 0 0 0 0 0 0 0 0 0 0
28 PARENT qmtmrctn_cache_entries 0 0 0 0 0 0 0 0 0 0 0 0 0
27 PARENT qmtmrcin_cache_entries 0 0 0 0 0 0 0 0 0 0 0 0 0
23 PARENT dc_qmc_ldap_cache_entries 0 0 0 0 0 0 0 0 0 0 0 0 0
9 PARENT dc_qmc_cache_entries 0 0 0 0 0 0 0 0 0 0 0 0 0
21 PARENT rule_or_piece 0 0 0 0 0 0 0 0 0 0 0 0 0
20 PARENT rule_info 0 0 0 0 0 0 0 0 0 0 0 0 0
26 PARENT global database name 0 0 0 0 0 0 0 0 0 0 0 0 0
39 PARENT audit collector 0 0 0 0 0 0 0 0 0 0 0 0 0
38 PARENT format 0 0 0 0 0 0 0 0 0 0 0 0 0
37 PARENT event map 0 0 0 0 0 0 0 0 0 0 0 0 0
36 PARENT Realm Object cache 0 0 0 0 0 0 0 0 0 0 0 0 0
35 PARENT Command rule cache 0 0 0 0 0 0 0 0 0 0 0 0 0
34 PARENT realm cache 0 0 0 0 0 0 0 0 0 0 0 0 0
18 PARENT dc_outlines 0 0 0 0 0 0 0 0 0 0 0 0 0
19 PARENT dc_table_scns 0 0 0 2170 2170 0 0 0 0 0 2170 0 0
33 PARENT kqlsubheap_object 0 0 0 0 0 0 0 0 0 0 0 0 0
21 SUBORDINATE 0 rule_fast_operators 0 0 0 0 0 0 0 0 0 0 0 0 0
1 PARENT dc_free_extents 0 0 0 0 0 0 0 0 0 0 0 0 0
4 PARENT dc_used_extents 0 0 0 0 0 0 0 0 0 0 0 0 0We are getting row cache locks (rac node hangs for 30 min or so) them we got 04031 error (space problem in shared pool which is 5GB, with 15% reserver for reserved size) .
This is data warehouse with hundreds of tousands of object.
I came to idea that we should delete majority of histograms, but usual delete via delete_table_Stats makes us
to recalculate statistics on whole table (with size 1) and thats is huge impact and time consuming task.
So is there any way I can 'update' dictionary via dbms_Stats.set_column_stats, and make histograms to disapear ?
Regards.
Greg
regather the statistics on the table with method_opt=>for all columns or for all indexed columns or whatever size 1
The 'size 1' directive will remove the histogram statistics.
Sorry, didn't read ur post in a hurry. Below article (http://www.freelists.org/post/oracle-l/Any-quick-way-to-remove-histograms,13) removes histogram without re-analyzing the table. Hope that helps!!!
On 3/16/07, Wolfgang Breitling <breitliw@xxxxxxxxxxxxx> wrote:
I also did a quick check and just using
exec
dbms_stats.set_column_stats(user,'table_name',colname=>'column_name',d
istcnt=>
<num_distinct>);
will remove the histogram without removing the low_value andhigh_value.
At 01:40 PM 3/16/2007, Alberto Dell'Era wrote:
On 3/16/07, Allen, Brandon <Brandon.Allen@xxxxxxxxxxx> wrote:
Is there any faster way to remove histograms other than
re-analyzing
>
the table? I want to keep the existing table, index & columnstats,
>
but with only 1 bucket (i.e. no histograms).You might try the attached script, that reads the stats using
dbms_stats.get_column_stats and re-sets them, minus the histogram,
using dbms_stats.set_column_stats.
I haven't fully tested it - it's only 10 minutes old, even if Ihave
slightly modified for you another script I've used for quite some
time - and the spool on 10.2.0.3 seems to confirmthat the histogram
is, indeed, removed, while all the other statistics are preserved.I
have also reset density to 1/num_distinct, that is the value youget
if no histogram is collected.regards,
naren
Edited by: fuzzydba on Oct 25, 2010 10:52 AM
Similar Messages
-
How can i delete duplicates photos in iPhoto without doing it one by one? Thx
how can i delete duplicates photos in iPhoto without doing it one by one? Thx
These applications will identify and help remove duplicate photos from an iPhoto Library:
iPhoto Library Manager - $29.95
Duplicate Annihilator - $7.95 - only app able to detect duplicate thumbnail files or faces files when an iPhoto 8 or earlier library has been imported into another.
PhotoSweeper - $9.95 - This app can search by comparing the image's bitmaps or histograms thus finding duplicates with different file names and dates.
DeCloner - $19.95 - can find duplicates in iPhoto Libraries or in folders on the HD.
DupliFinder - $7 - shows which events the photos are in.
iPhoto AppleScript to Remove Duplicates - Free
PhotoDedupo - $4.99 (App Store) - this app has a "similar" search feature which is like PhotoSweeper's bitmap comparison. It found all duplicates
Duplicate Cleaner for iPhoto - free - was able to recognize the duplicated HDR and normal files from an iPhone shooting in HDR
Some users have reported that PhotoSweeper did the best in finding all of the dups in their library: iphoto has duplicated many photos, how...: Apple Support Communities.
If you have an iPhone and have it set to keep the normal photo when shooting HDR photos the two image files that are created will be duplicates in a manner of speaking (same image) but the only duplicate finder app that detected the iPhone HDR and normal photos as being duplicates was PhotoSweeper. None of the other apps detected those two files as being duplicates as they look for file name as well as other attributes and the two files from the iPhone have different file names.
iPLM, however, is the best all around iPhoto utility as it can do so much more than just find duplicates. IMO it's a must have tool if using iPhoto.
OT -
how do i delete my credit card info from my phone. because every time i try to update or download apps it wont let me because i only have 50 cents on my card. so i need help now before i smash this ****** *** phone and go with a galaxy s5
This does not make much sense.
Please explain.
Are you getting an error message? What does it say? -
I have two apple I.D., one with the .me email address I want, how can I delete it so that I can use that .me address on my other account
Or is it possible to transfer the purchases (apps) to my new .me account so that I can re-download them in the future without having to switch accounts?crazyshark wrote:
I have two apple I.D., one with the .me email address I want, how can I delete it so that I can use that .me address on my other account
Or is it possible to transfer the purchases (apps) to my new .me account so that I can re-download them in the future without having to switch accounts?
You can't do this, and you can't transfer purchases between accounts. There is no conflict about using one ID for iTunes, iTunes in the Cloud and iTunes Match (the ID you've been using for iTunes) and using the other ID for iCloud. -
I use Firefox 21.0
I have a hotmail.com email account.
It was "upgraded" to Outlook.
I've noted that some email addresses that appear when typing an email address to create a new message are not in my People list.
How do I delete email addresses that appear when typing in an address for a new email but that email address is not in my People list?'''''I've noted that some email addresses that appear when typing an email address to create a new message are not in my People list. '''''
Might be appearing as "form history". Try clearing your '''form and search history'''. -
HT1918 how can i delete credit card from the itunes store?
I prefer just to use gifts cards instead of my credit card but itunes wont let me delete my credit card information, and now I cant even redownload applications that i have previously purchased on my ipad. How can I delete and leave my account with no credit card info?
Moorside01 wrote:
I have the same issue. My son has an iPod Touch, but it seems that he has to have a credit card associated with the Live ID
Live ID is for Microsoft.
Are you saying you do not have the None option when you review his payment info? -
How can I delete an iTunes account that has been deactivated?
I deleted an old Apple ID with the help of a call to Apple Support. However, my iphone is still trying to use the old ID. How do I log out of the old ID and into the new? Or, how can I delete the old ID when it has already been deactivated? (Cannot delete with phone)
Only iTunes Support can potentially delete an account (which would also delete any purchase history for it, so you would no longer be able to authorise that content on a computer, redownload it, and download updates to its apps) : http://www.apple.com/support/itunes/contact/
Or you could just remove any personal info from it (e.g. payment details if you have any on it) and stop using it -
How can I delete an iTunes account ?
How can I delete an iTunes account ?
Only iTunes Support can potentially delete an account (which would also delete any purchase history for it, so you would no longer be able to authorise that content on a computer, redownload it, and download updates to its apps) : http://www.apple.com/support/itunes/contact/
Or you could just remove any personal info from it (e.g. payment details if you have any on it) and stop using it -
How can I delete my itunes store account
How can I delete my itunes store account
At the moment you can't - just remove any personal info from it (e.g. credit card details) and stop using it. If you purchased any content from Apple with it (music, films, apps etc) then you will need to remember the account id and password in case you ever want authorise it so as to use it on a different computer (or the same computer if, for exampel, you upgrade the OS)
-
How can i delete an old icloud account
i have an ipad 2, a while ago i did some updates and somehow managed to create a new apple id and link my ipad to that. i have logged on to apple and changed my user id and password several times. now every time i try and download an app (or try and delete i cloud) it still comes up with the old Apple ID/Email. Does anyone know how i can delete this icloud from my ipad and put the new one on there? i have called apple support 4 times in the last 2 days and no-one can understand why the ipad keeps showing the old account. I have tried restoring ipad that did noting (didnt even delete photos or anything!)
After restoring you should sign in with your new apple-id. Then the iPad should not know the old apple-id at all. So restore it, set is up as a "new iPad" and you should be good. When restoring from a backup it will automatically restore your old apple-id as that is what was backed up. Also note that if you restore through iTunes, then your iTunes should also be signed into your new account as it will transfer the currently signed-in account to the newly set-up iPad.
If a restore didn't delete photo's or anything, then is wasn't a proper restore for new, but a restore from backup.
Note that setting up as a new iPad will delete all your contents. -
The email linked to that account is no longer active. How can I delete this old account and use a new one?
Although your profile says you're running iOS 5.1.1 it sounds like you're running iOS 7 (otherwise you would not need your password to delete the old account). Assuming that's true, and your iCloud ID has changed but you need to delete the old account in order to change to your new one, go to https//appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID. Tap edit next to the primary email account, tap Edit, change it back to your old email address and save the change. Then edit the name of the account to change it back to your old email address. You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud). Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was. Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.
-
How can I delete my old OTN Account ?
Hallo,
I create a new OTN Account, because I can't change my e.Mail.
How can I delete my old Account ?
With kind regards
Roanld BreuerYou cannot delete old accounts.
-
My emails go from outbox into I cloud recovered section. I have gmail too. how can I delete my icloud account and just use gmail? Speed test on wifi good.
Any ideas please.Sign out of iCloud (System Preferences>iCloud)
-
I recently invested $2000 (one week ago) in a Macbook Pro Retina 2014 2.8ghz 512gb. Dont get me wrong, I am in love with my product and am extremely satisfied but I have honestly encountered nothing but issues.
My first issue was the transferring of data from my 2010 white macbook 500gb. Both laptops have Yosemite installed and are 100% up to date but I have spent the last week getting them to talk to each other. I am not new to the workings of Apple but I have never endeavoured to use applications such as airdrop, migration assisstant or even bluetooth.
My first attempt was to transfer 200gb of files (Photos mainly, I'm a photographer) to my other laptop via a 64gb USB in segments. But after an hour and only 10gb getting copied across, I decided other alternatives may be of more help.
That is when I came to my first dilemma: AIRDROP. Airdrop is crazy. Yes I did click the option on my retina to search for older macs and yes they did connect. I can send files from my MBR to my white macbook 2010 immediately but my old macbook will not send files to my retina. Yes all of the necessary sharing settings are in place - both MacBooks have the same settings selected so I cannot figure out what to do. Information on this subject would also be helpful yet it is not the end of my troubles.
Second Issue: Migration Assistant.
So yesterday I discovered this little 'gem'. I am a very impatient person so you can imagine i did not appreciate 20 hours of file transfers (via wifi as i do not have a thunderbolt to ethernet adaptor for MBR). Anyway that's all well and good if it actually worked. But of course it did not. I followed apples instructions and I was down to my final 4 hours this morning when my MBR told me the connection was lost and to reconnect. It was making the loudest whirring noise like air coming from inside the hard drive or something. I freaked out. My $2000 machine should not be doing this. It was only a little bit warm; not hot but it was incredibly loud, I'm not sure how to describe it. Keep in mind this computer is brand new so please tell me: WHAT WAS THE SOUND?!?!?!?! AND WHY? what was wrong? what could I have possibly done wrong? My wifi WAS working because my desktop PC was connected. So i waited and waited. Of course I couldn't actually do anything without quitting airdrop and in the end that's just what I had to do. A lot of time wasted for such an unsuccessful cause.
That brings me to my final issue:
So after migration had.... "completed" or crashed or whatever you want to call it, I at least assumed some of the files had maybe copied over and i could just resume from where I left off last time somehow. Oh how stupid that assumption was. My user account did in fact copy over but not a single file copied. And yes, I did log into that user account to check. ANYWAY, I went onto "about this mac" to see my storage info (still being optimistic about my wasted 20 hours). SURPRISE SURPRISE: Yet another problem. I now have 100gb in "other". This macbook is brand new. I should not have any GB in other. I am so incredibly annoyed. HOW DO I DELETE OTHER?! (preferably without downloading software) and is there anything else of importance in other that i should be careful not to delete that is contained within other?
I am only 15 years old and this was a massive investment for me so I treat my Macbook like a baby. And no, I'm not spoilt by my parents. I had to work at Subway for a year to earn $2000 - without spending a single cent (My wage is only $9.00AUD an hour so i essentially worked some 222 hours for this macbook). And I'm not crazy, I needed it for school.
Anyway I'm not impressed with apple. I have Applecare but they aren't open on the weekends or whenever I try to call so that hasn't exactly been helpful. PLEASE HELP ME.Make a note of all your settings for Wi-Fi in the Network preference pane, then delete the connection from the connection list.
Launch the Keychain Access application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Keychain Access in the page that opens.
In the keychain list, an item named "System" should be listed. If it isn't, select File ▹ Add Keychain from the menu bar and add the following:
/Library/Keychains/System.keychain
Now search in Keychain Access for the name of the wireless network (not the name of the router.) Double-click one of the items and check the box labeled Show password in the inspector window. You'll be prompted for your keychain password to confirm. Make a note of the network password. Then delete every "AirPort Network Password" in the search results. Quit Keychain Access.
Go back to the Network preference pane and recreate the Wi-Fi connection with the same settings as before. You do this by clicking the plus-sign icon below the connection list, and selecting Wi-Fi as the interface in the sheet that opens. Select Join other network from the Network Name menu, then select your network. Enter the password when prompted and save it in the keychain. -
It seems since I got my iPhone 5, my voice memos get duplicated every time it syncs with iTunes. There was only a few memos but a couple of them were rather large. I have found this out by looking at my iTunes backup and find them in /media/recordings. I have stopped them from duplicating by de-selecting them from iTunes, but now how can I delete these items from my phone to free up the space? The best way I could think of is somehow remove them from my backup, then restore. I use iCloud normally for backup so I am almost out of space.
I am using OS 10.8.2 with iTunes 11 and iOS 6.0.1Update: iExplorer does support deleting voice memos. Received helpful product support email detailing how, even before I registered the product.
while you can delete voice memos where the actual files are stored in Media/Recordings (which is where you should see those missing voice memos), iExplorer 3 isn’t designed to delete them from your device since deleting them iniExplorer 3 won’t update the voice memo database on the device
It's still quite slow and crashes if you try to delete the entire list (I do 10 at a time now), but it works to delete memos that are not refered to any more within the Voice Memos app.
Still doesn't solve the Apple iTunes problem of duplicating SW, which appears to still be happening on a small scale, but I am recovering the Other data back to Free slowly.
Maybe you are looking for
-
Footer and white space? Help?
Hi there, I am fairly new to muse, but I have tried for so long to delete the white space at the bottom of my website. When designing, it shows about an inch of white space which I do not want at all. The image below shows this. I'd like the mustard
-
Best Strategy?: Lion Upgrade, keeping SnowLeopard as well
Intent: I want to upgrade an older iMac (Intel) to Lion I am running SnowLeopard. I want to keep Snow Leopard for some apps. (Too many very expensive apps that may have issues on Lion). Question: What's my best strategy to upgrade to Lion while keep
-
Converting Object Arrat to double array
public double average(Object ... object) double avg=0; int count=1; for (double d: object) count++; avg +=d; return (avg/count); }I wanted this code to get compiled with out
-
Agent push with a GPO not working
Guys, I have configured a GPO and successfully deployed to a test OU. I see the policy being applied but the agent is not installing. I have my MSI on a share that can be access, I have the site assignment configured in the GPO but not the client
-
I am a second year uni stdudent studying graphic design, I was using PC but it seems I need a Mac for my following years. I need my new Mac run some design's software like photoshop illustrator and so on, so which Mac is best for me? I like the weigh