Put your tips and tricks online - Share your knowledge! Login | Register
 
 
  Search     Advanced search
 

Home | Ask Question | Add tip | Questions | My tips | Recent tips & tricks | Suggest a category | FAQ | Forums

 
 
 
 Category : Home > Databases > Oracle > Oracle 10g     

Oracle automatic memory management


In Oracle10g memory can be managed automatically by setting parameter sga_target. Oracle will
then manage parameters like: db_cache_size, shared_pool_size, java_pool_size,
large_pool_size. You will see new '__' parameters created by Oracle:
__db_cache_size, __shared_pool_size, __java_pool_size, __large_pool_size, these are now
dynamically managed.

Check what sga_target is set to:



SQL> sho parameter sga_target

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
sga_target                           big integer 1216M

To change sga_target:

$ sqlplus "/ as sysdba"

SQL> alter system set sga_target = 2000M scope = spfile;

System altered.

SQL> shutdown immediate

SQL> startup

To disable Oracle automatic memory management:

SQL> alter system set sga_target = 0 scope = spfile;

System altered.

SQL> shutdown immediate

SQL> startup


 
   This tip was posted as an answer to question: I am trying to change db_cache_size to 500M instead of 1000M. I change it, bounce the database but the SGA size does not change and there is a parameter __db_cache_size which is still set to 1000M. How can I change this?   
 

  Options
 
   del.icio.us  |  newsvine  |  digg  |  furl  |  google  |  yahoo  |  Ma.gnolia  |  vigillar  |  reddit  |  technorati  |  icerocket  |  pubsub

       Rate this tip:    

Start discussion or add comment to this tip

  Details
Tip reference : #94
views : 816
Added on : 04/10/06
Submited by : h8dk97
 
Send a message Send a message Printer friendly output Printer friendly output
Display this member's tips Display this member's tips (149)
 
 
<< Previous Next >>
 Most viewed tips 
  Databases > Oracle > Security : How to unlock Oracle user account  
  Databases > Oracle > Performance Tuning : How to enable trace in Oracle  
  Databases > Oracle : Kill user session  
  Databases > Oracle : Scripts to backup Oracle database on Windows NT  
   
  All categories
Databases | Programming | Hardware | Operating Systems | Networking | Internet | ERP / CRM | Games & Multimedia | Graphics & Design | Miscellaneous | Office Software | TipLib FAQ
 
 

Home |  FAQ |  Terms of Use |  Privacy Policy

© 2005 tiplib.com