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: Sequential Tables' Selects Versus Joins

RE: Sequential Tables' Selects Versus Joins

From: Jamadagni, Rajendra <Rajendra.Jamadagni_at_espn.com>
Date: Wed, 28 Aug 2002 07:43:27 -0800
Message-ID: <F001.004C1742.20020828074327@fatcity.com>


if properly written the first one would be faster because even if you optimize the second solution, you can NEVER get rid of context switches between SQL and PLSQL code. There will always be overhead in second solution.

Raj



Rajendra Jamadagni MIS, ESPN Inc.
Rajendra dot Jamadagni at ESPN dot com
Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.

QOTD: Any clod can have facts, but having an opinion is an art!

-----Original Message-----
Sent: Wednesday, August 28, 2002 11:33 AM To: Multiple recipients of list ORACLE-L

Which would Perform Better ?
1) Having an SQL Query Doing a Join between 6 Tables

2) Running 1 SQL Query on a Single Table , getting the Output Values in a Cursor
& passing the Cursor Values as Arguments to the where Clause of a 2nd SQL Query
Running on a 2nd Table & thus so on ... thereby finally getting the Output from the 6th Table


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jamadagni, Rajendra
  INET: Rajendra.Jamadagni_at_espn.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 Wed Aug 28 2002 - 10:43:27 CDT

Original text of this message

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