Home » RDBMS Server » Server Administration » 10g Why sga_target is not being used.  () 1 Vote
10g Why sga_target is not being used. [message #145551] Thu, 03 November 2005 14:49 Go to next message
nmacdannald
Messages: 460
Registered: July 2005
Location: Stockton, California - US...
Senior Member
Oracle version 10.1.0.2 (10g) on a Solaris 9 Sun Server V880 64 bit with 8 processors and 32 gigs RAM.

Why does it not want to use any more memory??? We have about 1000 users on.
The sga_target initlization parameter is set to 8 gigs.
The sga_max_size initlization parameter is set to 10 gigs.
The PGA_target initlization parameter is set to 3 gigs.

This server is running one instance and no other software.

It is only using about 2 gigs??? And another 2 for PGA. Why would it not want more memory? I thought it was supposed to morph itself to use more or less memory when needed.
Re: 10g Why sga_target is not being used. [message #145704 is a reply to message #145551] Fri, 04 November 2005 23:53 Go to previous messageGo to next message
Frank Naude
Messages: 4587
Registered: April 1998
Senior Member
Ensure that STATISTICS_LEVEL is set to TYPICAL or ALL.

Best regards.

Frank
Re: 10g Why sga_target is not being used. [message #145910 is a reply to message #145551] Mon, 07 November 2005 11:26 Go to previous messageGo to next message
nmacdannald
Messages: 460
Registered: July 2005
Location: Stockton, California - US...
Senior Member
Thank you Frank. We have statistics_level set to TYPICAL.
Neil.
Re: 10g Why sga_target is not being used. [message #145915 is a reply to message #145551] Mon, 07 November 2005 11:43 Go to previous messageGo to next message
nmacdannald
Messages: 460
Registered: July 2005
Location: Stockton, California - US...
Senior Member
Oracle support insists that if the instance wants more it will take it up to the SGA_MAX_SIZE. Also the PGA will alocate more if it wants. I guess at some point more memory is does not help the bottle neck.

The bottle neck is, on this system, flushing dirty blocks to disk. It can only write to disk at a set speed and having more memory does not help that. I have increased the number of dbwr, lgwr, and arc processes.

Thanks for the help!

[Updated on: Mon, 07 November 2005 11:45]

Report message to a moderator

icon6.gif  Re: 10g Why sga_target is not being used. [message #146345 is a reply to message #145551] Wed, 09 November 2005 23:45 Go to previous message
nmacdannald
Messages: 460
Registered: July 2005
Location: Stockton, California - US...
Senior Member
I believe you must also be running a spfile rather than a pfile.

Create spfile from pfile = '$ORACLE_HOME/dbs/init<sid>.ora';

then rename $ORACLE_HOME/dbs/init<sid>.ora
then bounce the db

Don't ever edit or otherwise touch the spfile!!!
You alter it via the alter database, alter system, and other indirect methods. I think you need to use the V$parameter file to view the settings?
Previous Topic: Export a single Table
Next Topic: 10g - pin (or make memory resident) function into keep pool
Goto Forum:
  


Current Time: Fri Jan 10 12:14:35 CST 2025