Re: Statspack performance problem
Thanks Mogen. Let's see if something comes of it. In the meantime, I only collect lvl 0 in that database. Jared On Friday 10 January 2003 13:29, Mogens Nørgaard wrote: > Juan Loaize and the guys in ST (Server Technologies) in Oracle > Development added some index structures to certain x$-things (and > thereby v$-things) in 7.3 and onwards, I think. However, v$sqlarea still > has to do a group by, which sucks. v$sql is faster, but has more data, > of course. > > I've CC'ed Bjorn Engsig from Miracle on this - he worked on some > optimisations on StatsPack at Oracle before quitting. He (or maybe > Graham Wood) could perhaps help here. > > Mogens > > [EMAIL PROTECTED] wrote: > >That seems to have been the problem. > >The snap ran in 2 seconds after setting the level to 0. > >This database has 50k+ SQL statements cached, usually. > > > >Setting it back to 5 is taking a very long time. Apparently > >there is a lot going on behind the scenes when changing > >the snap level. > > > >In checking v$session_wait I find a lot of waits on latch free > >and direct path write. This session has not done any sorts > >to disk, so I'm not sure why there are direct path writes. > > > >Maybe there are LOB's in Perfstat schema? Dunno, > >have not looked. > > > >Thanks, > > > >Jared > > > > > > > > > > > > > >John Kanagaraj <[EMAIL PROTECTED]> > >Sent by: [EMAIL PROTECTED] > > 01/08/2003 01:55 PM > > Please respond to ORACLE-L > > > > > >To: Multiple recipients of list ORACLE-L > > <[EMAIL PROTECTED]> cc: > >Subject:RE: Statspack performance problem > > > > > >Jared, > > > >Did you snap with the default value of 5? If so, then the SNAP proceduer > >will have to scan / sort V$SQLAREA and that can be very time-consuming. If > >you are CPU starved or have very high shared_pool access or issues in that > >area, then this could explain it Try this with a snap level of 0 and > >let > >us know if this solves the issue. > > > >John Kanagaraj > >Oracle Applications DBA > >DBSoft Inc > >(W): 408-970-7002 > > > >What would you see if you were allowed to look back at your life at the > >end > >of your journey in this earth? > > > >** The opinions and statements above are entirely my own and not those of > >my > >employer or clients ** > > > >>-Original Message- > >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > >>Sent: Wednesday, January 08, 2003 10:45 AM > >>To: Multiple recipients of list ORACLE-L > >>Subject: Statspack performance problem > >> > >> > >>List, > >> > >>Is anyone aware of performance problems with statspack on 8.1.6.3 on > >>Windoze? > >> > >>By performance problem, I mean that statspack.snap runs for several > >>minutes > >>before I eventually kill it. > >> > >>Trying to check on MetaLink, but it isn't responding at the moment. > >> > >>Thanks, > >> > >>Jared > >> > >>-- > >>Please see the official ORACLE-L FAQ: http://www.orafaq.net > >>-- > >>Author: > >> 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jared Still 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).
Re: Statspack performance problem
Juan Loaize and the guys in ST (Server Technologies) in Oracle Development added some index structures to certain x$-things (and thereby v$-things) in 7.3 and onwards, I think. However, v$sqlarea still has to do a group by, which sucks. v$sql is faster, but has more data, of course. I've CC'ed Bjorn Engsig from Miracle on this - he worked on some optimisations on StatsPack at Oracle before quitting. He (or maybe Graham Wood) could perhaps help here. Mogens [EMAIL PROTECTED] wrote: That seems to have been the problem. The snap ran in 2 seconds after setting the level to 0. This database has 50k+ SQL statements cached, usually. Setting it back to 5 is taking a very long time. Apparently there is a lot going on behind the scenes when changing the snap level. In checking v$session_wait I find a lot of waits on latch free and direct path write. This session has not done any sorts to disk, so I'm not sure why there are direct path writes. Maybe there are LOB's in Perfstat schema? Dunno, have not looked. Thanks, Jared John Kanagaraj <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 01/08/2003 01:55 PM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> cc: Subject: RE: Statspack performance problem Jared, Did you snap with the default value of 5? If so, then the SNAP proceduer will have to scan / sort V$SQLAREA and that can be very time-consuming. If you are CPU starved or have very high shared_pool access or issues in that area, then this could explain it Try this with a snap level of 0 and let us know if this solves the issue. John Kanagaraj Oracle Applications DBA DBSoft Inc (W): 408-970-7002 What would you see if you were allowed to look back at your life at the end of your journey in this earth? ** The opinions and statements above are entirely my own and not those of my employer or clients ** -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 10:45 AM To: Multiple recipients of list ORACLE-L Subject: Statspack performance problem List, Is anyone aware of performance problems with statspack on 8.1.6.3 on Windoze? By performance problem, I mean that statspack.snap runs for several minutes before I eventually kill it. Trying to check on MetaLink, but it isn't responding at the moment. Thanks, Jared -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: =?ISO-8859-1?Q?Mogens_N=F8rgaard?= 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).
RE: Statspack performance problem
That seems to have been the problem. The snap ran in 2 seconds after setting the level to 0. This database has 50k+ SQL statements cached, usually. Setting it back to 5 is taking a very long time. Apparently there is a lot going on behind the scenes when changing the snap level. In checking v$session_wait I find a lot of waits on latch free and direct path write. This session has not done any sorts to disk, so I'm not sure why there are direct path writes. Maybe there are LOB's in Perfstat schema? Dunno, have not looked. Thanks, Jared John Kanagaraj <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 01/08/2003 01:55 PM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> cc: Subject:RE: Statspack performance problem Jared, Did you snap with the default value of 5? If so, then the SNAP proceduer will have to scan / sort V$SQLAREA and that can be very time-consuming. If you are CPU starved or have very high shared_pool access or issues in that area, then this could explain it Try this with a snap level of 0 and let us know if this solves the issue. John Kanagaraj Oracle Applications DBA DBSoft Inc (W): 408-970-7002 What would you see if you were allowed to look back at your life at the end of your journey in this earth? ** The opinions and statements above are entirely my own and not those of my employer or clients ** > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 08, 2003 10:45 AM > To: Multiple recipients of list ORACLE-L > Subject: Statspack performance problem > > > List, > > Is anyone aware of performance problems with statspack on 8.1.6.3 on > Windoze? > > By performance problem, I mean that statspack.snap runs for several > minutes > before I eventually kill it. > > Trying to check on MetaLink, but it isn't responding at the moment. > > Thanks, > > Jared > > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.net > -- > Author: > 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). > -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: John Kanagaraj 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: 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).
RE: Statspack performance problem
Jared, Did you snap with the default value of 5? If so, then the SNAP proceduer will have to scan / sort V$SQLAREA and that can be very time-consuming. If you are CPU starved or have very high shared_pool access or issues in that area, then this could explain it Try this with a snap level of 0 and let us know if this solves the issue. John Kanagaraj Oracle Applications DBA DBSoft Inc (W): 408-970-7002 What would you see if you were allowed to look back at your life at the end of your journey in this earth? ** The opinions and statements above are entirely my own and not those of my employer or clients ** > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 08, 2003 10:45 AM > To: Multiple recipients of list ORACLE-L > Subject: Statspack performance problem > > > List, > > Is anyone aware of performance problems with statspack on 8.1.6.3 on > Windoze? > > By performance problem, I mean that statspack.snap runs for several > minutes > before I eventually kill it. > > Trying to check on MetaLink, but it isn't responding at the moment. > > Thanks, > > Jared > > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.net > -- > Author: > 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). > -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: John Kanagaraj 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).
RE: Statspack performance problem
You're right Raj, an obvious question. I'm in a hurry, so I thought I would check with the list first, and move onto something else. Just too much to do at the moment, and the statspack issue is not critical. Thanks, Jared "Jamadagni, Rajendra" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 01/08/2003 11:21 AM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> cc: Subject: RE: Statspack performance problem Jared, Obvious question, but have to tried to trace it to see which statement it is hanging?? Raj __ Rajendra Jamadagni MIS, ESPN Inc. Rajendra dot Jamadagni at ESPN dot com Any opinion expressed here is personal and doesn't reflect that of ESPN Inc. QOTD: Any clod can have facts, but having an opinion is an art! -Original Message- Sent: Wednesday, January 08, 2003 1:45 PM To: Multiple recipients of list ORACLE-L List, Is anyone aware of performance problems with statspack on 8.1.6.3 on Windoze? By performance problem, I mean that statspack.snap runs for several minutes before I eventually kill it. Trying to check on MetaLink, but it isn't responding at the moment. Thanks, Jared This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.*2
RE: Statspack performance problem
Jared - I am on 8.1.6, but on Unix. How heavily loaded is your system when you take the snapshot? If it is just normal load, this sounds high. When I've had a hanging system, several minutes for a snapshot wouldn't be unusual. Dennis Williams DBA, 40%OCP Lifetouch, Inc. [EMAIL PROTECTED] -Original Message- Sent: Wednesday, January 08, 2003 12:45 PM To: Multiple recipients of list ORACLE-L List, Is anyone aware of performance problems with statspack on 8.1.6.3 on Windoze? By performance problem, I mean that statspack.snap runs for several minutes before I eventually kill it. Trying to check on MetaLink, but it isn't responding at the moment. Thanks, Jared -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: DENNIS WILLIAMS 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).
RE: Statspack performance problem
Title: RE: Statspack performance problem Jared, Obvious question, but have to tried to trace it to see which statement it is hanging?? Raj __ Rajendra Jamadagni MIS, ESPN Inc. Rajendra dot Jamadagni at ESPN dot com Any opinion expressed here is personal and doesn't reflect that of ESPN Inc. QOTD: Any clod can have facts, but having an opinion is an art! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 1:45 PM To: Multiple recipients of list ORACLE-L Subject: Statspack performance problem List, Is anyone aware of performance problems with statspack on 8.1.6.3 on Windoze? By performance problem, I mean that statspack.snap runs for several minutes before I eventually kill it. Trying to check on MetaLink, but it isn't responding at the moment. Thanks, Jared This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.*2
Statspack performance problem
List, Is anyone aware of performance problems with statspack on 8.1.6.3 on Windoze? By performance problem, I mean that statspack.snap runs for several minutes before I eventually kill it. Trying to check on MetaLink, but it isn't responding at the moment. Thanks, Jared -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: 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).