AWR-Avg wait(ms) and the right storage platfom
Dears,
I have just one question to clear relatively to a conclusion I can make or not when reading AWR. Let's take the following Top 5 Timed Events
Top 5 Timed Events Avg %Total
~~~~~~~~~~~~~~~~~~ wait Call
Event Waits Time (s) (ms) Time Wait Class
CPU time 356 94.5
CSS initialization 8 13 1647 3.5 Other
db file sequential READ 2,428 3 1 0.8 User I/O
control file sequential READ 4,547 3 1 0.7 System I/O
log file parallel WRITE 333 2 6 0.5 System I/O
----------------------------------------------------------------------------------When looking to the 1 ms of Avg wait to read a single leaf block (from disk when not in cache), can I conclude that the machine has a very acceptable storage service that services a physical I/O very quickly?
And when looking to the following second example (where I have deliberately exagerated the Avg Wait(ms) times)
Top 5 Timed Foreground Events
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Avg
wait % DB
Event Waits Time(s) (ms) time Wait Class
db file sequential read 465,020 3,969 29 47.4 User I/O
DB CPU 995 11.9
db file parallel read 2,251 322 143 3.8 User I/O
db file scattered read 15,268 153 30 1.8 User I/O
gc current block 2-way 108,739 116 1 Could I also "jump" to a conclusion that those average wait time for single I/O(29 ms) or multi block reads(30 ms) are serviced by a slow storage service?
Thanks for your help
Mohamed Houri
Hi Randolf,
I agree that if an AWR looks like this, it doesn't necessarily mean that the database doesn't have any performance problems. Yes, there can still be inefficient plans. But those inefficient plans in this case aren't a global problem. I.e. if the system still has free CPUs available, then tuning them won't have a global effect. Imagine that you have a database with CPU time responsible for 95% of DB time, but only 10% of the host CPU. Imagine that you find a SQL statement that is responsible for a large portion of the CPU usage within the database. There is a good chance that this statement has an inefficient plan which can be improved by tuning -- but in this case it would only make sense if that statement is important on its own. If that is not the case (e.g. the statement is a part of a batch job and no one care whether it completes within 5 minutes or 10 hours) then tuning it would be essentially a waste of time -- in the very best case you would reduce DB CPU usage from 10% to 5% or 1%, which no one will ever notice.
This is very different from cases when DB time is dominated by I/O- or concurrency-related waits (when top-down approach works fine).
So that's one of the reasons that I'm saying that high CPU time is not a problem. Another reason is that people often tend to perceive high CPU time % in the AWR report as an indication that the system is running out of CPU, which is generally wrong.
Best regards,
Nikolay
Similar Messages
-
My 17-inch early 2011 macbook pro keeps freezing on me. The freeze usually occurs when I'm importing or exporting pictures, when I stream anything, or If I am watching a dvd. The left side of the screen shifts to the right and the right side of the screen shifts to the left. lines also appear on my screen and I can not force quit any open application. I have not dropped my laptop at all.
Mac OSX Lion version 10.7.5
2.2 Ghz Intel Core i7
I would like to avoid going to the an apple store to fix this problem if possible. The closest one to me is 40 miles away.
Help : )If you don't have the Applecare extended warranty then you will need to pay for the fix. The fix is a New Logic Board. It seems as your Graphics card is failing in some way. No there is no software fix for this.
The Graphic chip is soldered to the logic board and the only way to change/fix it is to replace the complete logic board.
Good Luck and Best Wishes -
I get a please wait message, and the pdf document never loads?
I get a Please Wait message, and the pdf document never loads. i have the latest version on my mac- no luck!
windows xp version x1 the latest. trying to open in gmail.
On Mon, Feb 17, 2014 at 1:23 PM, Claudio González -
How can I reduce the size of the Firefox monitor display?
I use my monitor in portrait mode, and the right side of the Firefox window is not displayed.Try using this extension. <br />
https://addons.mozilla.org/en-US/firefox/addon/textarea-cache/ -
DCIM folder is not available in the internal storage, and the internal storage folder shows it`s empty
Pls help me in resolving the issueDCIM folder is not available in the internal storage, and the internal storage folder shows it`s empty
Pls help me in resolving the issue -
i try to get my first access and add a book to my library but all it says is E_ADEPT_CORE_USER_NOT_ACTIVATED...and it keeps telling me this although i have the right email and the right password...i am using a tolino..i just got it so it acnt be an update problem
Eva:
Yes, updated to firmware version 1.28. That was the 1st thing I did.
Then I authorized my iRiver. ADE had been installed way before I got
iRiver. It has a couple library books there. I hoped to read them on
iRiver. After I read this thread and another one at
http://www.mobileread.com/forums/showthread.php?p=1832825, I used
CtrlShiftE and CtrlShiftD to de-authorize both my computer and the
device. Then authorized both and had to download books again, deleted
previously copied books from iRiver and copied fresh copies. No luck.
Don't know what to do next. Emailed iRiver. -
My new iPhone 4s and my iPad 1 have the same problem: While working on one of them, the screen goes black and the right back to home screen. I've tried resetting the iPad with no chages to this problem. Need help, this is anoying.
I just did a reset all settings on both.
Will see where this gets me.
Thank you for your helpfull input. -
I have only had my mac one month and it seems while I use Skype the screen freezes and I cant click on anything and everything on the right hand side of the screen shifts to the left and the left to the right with a back block down the centre and sometimes lines running down the screen over all. As it is almost brand new should I be going back to store to get this problem fixed??
Yes. You are still under warranty. Why waste it?
-
Installed snow leopard and the right click on my mouse no longer works. Any ideas?
I just replaced my hard drive and installed a clean copy snow leopard with all updates. The right mouse button (normal wired mouse that came with imac) with the menu drop down is no longer working. changed secondary button in mouse settings and got the right click menu but now when I right click the file or group of files are no longer highlighted. this *****. any ideas?? Between the hassle of replacing a hard drive, mouse problems, firefox, opera, office mac and elgato tv problems and issues im fed up.
Message was edited by: tele59Apple menu -> System preferences -> Keyboard and Mouse should give you controls over the mouse. If not, either Steer Mouse or USB Overdrive might give you better control.
-
I just want to get rid of the **** Yahoo toolbar! If not, I want to go back to the previous version of Firefox. Can someone help me with the steps to do either one of these, Please!!!
I just figured out how to remove it. Go to the Tools menu and select add-ons. Click on extensions, locate Yahoo Toolbar in the list, and off to the right, you can click on "Disable" or "Remove." I disabled, restarted Firefox 4.0, and bingo, no annoying Yahoo toolbar. Hope this helps!
-
My earpods are louder in the left ear and the right ear feels sealed
Every pair of earpods i get end up being louder in the left ear. As if that werent bad enough, the right earpod makes my ear feel like there is a plug in it. Does the right one change form after so much use? What is happening and what can i do about it??
I had the same problem with my EarPods. They were working perfectly fine the other day and recently they have not been working. I was able to find a solution for this problem, however, I am not 100% sure that it would work for everyone. I know that this sounds really strange, but if you put the EarPod that is not working in between your lips and suck air from it, the sound will return to normal. As said before, I am not sure if this will work for everyone, but it worked for me and I hope it helps(:
-
Have got a nano 6th generation ipod . the right hand swipe fuction to rerturn to home screen doesnt work, nor does the rotation . Think its been set up wrong but we cant get to the settingsto check, how do we get the ipod to work?
Forgotten Screen-Lock Passcode
Connect the iOS device to your computer and try to make a backup
iOS: How to back up
If y can't make a backup then you will either have to:
- restore from an existing backup
- Contact a data recovery company
- Maybe after restoring via How to perform iPad recovery for photos, videos
Wondershare Dr.Fone for iOS: iPhone Data Recovery - Wondershare Official
Then restore via iTunes. The iPod will be erased. Place the iOS device in Recovery Mode if necessary to allow the restore.
If recovery mode does not work try DFU mode.
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
For how to restore:
iTunes: Restoring iOS software
To restore from backup see:
iOS: How to back up
If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
You can redownload most iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
Encrypting data for testing - but keeping it legible and the right length
Hello,
I currently work with a client where one of our final stages of testing is done against test databases (9.2), maintained by the client, but holding real data, taken as a snapshot. This gives us volumes of data similar to what will be encountered in production.
The client now has a (valid) concern that our people testing the app therefore get to see 'real', if slightly out-of-date, data, particularly names and addresses, and have asked us if there's some way of hiding this from the testers, who have access to the test db both through a front-end mainly built on Oracle Forms, but also e.g. querying directly with SQL Plus.
I can't just give all the parties stored in the system the same name or address, so what I think I'd like to do is to replace the sensitive data with encrypted versions, possibly using the DBMS_OBFUSCATION_TOOLKIT. A problem with that, though, is that the encrypted data could contain any characters and may cause problems displaying in the front-end, certainly where testers have to e.g. type in a name to search on.
I could use rawtohex to convert the data into an easily read / typed format, but then the results could be too long for the existing columns and the fields in the front-ends.
Has anyone encountered a similar problem and come up with a solution?
Thanks in advance,
JamesThere are a variety of tools out there sold by companies to automate this sort of thing.
One relatively common, and relatively simple, approach would be to run a process that mixes and matches data from different records. That is, you take the first name from record 1, the last name from record 2, address from record 3... Of course, you'd have to figure out how sophisticated a jumbling algorithm you need depending on how sensitive the data and how performant an algorithm you need depending on data volumes.
Relatively efficient, but relatively simple to reverse, would be to use something like this to populate the tables
insert into emp( ename, sal, comm )
select ename,
lag(sal) over( order by empno ),
lag(comm,2) over (order by empno )
from emp@prod_db_linkJustin -
iPad 3 is having difficulties with changing the backgound, sometimes it won't change it's won't zoom out or in,or move the pic to the left or right , also get the whole picture,
It's a glitch, no idea when or if Apple will fix it.
One work around is to go to the photos app and 'send' your photo to be wall paper. It gives you a bit more control, even if it doesn't give you all that you used to have. -
Yeah, not much more to say. Since I upgraded to firefox 5.0, I can no longer open multiple windows. Multiple tabs work, but I don't like tabs. Please help.
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions 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.com/kb/Safe+Mode
*https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
Maybe you are looking for
-
Who wants to watch a grown man cry? I spent a small fortune on a shiny new mac with 64GB Ram and to quote Larry Jordan, "I could rocket to the moon with the power of this computer." I am running OSX (10.9.5) and have a 12 gig per channel ethernet M
-
Invalid username/password when running VSM1.3
Hi, I have the issue of invalid username/password when running VSM 1.3. When I ran authentication.java , I got the error as follow: oracle: Exception thrown from getService method of ServiceLocator class: Lookup error:javax.naming.AuthenticationExcep
-
Unable to boot up, not sure if it's the OSX, HDD, or maybe the SATA cable
So my Macbook pro takes up to 10 tries to boot up. What happens is itll turn on, apple logo will show up and progress bar gets to about 1/3. Then the screen turns gray and stays gray and then it restarts. However, once it is on i have no problems wha
-
This is really a comment for Apple. I hope someone who works at Apple reads these forums and has the authority to pass on comments ... and takes this comment as seriously as it deserves and passes it on to the right people. It really bothers me that
-
This seems to be the same problem others have had. I was able to export with Compressor yesterday, but September 12th seems to be error date with Compressor. When I export, from FCP Studio 5 to Compressor I get a " File error: A File of this name alr