Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: collections/PLSQL tables
Lisa,
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.
Raj
QOTD: Any clod can have facts, but having an opinion is an art !
*********************************************************************1
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.
*********************************************************************1
-- 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-LReceived on Thu Sep 06 2001 - 14:10:20 CDT
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
![]() |
![]() |