Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> RE: collections/PLSQL tables

RE: collections/PLSQL tables

From: Koivu, Lisa <>
Date: Thu, 06 Sep 2001 12:32:23 -0700
Message-ID: <>

Really?  The documentation says that when you use limit, you won't have to keep track of records you have already used and haven't already seen.  But then again the documentation has been wrong before.  I'll have to give it a try.

Thanks for your comments Raj.  I especially liked fuum.  :)

Signing off for now, have a great weekend all.  Lisa Koivu
"The DBA with the hoarse voice from a football game, of all things" Fairfield Resorts, Inc.
Ft. Lauderdale, FL USA

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

From:   Jamadagni, Rajendra []
Sent:   Thursday, September 06, 2001 4:11 PM
To:     Multiple recipients of list ORACLE-L
Subject:        RE: collections/PLSQL tables


you are right ... on both counts ... but look at it this way ... if you use the LIMIT clause, when you go for fetch next set of data, you have to figure out which rows to skip, so there you have more logic to work with.

As for the amount of memory, you are right too, but then again it matters a lot how you design the pl/sql table. Also if one is worried about space utilization, look at PRAGMA SEREALLY_REUSABLE. This pragma can be incorporated into package spec, so once package execution is complete,  the data space is released to SGA immediately (more details are in the manual), it is reallocated when package is invoked. Previously pl/sql table allocated memory was wither help or if you specify FUUM
(DBMS_SESSION.FREE_UNUSED_USER_MEMORY) the memory was released BUT only for
other pl/sql table use until your session disconnects.


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 !


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.


Please see the official ORACLE-L FAQ:
Author: Jamadagni, Rajendra

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: (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 - 14:32:23 CDT

Original text of this message