User Tools

Site Tools


configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
configuration [2018/12/08 12:49] – created 0.0.0.0configuration [2019/02/02 13:43] (current) stuart
Line 1: Line 1:
-====== Configuration ======+  * [[init.ora]] 
 +  * [[Install Oracle software, run netca and dbca without gui (silent option)]]
  
-*[[init.ora]]+==== Consequences on PGA of increasing processes parameter ==== 
 +If your database is running out of processes, increase the value along with sessions and transactions. But spare a thought for the PGA. 
 +<code> 
 +select max(p.pga_max_mem)/1024/1024 "PGA max process (MB)" 
 +from   v$process p 
 +,      v$session s 
 +where  p.addr = s.paddr 
 +and    s.username is not null; 
 +</code> 
 +<code> 
 +PGA max process (MB) 
 +-------------------- 
 +          142.203085 
 +</code> 
 +This shows the maximum amount of PGA used by an active process.\\ 
 +Now work out the total possible amount that could be used by the new value of processes. 
 +<code> 
 +select name 
 +,      value 
 +from   v$parameter 
 +where  name = 'processes'; 
 +</code> 
 +<code> 
 +NAME                 VALUE 
 +-------------------- ---------- 
 +processes            4000 
 + 
 +</code> 
 +So 140Mb 4000 is about 560Gb which is a lot! So either a lot more space (may) be needed for the PGA or the processes need to come down.\\ 
 +As an aside, this gets the total SGA: 
 +<code> 
 +select sum(value)/1024/1024 "Total SGA (MB)" from v$sga; 
 +</code>
  
-  * [[Install Oracle software, run netca and dbca without gui (silent option)]] 
configuration.1544273360.txt.gz · Last modified: 2018/12/08 12:49 by 0.0.0.0

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki