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: slowish query causing problems...

RE: slowish query causing problems...

From: Mohammed Shakir <mshakir08816_at_yahoo.com>
Date: Mon, 20 Jan 2003 08:54:38 -0800
Message-ID: <F001.00534C2E.20030120085438@fatcity.com>


How about trying rule based optimizer as a test. It should use indexes if they exist.

Cost based optimizer may not use index if it finds cost of using full scan is less than cost of using indexes. This is possible if a table has few rows say less than 1000 rows. Index may not be used if selectivity is low, that is, Oracle has to bring in more than say 7% of the rows from the table.

> ATTACHMENT part 2 application/octet-stream name=plan_table.csv



Mohammed Shakir
CompuSoft, Inc.
11 Heather Way
East Brunswick, NJ 08816-2825
(732) 672-0464 (Cell)
(732) 257-6001 (Home)

Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Mohammed Shakir
  INET: mshakir08816_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 Mon Jan 20 2003 - 10:54:38 CST

Original text of this message

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