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: PGA usage

Re: PGA usage

From: Frits Hoogland <frits.hoogland_at_gmail.com>
Date: Tue, 10 Jul 2007 16:14:57 +0200
Message-ID: <fbb8fbcd0707100714y7862cafbg1d787e587b60ea64@mail.gmail.com>


Yavor,

I assume the /3GB switch is set (otherwise the memory available in userspace is limited to 2GB)

The PGA memory can be monitored per session using v$sesstat. Can you elaborate on what the report is actually doing? (I suspect a pl/sql table is populated, which is kept in the PGA and doesn't get to the assigned temporary tablespace like sort data or hash data.)

AFAIK, the amount of PGA memory which can be allocated by a session is only limited to operating system imposed limits.

frits

On 7/10/07, Yavor Ivanov <Yavor_Ivanov_at_stemo.bg> wrote:
>
> Hello, gurus
>
> I have some problems with Oracle 10.2.0.3 on Windows 2003 32-bit.
> We have PGA_AGGREGATE_TARGET set to 350 MB and a SGA of 2200 MB. Some of the
> sessions are shared server ones (which take memory from the large pool), and
> others are dedicated. Sometimes, when some big-fat report is running, the
> actual PGA allocated grows up to 550 MB and more. Then we are getting
> ora-4030, because we hit the 3 GB limit of 32 bit windows.
> In this cases I can see that one dedicated connection (the one
> running the big report) has allocated up to 280 MB PGA (this is, one
> session!). We are not using parallel things, if it matters at all.
> I know PGA_AGGREGATE_TARGET is just a target, not a limit. But I
> wonder is there any way to limit how much PGA can a single session consume.
> I thought there is a rule stating no session can eat more than 10% than the
> total target, but this proved to be wrong.
>
> --
> Regards,
> Yavor Ivanov
> Senior Database Expert
> Stemo Ltd
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Jul 10 2007 - 09:14:57 CDT

Original text of this message

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