Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: statspack snapshots cause 3-4 sec of 100% CPU utilization
Mogens, Dennis,
I know I am going to catch flames for this, but here goes:
It seems to be quite fashionable to bash statspack, but help me out in understanding the alternatives to the StatsPack in the following cases:
Case1:
3 weeks ago applcation support person took one of the applications "offline" and submitted a job to rebuild the indexes (this functionality is built into the app). DBA team wasn't obviously consulted as to whether or not it's of any benefit. In fact DBA team wasn't even aware that there's a maintenance activity going on :-(
Job dutifully dropped the indexes (as it doesn't seem to be aware of rebuilding, not to mention rebuilding online etc), but got stuck somewhere on re-creating them... so next morning app support person realized that there's a problem and recalled that there is a DBA team "that probably messed up his DB" (from his response to the ticket).
For DBA it didn't take long to see that what used to
be a quick index lookup returning a single row, turned
out to be a FTS on a 3mln row table as index wasn't
re-created there. But...
If OS and StatsPack monitoring was in place DBA would
know that long before app support person showed up as
iostat -nmxzP on Solaris (or even iostat -d -x on
Linux) with StatsPack data (or something as simple as
query comparing current v$filestat with baseline one)
would be self evident that things changed.
Utility to check execution plans against the baseline ones would be probably useful in this case, but I haven't heard about it before this thread :-)
Case2:
The point I am trying to make is that I think there's monitoring for the sake of tuning (and than I agree - system wide data shouldn't probably drive the tuning effort). But there's also other types of monitoring where StatsPack seems to be quite useful to me. It all depends on the objectives.
Cheers,
Boris Dali.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Boris Dali INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Mon Jun 09 2003 - 11:20:40 CDT