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: collections/PLSQL tables

RE: collections/PLSQL tables

From: Koivu, Lisa <lisa.koivu_at_efairfield.com>
Date: Thu, 06 Sep 2001 11:28:47 -0700
Message-ID: <F001.00385B1A.20010906114247@fatcity.com>

Raj,

Well, you can limit the number of rows BULK COLLECT will return with the LIMIT keyword.  Wouldn't that take care of the performance problem you refer to? And isn't it affected by the amount of free memory on the host?  For insteance,  there's very little "free" memory and you bulk collect 1000 rows and the host starts paging. 

Any comments? 

Lisa Koivu
I LOVE MY JOB I LOVE MY JOB I LOVE MY JOB Fairfield Resorts, Inc.
954-935-4117

-----Original Message-----

From:   Jamadagni, Rajendra [SMTP:Rajendra.Jamadagni_at_espn.com]
Sent:   Thursday, September 06, 2001 12:43 PM
To:     Multiple recipients of list ORACLE-L
Subject:        RE: collections/PLSQL tables

Bill,

If you are or will be retrieving more than say 10000 rows, I'd say do not use BULK COLLECT (performance goes down)... instead use a pl/sql table of records. But I'd say even with the inconvenience of specifying a separate collection for each column, use for BULK BINDS for INSERT/UPDATE/DELETE is worth the effort, as it really speeds up the processing.

Oracle recommends that for faster performance, instead of using a TABLE of RECORDS, use a RECORD of TABLES. The speed benefit is due to the way data elements storage technique implemented for these two types.

According to rumors, 9i is supposed to offer more, but I haven't got time right now to test it out.

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 !

*********************************************************************2


This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.

*********************************************************************2


--

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 Thu Sep 06 2001 - 13:28:47 CDT

Original text of this message

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