Operating System - HP-UX
1753738 Members
4424 Online
108799 Solutions
New Discussion юеВ

Re: Recommendations for tunable shmmax in preparation for Oracle10g

 
SOLVED
Go to solution
Ralph Grothe
Honored Contributor

Re: Recommendations for tunable shmmax in preparation for Oracle10g

Hi Court,

at the moment the value is set to abt. 22 GB (of 32 GB RAM), so I would think I could well leave it at that.

# kmtune -q shmmax|perl -alne 'print hex($F[1])/2**30 if $F[0] eq "shmmax"'
22


How can I find out how much memory was assigned to the old 9i DB?
In the pfile init.ora I couldn't find some sga param.
There must exist a view in the data dictionary that one can query by a simple SQL statement?
Madness, thy name is system administration
Ralph Grothe
Honored Contributor

Re: Recommendations for tunable shmmax in preparation for Oracle10g

Wait, I think this should suffice as a clue

# ipcs -mob|grep oracle
m 368649 0xe0377310 --rw-rw---- oracle dba 13 98275328
m 3082 0xe71d289c --rw-r----- oracle dba 797 13826273280
Madness, thy name is system administration
Court Campbell
Honored Contributor

Re: Recommendations for tunable shmmax in preparation for Oracle10g

Login to sqlplus and;

>show sga

That will show the sga size.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Court Campbell
Honored Contributor

Re: Recommendations for tunable shmmax in preparation for Oracle10g

I truly recommend that you read this:

http://orafaq.com/node/8

I believe that it will answer a lot of your questions.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
TwoProc
Honored Contributor

Re: Recommendations for tunable shmmax in preparation for Oracle10g

Small point - but , set it just a bit bigger than db_cache_size - because this most likely is your largest piece of the SGA. The other parts of the SGA will be perfectly happy living in their own segment(s) after the buffer cache gets its own big space.
We are the people our parents warned us about --Jimmy Buffett
Tim Nelson
Honored Contributor

Re: Recommendations for tunable shmmax in preparation for Oracle10g

Duely noted Court,

I think all responses are valid and helpfull enough to help Ralph make his decision.



Ralph Grothe
Honored Contributor

Re: Recommendations for tunable shmmax in preparation for Oracle10g

show sga:

SQL>
Total System Global Area 1.3809E+10 bytes
Fixed Size 756808 bytes
Variable Size 1795162112 bytes
Database Buffers 1.2012E+10 bytes
Redo Buffers 1060864 bytes


which indeed is the shm seg @ ID 522 as I already have assumed:

# ipcs -mob|grep ora
m 167945 0xe0377310 --rw-rw---- oracle dba 12 98275328
m 522 0xe71d289c --rw-rw---- oracle dba 1165 13826273280
Madness, thy name is system administration