Home » RDBMS Server » Server Administration » What is recommended size of SGA (Merged)
What is recommended size of SGA (Merged) [message #124080] Thu, 16 June 2005 06:09 Go to next message
faisalhanif
Messages: 11
Registered: May 2005
Location: Saudi Arabia
Junior Member
What is the recomended size of SGA.
MY SGA Size is the following:

Shared Pool = 80 MB
Buffer Cache= 0 MB
Large Pool = 8 MB

Total SGA = 89.751

When i am running my scipt the following error araise

ORA-04030 out of process memory when trying to allocate 6672 bytes.

What sould be the standard size of =SGA

Thanks

Thanks

[Updated on: Fri, 17 June 2005 18:35] by Moderator

Report message to a moderator

What is recomended size of SGA [message #124084 is a reply to message #124080] Thu, 16 June 2005 06:31 Go to previous messageGo to next message
sohailnawaz
Messages: 40
Registered: April 2005
Location: Saudi Arabia
Member
What is the recomended size of SGA.
MY SGA Size is the following:

Shared Pool = 80 MB
Buffer Cache= 0 MB
Large Pool = 8 MB

Total SGA = 89.751

When i am running my scipt the following error araise

ORA-04030 out of process memory when trying to allocate 6672 bytes.

What sould be the standard size of =SGA

Thanks
Re: What is recomended size of SGA [message #124094 is a reply to message #124084] Thu, 16 June 2005 07:21 Go to previous messageGo to next message
girish.rohini
Messages: 744
Registered: April 2005
Location: Delhi (India)
Senior Member
Shoail

The problem lies in size of buffer cache.

Sincerely i believe that before configuring this SGA, u must not have gone thru docs... or was it that u were just experimenting?

Well.. ideally SGA should range anywhere from 30 to 70% of ur total RAM capacity. Then in the defined sga... around 45% for shared pool, 45% for data buffer & 5% for redo log buffer...

Again its not a hard-n-fast thing that these components have to be sized this way... U may have differing sizes of these, duly judged on basis of performance of ur database.

...Girish
Re: What is recomended size of SGA [message #124101 is a reply to message #124080] Thu, 16 June 2005 07:39 Go to previous messageGo to next message
girish.rohini
Messages: 744
Registered: April 2005
Location: Delhi (India)
Senior Member
Hanif

The same message has been posted by SohailNawaz. Also, this time message has been posted on wrong forum.

pls refer to this link:
http://www.orafaq.com/forum/m/124094/70132/#msg_124094


....Girish
Re: What is recomended size of SGA [message #124104 is a reply to message #124080] Thu, 16 June 2005 07:42 Go to previous messageGo to next message
dmitry.nikiforov
Messages: 723
Registered: March 2005
Senior Member
ORA-04030 is not an SGA problem. It's a lack of OS memory,
available for Oracle processes.

Quote:


ORA-04030: out of process memory when trying to allocate num bytes str,str

Cause: Operating system process private memory has been exhausted.

Action: See the database administrator or operating system administrator to increase process memory quota. There may be a bug in the application that causes excessive allocations of process memory space.



Check whether you application performs memory expensive
operations like bulk collect into or something like that.

Rgds.
Re: What is recomended size of SGA [message #124105 is a reply to message #124104] Thu, 16 June 2005 07:48 Go to previous messageGo to next message
dmitry.nikiforov
Messages: 723
Registered: March 2005
Senior Member
And meanwhile, what is

"Buffer Cache= 0 MB" ?

Do you really want to say to us your instance doesn't have
buffer cache ?

What is the result of SHOW SGA instruction in SQL*Plus ?

Rgds.
Re: What is recomended size of SGA [message #124221 is a reply to message #124094] Thu, 16 June 2005 21:19 Go to previous messageGo to next message
sunil_v_mishra
Messages: 506
Registered: March 2005
Senior Member
hi,

Girishji.... as per your reply

>>In the defined sga... around 45% for shared pool, 45% for data buffer & 5% for redo log buffer...


Can you tell me why you selected size of redo buffer as 5% of SGA and database buffer AS 45 %.?

==>sohailnawaz... Girishji is correct as problem lies in size of buffer cach... I think you should read the working of Background process DBWR and importance of Buffer cache in SGA...you will know why buffer cach should not be Zero.


Thank you
From:- Sunil

[Updated on: Thu, 16 June 2005 21:33]

Report message to a moderator

Re: What is recomended size of SGA [message #124233 is a reply to message #124221] Fri, 17 June 2005 00:41 Go to previous messageGo to next message
girish.rohini
Messages: 744
Registered: April 2005
Location: Delhi (India)
Senior Member
Sunil

Tats a generalized convention. But again its not hard n fast thing that u have to do this configuration only. To begin with a database, if no sizing of components is coming to mind.. u can have this sizing convention. As per this rest 5% of sga is for configuring other dsefault components like large pool java pool etc..


Regds
Girish
Re: What is recomended size of SGA [message #124378 is a reply to message #124233] Fri, 17 June 2005 15:56 Go to previous message
sunil_v_mishra
Messages: 506
Registered: March 2005
Senior Member
hi,

Girishji ... I am giving you one example can u help me out by telling me what should be the default size of component of SGA.

---------------------------------------------------------------
Example:---
-User can connect to the databse.
-User can do only select on the tables of database
-There are many Users nearly 100 who are trying to execute same SQL.
Note:- User dont do any update or insert or delete on table in database
---------------------------------------------------------------

My Question here is ... what should be the better size of every componet of SGA for above senario?

Thank you

From:- Sunil
Previous Topic: Changing the FLASH_RECOVERY_AREA location
Next Topic: alter table storage parameters
Goto Forum:
  


Current Time: Fri Sep 27 02:16:12 CDT 2024