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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: 10046 level 8 trace - help required with 'direct path

RE: 10046 level 8 trace - help required with 'direct path

From: Yong Huang <yong321_at_yahoo.com>
Date: Thu, 30 Oct 2003 11:19:24 -0800
Message-ID: <F001.005D518F.20031030111924@fatcity.com>


Hi, Tim,

John has good input. You can't conclude that your DELETE requires a sort. v$sort_usage (or preferablly v$tempseg_usage beginning with 9.2) shows all types of usage of temporary segments. If the segtype column says it's 'SORT', the session is sorting. If it's 'HASH', it's hashing. For other values, look at Version 9.2 documentation for v$tempseg_usage, or item 22 at http://www.stormloader.com/yonghuang/computer/OracleIdiosyncrasies.html. Also note that this view records data for running sessions only; if the operation on the temporary segment is finished, the row will be gone. So you have to query it when your DELETE is running and identify the row based on v$session.saddr = v$sort_usage.session_addr. But it's better to corroborate with other columns such as session serial number, SQL address and hash.

BTW, does the ROUTING_NEXT_JOB table have LOBs or is it a global temporary table? Does the delete have cascaded delete on other tables?

Yong Huang


Do you Yahoo!?
Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Yong Huang
  INET: yong321_at_yahoo.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 Thu Oct 30 2003 - 13:19:24 CST

Original text of this message

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