Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Full table scan difference
List - As I mentioned earlier, a new manager came from a site that regularly
rebuilt tables. I protested the value of this, but his response was "well,
at least you could test it." So on a test instance I've been doing a CTAS to
create a reorganized copy of the table in the same tablespace (LMT with
uniform extents, autoextend on). As expected, the number of blocks is very
close.
Then I've been doing a FTS (select count(*)) on both tables. Usually the
time is very close. However, on one large table, the original is much faster
-- 18-sec. vs. 27-sec. 21,349 blocks vs. 21179. Same plan. Does anyone have
a theory for this discrepancy?
Dennis Williams
DBA, 40%OCP, 100% DBA
Lifetouch, Inc.
dwilliams_at_lifetouch.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: DENNIS WILLIAMS
INET: DWILLIAMS_at_LIFETOUCH.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 Fri Apr 04 2003 - 14:49:22 CST