Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Can I use more memory than I have?
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'
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 Thu Jun 20 2002 - 12:09:36 CDT
![]() |
![]() |