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: Delete followed by Select Count(1) - SLOW

Re: Delete followed by Select Count(1) - SLOW

From: Deepak Thapliyal <deepakthapliyal_at_yahoo.com>
Date: Thu, 16 Aug 2001 13:36:17 -0700
Message-ID: <F001.0036E07C.20010816134832@fatcity.com>

Hi Walter,

The extents you refer to in ur thread is the allocated space. Oracle by default scans upto the high watermark. The reason truncate is fast is cause it resets the high watermark so oracle did not scan anything for u when it returned 0 rows .. however in case of delete, it still scanned upto the HWM

Deepak


Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Deepak Thapliyal
  INET: deepakthapliyal_at_yahoo.com

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 Thu Aug 16 2001 - 15:36:17 CDT

Original text of this message

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