Previous | Table of Contents | Next |
Oracle determines the physical configuration of an instance by accessing the control files. However, there are a number of configuration parameters related to tuning that you do not want to reset manually each time you start an instance. To make this easier, Oracle provides a series of initialization files that are similar to the autoexec.bat and config.sys of Microsoft DOS. On multiuser Oracle systems, there are two primary initialization files that are used:
The initialization files are simple text files that you can edit with standard operating system editors, such as the wonderful vi editor in UNIX or Notepad under Microsoft Windows. The format is simple; you set a variable equal to a value. I have two gripes about the setup of these files. First, I hate to have to keep two files edited when one can do the job (personal preference). Second, the data is so scattered in these files with so many options commented out that it is difficult to see what you are setting and you have no history of what you were using in the past. Therefore, I like to redo my initialization file to contain the following sections (a sample init.ora file for UNIX systems is contained on the disk):
Before moving on to the next section on log and trace files, you need a few more notes. In multiuser Oracle systems, you can find the init.ora files in the dbs subdirectory under the ORACLE_HOME directory (the directory under which you locate all your Oracle software and administrative files. If this does not contain the actual file, it will contain at least a link that points to the init.ora file. The config.ora files are located in the pfile subdirectory under the ORACLE_BASE/admin/instance_name directory. In Personal Oracle, there is only an init.ora file, located under the /orawin/rdbms directory. This is probably enough to get you started in the world of Oracle initialization files. If you have a test Oracle instance available to you, try altering the configuration files and tuning parameters in this instance before you work on the instance that your company is depending on for its daily operations. If you do not have this luxury, be careful, make a copy of the original initialization files with another name (for example, initblue.ora.1jan98), and then try adjusting one parameter at a time until you build up your confidence.
Previous | Table of Contents | Next |