Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Can I use more memory than I have?

Re: Can I use more memory than I have?

From: Mark J. Bobak <mark_at_bobak.net>
Date: 21 Jun 2002 21:02:04 -0700
Message-ID: <fe9b0e1b.0206212002.17ebd58f@posting.google.com>


Steve Adams touches on this at: http://www.ixora.com.au/q+a/pool.htm#23_06_1999

-Mark

Knut Talman <knut.talman_at_mytoys.de> wrote in message news:<3D120C50.EDDC02D0_at_mytoys.de>...
> When I issue the following:
>
> select sum(a.bytes)/(1024*1024) shared_pool_used,
> max(b.value)/(1024*1024) shared_pool_size,
> (max(b.value)/(1024*1024))-(sum(a.bytes)/(1024*1024)) shared_pool_avail,
> (sum(a.bytes)/(max(b.value)))*100 shared_pool_pct
> from v$sgastat a, v$parameter b
> where a.pool = 'shared pool'
> and a.name != 'free memory'
> and b.name = 'shared_pool_size';
>
>
> I get
>
> SHARED_POOL_USED SHARED_POOL_SIZE SHARED_POOL_AVAIL SHARED_POOL_PCT
> ---------------- ---------------- ----------------- ---------------
> 51.83 50.00 -1.83 103.67
>
> And
>
> select * from v$sgastat
> where name='free memory'
> and pool = 'shared pool';
>
> shows
>
> POOL NAME BYTES
> ----------- -------------------------- ----------
> shared pool free memory 2891628
>
> So I have 50MB and I am using 103.67 percent of it. And there are still some
> free bytes left... Where is my mistake?
>
> Regards,
>
> Knut
Received on Fri Jun 21 2002 - 23:02:04 CDT

Original text of this message

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