Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Why wait?

Why wait?

From: Greg Moore <sqlgreg_at_pacbell.net>
Date: Wed, 24 Apr 2002 04:58:49 -0800
Message-ID: <F001.0044D916.20020424045849@fatcity.com>


There's something I don't understand. Why use the wait interface to investigate "db file scattered read" or "db file sequential read"?

The end result is finding an SQL statement that does a lot of reads. There's no guarantee it's a poorly tuned SQL statement, just that it does a lot of reads.

If that's what you want, why not just query v$sql and order by physical reads? Doing this is a whole lot easier. Also, unlike the hit and miss results from v$session_wait, v$sql provides a comprehensive picture.

Thanks for your input. Cheers!

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Greg Moore
  INET: sqlgreg_at_pacbell.net

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Wed Apr 24 2002 - 07:58:49 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US