Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Sequential Tables' Selects Versus Joins
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
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
- text/plain attachment: ESPN_Disclaimer.txt