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: RE: large pl/sql table sucking up all memory on a server

Re: RE: large pl/sql table sucking up all memory on a server

From: <ryan_oracle_at_cox.net>
Date: Mon, 29 Dec 2003 10:14:27 -0800
Message-ID: <F001.005DB35A.20031229101427@fatcity.com>


3 million records in a forall statement. we are bringing on temps and you know how that goes... Im hoping I can set a parameter somewhere to keep anyone from bringing down a server.

such as 'memory for pl/sql table area limit hit' errors out what he is doing.

i guess not :(
>
> From: "Khedr, Waleed" <Waleed.Khedr_at_FMR.COM>
> Date: 2003/12/29 Mon PM 12:29:32 EST
> To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
> Subject: RE: large pl/sql table sucking up all memory on a server
>
> Does he still have a job? :)
>
> Was it one session or many of them? How many rows got bulk processed?
> If it's one session that caused this, then it's either: vary badly designed,
> there is memory leak, or the system is already short in memory!
>
> Waleed
>
> -----Original Message-----
> Sent: Monday, December 29, 2003 12:00 PM
> To: Multiple recipients of list ORACLE-L
>
>
> One of our guys used a very large bulk collect into with a forall update. It
> sucked up all the swap space on our solaris box and noone could connect to
> it. So we had to bounce the server.
>
> I was under the impression that pl/sql tables go into the buffer cache and
> cannot go large than its size? Oracle typically holds your hand with memory
> usage issues. Are there any parameter settings I can use that limit the size
> of pl/sql tables?
>
> Or are they just dynamic arrays that can grow as large as you want.
>
> I know your supposed to use a 'limit' command on them. I didnt write it. I
> just dont want it to happen again.
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: <ryan_oracle_at_cox.net
> INET: ryan_oracle_at_cox.net
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> 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).
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Khedr, Waleed
> INET: Waleed.Khedr_at_FMR.COM
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> 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).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: <ryan_oracle_at_cox.net
  INET: ryan_oracle_at_cox.net

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Mon Dec 29 2003 - 12:14:27 CST

Original text of this message

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