查看环境变量env| more
oracle使用的变量
Table 1-1 OracleDatabase Environment Variables
unix上的环境变量
Table 1-2 EnvironmentVariables Used with Oracle Database
Variable |
Detail |
Definition |
ADA_PATH (AIX only) |
Function |
|
Syntax |
directory_path |
|
Example |
/usr/lpp/powerada |
|
Function |
Used with Java applications. The required setting for this variable depends on the Java application. Refer to the product documentation for your Java application for more information. |
|
Syntax |
Colon-separated list of directories or files: directory1:directory2:file1:file2 |
|
Example |
There is no default setting. CLASSPATH must include the following directories: $ORACLE_HOME/JRE/lib:$ORACLE_HOME/jlib |
|
Function |
Used by X-based tools. Specifies the display device used for input and output. Refer to the X Window System documentation for information. |
|
Syntax |
hostname:server[.screen] where hostname is the system name (either IP address or alias),server is the sequential code number for the server, andscreen is the sequential code number for the screen. If you use a single monitor, then use the value0 for both server and screen (0.0). Note: If you use a single monitor, then screen is optional. |
|
Example |
135.287.222.12:0.0 bambi:0 |
|
Function |
Specifies the list of directories that the shared library loader searches to locate shared object libraries at run time. See thedyld man page for information about this environment variable. |
|
Syntax |
Colon-separated list of directories: directory1:directory2:directory3 |
|
Example |
/usr/lib:$ORACLE_HOME/lib |
|
Function |
The home directory of the user. |
|
Syntax |
directory_path |
|
Example |
/home/oracle |
|
Function |
Specifies the language and character set used by the operating system for messages and other output. Refer to the operating system documentation for more information. Note: This environment variable is not used on Apple Mac OS X. |
|
Function |
Specifies the default linker options. Refer to the ld man page for more information about this environment variable. |
|
Function |
Specifies the name of the default printer. |
|
Syntax |
string |
|
Example |
docprinter |
|
Function |
Specifies the list of directories that the shared library loader searches to locate shared object libraries at run time. Refer to theld man page for information about this environment variable. On HP-UX, specifies the path for 64-bit shared libraries. |
|
Syntax |
Colon-separated list of directories: directory1:directory2:directory3 |
|
Example |
/usr/dt/lib:$ORACLE_HOME/lib |
|
LD_LIBRARY_PATH_64 (SPARC systems only) |
Function |
Specifies the list of directories that the shared library loader searches to locate specific 64-bit shared object libraries at run time. Refer to theld man page for information about this environment variable. |
Syntax |
Colon separated list of directories: directory1:directory2:directory3 |
|
Example |
/usr/dt/lib:$ORACLE_HOME/lib64 |
|
Function |
Specifies the list of directories that the shared library loader searches to locate shared object libraries at run time. Refer to theld man page for information about this environment variable. |
|
Syntax |
Colon-separated list of directories: directory1:directory2:directory3 |
|
Example |
/usr/dt/lib:$ORACLE_HOME/lib |
|
Function |
Used by the shell to locate executable programs; must include the$ORACLE_HOME/bin directory. |
|
Syntax |
Colon-separated list of directories: directory1:directory2:directory3 |
|
Example |
/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:$ORACLE_HOME/bin: $HOME/bin:. Note: The period adds the current working directory to the search path. |
|
Function |
Specifies the name of the default printer. |
|
Syntax |
string |
|
Example |
docprinter |
|
Function |
Specifies the list of directories that the shared library loader searches to locate shared object libraries at run time. Refer to theld man page for information about this environment variable. |
|
Syntax |
Colon-separated list of directories: directory1:directory2:directory3 |
|
Example |
/usr/dt/lib:$ORACLE_HOME/lib32 |
|
Function |
Specifies the default directories for temporary files; if set, tools that create temporary files create them in one of these directories. |
|
Syntax |
directory_path |
|
Example |
/u02/oracle/tmp |
|
Function |
Specifies a file containing X Window System resource definitions. Refer to the X Window System documentation for more information. |
db_block_size,在linux上最大值是16KB,在aix,hp-ux和tru64上是32KB
asm_diskstring的值
Table 1-3 Default Values of the ASM_DISKSTRING Initialization Parameter
Platform | Default Search String |
---|---|
AIX |
|
HP-UX |
|
Linux |
|
Mac OS X |
|
Solaris |
|
Tru64 UNIX |
|
log_archive_dest_n参数
The maximum value that you can set for ASYNC
in the LOG_ARCHIVE_DEST_
n initialization parameter differs on UNIX platforms as listed in the following table.
Platform | Maximum Value |
---|---|
zSeries Linux | 12800 |
HP-UX and Tru64 UNIX | 51200 |
Other operating systems | 102400 |
oracle的用户组
Table 1-4 Operating System Groups
Group | Typical Name | Description |
---|---|---|
OSDBA |
|
Operating system accounts that are members of the OSDBA group have special database privileges. Members of this group can connect to the database using the SYSDBA privilege. The Oracle software owner is the only required member of this group. You can add other accounts as required. |
OSOPER |
|
The OSOPER group is an optional group. Operating system accounts that are members of the OSOPER group have special database privileges. Members of this group can connect to the database using the SYSOPER privilege. |
Oracle Inventory |
|
All users installing Oracle software must belong to the same operating system group. This group is called the Oracle Inventory group. It must be the primary group of the Oracle software owner during installations. After the installation, this group owns all the Oracle files installed on the system. |