Oracle8i Administrator's Guide Release 2 (8.1.6) for Windows NT A73008-01 |
|
Oracle8i uses initialization parameters on Windows NT to enable various features of the database every time an instance is started.
Specific topics discussed are:
An initialization parameter file is an ASCII text file containing parameters. By changing the parameters and values in an initialization file, you can specify, for example:
Every database instance has a corresponding initialization parameter file and ORACLE_SID registry parameter that points to the system identifier (SID) for the instance.
The initialization parameter file name takes the form INIT.ORA. A single instance might have several initialization parameter files, each having some differences that affect system performance.
See:
|
By default, Oracle8i uses the initialization parameter files located in ORACLE_BASE\ADMIN\DB_NAME\PFILE, unless you specify a different initialization file with the PFILE option at database startup.
To customize Oracle8i database functions, you may need to edit the initialization parameter files. Only use an ASCII text editor to modify the file.
A sample file called INITSMPL.ORA is located in the ORACLE_BASE \ADMIN\SAMPLE\PFILE directory.
If you want to use the sample INITSMPL.ORA file as part of database creation:
If you installed a starter database, the initialization parameter file INIT.ORA used by the starter database is located in ORACLE_BASE\ADMIN\DB_NAME\PFILE. You can use either INITSMPL.ORA or the starter database INIT.ORA as a basis for creating a new Oracle8i database initialization parameter file.
The annotated, sample initialization parameter file contains alternative values for the initialization parameters. These values and the annotations are preceded by comment signs (#), which prevent them from being processed. To activate a particular parameter, remove the preceding # sign. When you no longer want to use a particular parameter, edit the initialization parameter file to add a comment sign.
For example, several initialization parameters are specified with three different values to create small, medium, or large System Global Areas (SGAs), respectively. The parameter that creates a small SGA is active in the following example:
db_block_buffers = 200 # SMALL
# db_block_buffers = 550 # MEDIUM
# db_block_buffers = 3200 # LARGE
To create a medium-sized SGA, comment out the small parameter definition and activate the medium parameter definition. Edit the initialization parameter file as follows:
# db_block_buffers = 200 # SMALL
db_block_buffers = 550 # MEDIUM
# db_block_buffers = 3200 # LARGE
Oracle8i Reference describes the default values for many initialization parameters as being operating system-specific. However, not all the parameters that Oracle8i Reference describes as having operating system-specific values affect Windows NT. In these cases, Windows NT uses either the default value set in the Oracle8i kernel or does not use the parameter. This table describes these initialization parameters:
Windows NT-specific parameter values can be viewed by using an ASCII editor to open the ORACLE_BASE\ADMIN\DB_NAME\PFILE\INIT.ORA file. To display all parameter values (whether set in the INIT.ORA file or the Oracle8i kernel), enter the following command at the SQL*Plus command prompt:
SQL> SHOW PARAMETER PARAMETER_NAME
where PARAMETER_NAME is the name of a specific initialization parameter.
The value for this parameter, whether defined in the ORACLE_BASE\ADMIN\DB_NAME\PFILE\INIT.ORA file or the Oracle8i kernel, displays on-screen.
Check the following initialization parameters when creating a new database. They cannot be modified after you have created the database. See Chapter 6, "Post-Installation Database Creation" for details on creating a new database, including the part of the procedure when you modify these parameters.
Parameter | Description |
---|---|
CHARACTER SET1 |
Specifies the database National Language Support (NLS) character set to use. This parameter can be set only when you create the database. |
DB_BLOCK_SIZE |
Specifies the size in bytes of Oracle database blocks. |
DB_NAME |
Specifies the name of the database to be created. The database name is a string of eight characters or less. You cannot change the name of a database. |
1
Not an initialization parameter, but rather a clause in the CREATE DATABASE statement. See Chapter 6, "Post-Installation Database Creation" for an example of using this clause.Calculating Database LimitsUse the size guidelines in the following table to calculate Oracle8i database limits using the equations given in the Oracle8i Administrator's Guide. |
See: To calculate the space required by an index, use the equations given in Oracle8i Administrator's Guide. |
|
![]() Copyright © 2000 Oracle Corporation. All Rights Reserved. |
|