Oracle Database - Environment Variables / Registry Values

Card Puncher Data Processing

Oracle Database - Environment Variables / Registry Values

About

To configure the database installation, Oracle provide several Environment variable / Registry Value.

If you start a database instance using spfile with an environment variable set, then its value is automatically stored in spfile. If you unset the environment variable subsequently and start the instance afresh, then database uses the parameter value of Oracle base stored in spfile.

Operating System

On Windows

Windows - Environment Variable

the registry

In Windows, you can find all Oracle registry value in

HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE

Oracle Registry Windows

On Linux

Display

To display the current value of an Linux environment variable, use the env command. For example, to display the value of the ORACLE_SID environment variable, run the following command:

$ env | grep ORACLE_SID

To display the current value of all environment variables, run the env command as follows:

$ env | more

Configure

Update the startup files of the oracle user and the operating system accounts of Oracle users, specifying the appropriate environment variables in the environment file.

  • For the Bourne, Bash, or Korn shell, add the environment variables to the .profile file, or the .bash_profile file for the Bash shell on Red Hat Enterprise Linux.
  • For the C shell, add the environment variables to the .login file.

You can use the oraenv or coraenv script to ensure that Oracle user accounts are updated.

Documentation / Reference





Discover More
Oracle Database Nls Lang Windows Registry
Oracle Database - NLS_LANG (LOCALE)

NLS_LANG is an environment parameter used to set the locale of a client application. Setting the NLS_LANG environment parameter is the simplest way to specify locale behaviour for Oracle Database software....
Card Puncher Data Processing
Oracle Database - TNS_ADMIN environement variable

TNS_ADMIN is a environment variable value which give the directory where the file tnsnames.ora must be searched. It's really helpful when you have more than one Oracle Client Product installed. It takes...



Share this page:
Follow us:
Task Runner