SGA related queries [message #559230] |
Sat, 30 June 2012 00:51  |
charuamit
Messages: 121 Registered: January 2009
|
Senior Member |
|
|
Dear Friends
Oracle Version 10.1.0.2.0
OS - Windows XP
I have a couple of questions...I started reading about SGA and am little confused .
My init.ora :
java_pool_size=62914560
large_pool_size=41943040
shared_pool_size=125829120
SQL> show parameter spfile;
NAME TYPE VALUE
------------------------------------ -------------------------------- ------------------------------
spfile string G:\ORACLE\PRODUCT\10.1.0\DB_1\
DATABASE\SPFILEORCL.ORA
SQL> show parameter sga;
NAME TYPE VALUE
------------------------------------ -------------------------------- ------------------------------
lock_sga boolean FALSE
pre_page_sga boolean FALSE
sga_max_size big integer 1002438656
sga_target big integer 838860800
Before we had manual memory management.
Later i made it automated by setting the sga_target and sga_max_size.
But i didn't make the settings for java pool , large pool and shared pool 0 in init.ora ...
Doubt 1 :
Should I make them zero in init.ora or it doesnot matter as spfile is used for instance startup in my case ?
Doubt 2 :
My SGA size is 800 MB.
Now :
SQL> select pool,sum(bytes) from v$sgastat group by pool;
POOL SUM(BYTES)
------------ ----------
java pool 62914560
large pool 25181860
shared pool 205520896
542381484
That blank column in pool column is for what ? Is it the Null pool (means the redo and data buffers )
SQL> select sum(bytes) from v$sgastat;
SUM(BYTES)
----------
835998800
means approx 797.8 MB
where my SGA is 800MB ...does that mean I very little free space left in SGA ....do i need to do something or is it fine..
Sorry for asking a lot !!
But need clarifications to make my concepts clear.
Thanks and Regards.
|
|
|
|
Re: SGA related queries [message #559235 is a reply to message #559233] |
Sat, 30 June 2012 01:13   |
charuamit
Messages: 121 Registered: January 2009
|
Senior Member |
|
|
Thanks Michel
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod
PL/SQL Release 10.1.0.2.0 - Production
CORE 10.1.0.2.0 Production
TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
NLSRTL Version 10.1.0.2.0 - Production
I read somewhere when we switch from manual to automatic memory management , we have to set the sga_target and also we need
to set the various pools = 0 as we dont need to set them individually.
Is this statement correct ??
Thanks and Regards
Charu
|
|
|
|
|