Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: QRE: Query tuning help needed
"Johnson, Michael" wrote:
>
> Since you have the query, why dont you check and see what
> the system is waiting on while it is executing ? Set
> a 10046 trace on it and see what kind of hints that gives
> you as to why that session is waiting. Probably some SQL
> competing for a Oracle Block in memory. Also, execute
> a statspack snapshot before, during and after execution.
> >From there you can determine how to speed this up.
>
> Oracle Performance Tuning 101 is a source you may be
> interested in reading. Also, www.hotsos.com should certainly
> be of interest to all DBAs regarding the 10046 data.
>
> Good Luck!
>
> Mike
>
Mike,
When you see that umpteen SELECTs are executed for each row returned, traces are a bit of an overkill IMHO.
-- Regards, Stephane Faroult Oriole Software -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Stephane Faroult INET: sfaroult_at_oriole.com 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: ListGuru_at_fatcity.com (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 Tue Apr 29 2003 - 17:56:39 CDT