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: too low optimizer_index_cost_adj causing bizarre index choice

RE: too low optimizer_index_cost_adj causing bizarre index choice

From: Khedr, Waleed <Waleed.Khedr_at_FMR.COM>
Date: Thu, 09 May 2002 14:53:20 -0800
Message-ID: <F001.0045DC5A.20020509145320@fatcity.com>


Undocumented behavior:
setting optimizer_index_cost_adj = 1 is simply begging the optimizer to use any index, just kidding :}

I think it's simply b/c the total cost which is = cost of sequential read * number of reported rows in the index (adjusted by optimizer_index_cost_adj) is the lowest calculated one.

Regards,

Waleed

-----Original Message-----
Sent: Thursday, May 09, 2002 5:06 PM
To: Multiple recipients of list ORACLE-L choice

Hi Johnathan,

here is the skinny:

db_file_multiblock_read_count = 64
number of rows=15m
blocks=251071
empty_blocks=0
db_block_size=16384

total plan cost=4924
tablescan cost = 4924

Jack


Do You Yahoo!?
Yahoo! Shopping - Mother's Day is May 12th! http://shopping.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jack Silvey
  INET: jack_silvey_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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Khedr, Waleed
  INET: Waleed.Khedr_at_FMR.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 May 09 2002 - 17:53:20 CDT

Original text of this message

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