Oracle8 Client Getting Started for Windows NT and Windows 95
Release 8.0.3
A54632_01

Library

Product

Contents

Index


Prev Next

B
Configuration Parameters and the Registry

The registry stores the Oracle configuration parameters. This appendix describes only the configuration parameters that apply to Oracle client products on Windows NT.

Specific topics discussed are:

About Configuration Parameters

Oracle8 Client software uses configuration parameters to locate files and specify runtime parameters common to all Oracle products. When an Oracle program or application requires a translation for a particular configuration variable, Oracle8 Client consults the associated parameter. Oracle parameters are stored in the registry.

Registry Overview

Oracle8 Client stores its configuration information in a database (the registry) that is organized in a tree format. The tree format consists of keys in the registry and parameter values for the keys. Keys and parameter values can be viewed and modified in the Registry Editor.

Keys are folders that appear in left pane of a Registry Editor window. A key contains subkeys or parameters.

ATTENTION:

The Registry Editor allows you to view and modify registry keys and parameter values. Normally, you do not need to do so, and in fact, are liable to break your system if you make incorrect changes.  

Parameters in the Registry Editor appear as a string that consists of three components:

For example, parameter ORACLE_HOME has the following entry in the registry:

ORACLE_HOME:REG_EXPAND_SZ:ORCL

Value classes for Oracle8 Client parameters are:

Registry Parameters

This section describes the main Oracle8 database registry parameters. Other products, such as Oracle Enterprise Manager, have additional keys and parameters.

This section describes the parameters for the following keys:

HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE

HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE contains the following:

HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES

HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES contains the following subkeys:

HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES
\ORACLE80\PERFORMANCE

HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES
\ORACLE80\PERFORMANCE
contains the following values

Note:

Modify only Hostname, Password and Username values to point to any database.  

:

For the Oracle8 Performance Monitor to display information for Oracle8 performance objects, it must actually log on to the database. Modify the following parameters if the default information is not applicable or you want to access another database:

Parameter   Description   Default Value Entry  

Hostname  

Displays a Net8 connect string that allows you to edit the SID (two ORCL entries in this example):1

DESCRIPTION=

(ADDRESS_LIST=

(ADDRESS=

(PROTOCOL=BEQ)

(PROGRAM=oracle80)

(ARGV0=oracle80orcl)

(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=
(PROTOCOL=beq)))')

)

)

(CONNECT_DATA=(SID=ORCL))

)  

n/a

 

Password  

Displays the password for the user name to access the database.  

Manager  

Username  

Displays the user name to access the database.  

SYSTEM  

1 The 2:, 2:orcl, and 2:sid connect strings for local connections to Oracle8 Client are not supported. Instead, the new default connect string for a local connection uses the Bequeath Protocol Adapter.

The following parameters are needed by the Oracle8 Performance Monitor as entry points.

Parameter   Description   Default Value Entry  

Close  

Specifies the close entry point for the DLL.  

CloseOracle8PerformanceData

 

Collect  

Specifies the collect entry point for the DLL.  

CollectOracle8PerformanceData  

Open  

Specifies the open entry point for the DLL.  

OpenOracle8PerformanceData  

Library  

Specifies the name of the Oracle8 Performance Monitor DLL.

Default Value:  

OPERF80.DLL  

The following parameters specify Oracle8 Performance Monitor log file and object configuration file.

Parameter   Description   Default Value Entry  

LOGFILE  

Specifies the name of the Oracle8 Performance Monitor log file. This log file reports any errors, such as Oracle8 objects not displaying or database access problems.  

ORACLE_HOME\DBS
\OPERF80.LOG  

PERF__FILE_
NAME  

Specifies the location of PERF80.ORA. PERF80.ORA contains all the performance objects displayed by the Oracle8 Performance Monitor.  

ORACLE_HOME\DBS\PERF80.ORA  

HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES
\Service

HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES contains subkeys that correspond to services:

If you installed other products, you may also see other subkeys for additional services.

Each service subkey contains the following parameters:

Parameter   Description   Default Value Entry  

DisplayName  

Specifies the service name of the instances whose SID is SID.  

OracleServiceORCL  

ImagePath  

Specifies the fully-qualified path name of the executable invoked by the service and any command-line arguments passed into the executable at runtime.  

ORACLE_HOME\BIN
\ORACLE80.EXE ORCL

 

ObjectName  

Specifies the logon user account and machine to which the service should log on.  

LocalSystem  

Modifying a Registry Value

caution:

Do not edit your registry unless it is absolutely necessary. If there is an error in your registry, your Oracle8 Enterprise Edition may become nonfunctional. In fact, the registry itself can become unstable.  

To edit the Oracle-related settings:

  1. Start the Registry in either of two ways:
  2. The Registry Editor window appears:

  3. Navigate to the values you want to view or modify by double-clicking keys.
  4. The left-hand side of the windows shows the hierarchy of registry keys, and the right-hand side of the window shows various values associated with a key:

  5. Double-click the parameter to edit.
  6. An editor dialog box appears:

  7. Make any necessary edits.
  8. Choose OK.
  9. From the Registry menu, choose Exit.

Adding a Registry Parameter

To add a parameter to the registry:

  1. Start the registry in either of two ways:
  2. The Registry Editor window appears.

  3. Navigate to the key where you want to add the new value.
  4. Choose the Add Value option in the Edit menu.
  5. The Add Value dialog box appears:

  6. In the Value Name field, enter the name that you want to assign to the currently selected key.
  7. In the Data Type box, select the value class that you want to assign the added value:
  8. Choose OK.
  9. An editor dialog box appropriate for the data type appears:

  10. Enter the value itself for the parameter.
  11. The Registry Editor adds the parameter.

  12. Choose Exit from the Registry menu.
  13. The registry exits.




Prev

Next
Oracle
Copyright © 1997 Oracle Corporation.
All Rights Reserved.

Library

Product

Contents

Index