| Oracle8i Personal Edition Administrator's Guide Release 2 (8.1.6) for Windows 98 A85313-01 |
|
Oracle8i Personal Edition uses initialization parameters on Windows 98 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 Personal Edition 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 98. In these cases, Windows 98 uses either the default value set in the Oracle8i kernel or does not use the parameter. This table describes these initialization parameters:
Windows 98-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 Administrators Guide. |
| Type | Size |
|---|---|
|
Maximum block size |
16,384 bytes or 16 kilobytes (KB) |
|
Maximum blocks per file |
4,194,304 blocks |
|
Maximum possible file size with 16 K sized blocks |
(4,194,304 * 16,384) = 64 gigabytes (GB) |
|
Maximum number of files per database (depends on block size): |
|
|
20,000 files |
|
|
40,000 files |
|
|
65,536 files |
|
|
65,536 files |
|
|
Maximum file size for a FAT file1 |
4 GB |
|
Maximum database size |
65,536 * 64 GB equals approximately 4 Petabytes (PB) |
|
Maximum number of extents per database (depends on block size). Typical values are: |
|
|
121 extents |
|
|
255 extents |
|
|
504 extents |
|
|
1032 extents |
|
|
2070 extents |
|
|
Shadow Process Memory: |
|
|
335 K |
|
|
254 K |
|
1
Maximum file size for a 16 bit FAT partition is 2 GB |
|
|
![]() Copyright © 2000 Oracle Corporation. All Rights Reserved. |
|