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: query run time vs IN list elements

RE: query run time vs IN list elements

From: Mohammed Shakir <mshakir08816_at_yahoo.com>
Date: Mon, 09 Jun 2003 17:04:33 -0700
Message-ID: <F001.005ADFDF.20030609154441@fatcity.com>


This is what the book (page 196 Oracle SQL High-Performance Tuning - Second Edition, Guy Harrison.) says about your situation.

INLIST ITERATOR step indicates that each subsequent step was executed once for each value in an IN list.

A large number of elements in the IN list can be time consuming, because the cost-based optimizer is required to calculate costs for each of the concatenated subqueries.

Only thing I would suggest is to remove first Order by Clause if you have any to remove sort step and see if it helps.

HTH Mohammed Shakir


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

Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Mohammed Shakir
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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 Jun 09 2003 - 19:04:33 CDT

Original text of this message

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