Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB   


 

 

 


 

 

 

 
 

Oracle Concepts - initialization parameters init.ora

Oracle Tips by Burleson Consulting

The Oracle initialization parameter file

When the Oracle database is started, one of the first things it needs to do is read the database initialization parameter file. The parameter file (init.ora) is created by the DBA and defines the overall instance configuration, such as how much memory should be allocated to the instance, the file locations, and internal optimization parameters.

Here is a sample init.ora file:

db_cache_size = 176000M

db_2k_cache_size = 2048M

db_16k_cache_size = 99000M

db_keep_cache_size = 600000M

db_recycle_cache_size = 64000M

shared_pool_size = 14000M

In this section we will look at the database parameter file in more detail. First we will look at the two different types of parameter files you can use, PFILE’s and SPFILE’s, followed by a look at the parameters that are maintained in the database parameter file. Finally, we will look at how to manage the initialization parameter file.

Oracle init.ora Parameters

The initialization parameters are a very important part of the Oracle database. Oracle reads the initialization parameter values from either a PFILE or SPFILE as the database is starting. The parameters tell the Oracle programs how much memory to allocate, where to put files related to the database and the location of existing datafiles.

A parameter has a name and a value. In this example, we have a parameter named db_block_size. This parameter tells oracle how big each individual block in the database is (we discussed blocks in an earlier chapter in this book). In this case, each block is 8192 bytes, or 8k, in size.

db_cache_size=8192

The next parameter you see is the background_dump_dest parameter. This parameter defines the location of Oracle trace files (log files) that are created by the Oracle background processes (we talked about the Oracle processes earlier in this book) and the important alert log where database messages reside. In this case, all files written by Oracle background processes will be in the /u01/oracle/admin/mydb/bdump directory.

background_dump_dest=/u01/oracle/admin/mydb/bdump

You can find all the Oracle Database parameters at Oracle’s web site, tahiti.oracle.com. Look in the reference guide and you will find them all listed, except for undocumented hidden parameters.  These parameters, while changeable, should only be modified with the aid of an experienced DBA or Oracle Technical Support (called MOSC).

Some parameters are dynamic and they can be changed while the database is running. For example, you can decrease the database buffer cache in many cases while the database instance is running with the alter system command:

alter system set db_recovery_file_dest_size=10g;

In this example, we dynamically changed the parameter db_recovery_file_dest to a value of 10 gigabytes (10g). The database will maintain this parameter until it is rebooted, unless a SPFILE is used. We will talk about SPFILE’s shortly.

This is an excerpt from the bestselling "Easy Oracle Jumpstart" by Robert Freeman and Steve Karam (Oracle ACE and Oracle Certified Master).  It’s only $19.95 when you buy it directly from the publisher here.

If you like Oracle tuning, you may enjoy the new book "Oracle Tuning: The Definitive Reference", over 900 pages of BC's favorite tuning tips & scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot of Oracle tuning scripts.


 

 

  
 

 
 
 
 
Oracle performance tuning software
 
 

 

 
 
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2012 

All rights reserved.

Oracle © is the registered trademark of Oracle Corporation.