Академический Документы
Профессиональный Документы
Культура Документы
This appendix describes the Optimal Flexible Architecture standard. The standard is a
set of configuration guidelines created to ensure well organized Oracle installations
that are easier to maintain. It includes information about the following topics:
File Systems
Naming Directories
File Systems
The following sections describe the conventions for mount points:
Naming Conventions
D-1
Naming Conventions
Name all file system mount points using the syntax /pm, where p is a string constant
and m is a unique fixed-length key (typically a two-digit number) used to distinguish
each mount point. For example: /u01 and /u02, or /disk01 and /disk02.
Naming Directories
The following sections describe the naming conventions for directories that are
compliant with the Optimal Flexible Architecture standard:
Naming Subdirectories
Variable
Description
pm
The name of the owner of the directory (the user running Oracle Universal
Installer)
Table D2
Variable
Description
A string denoting that Oracle data is stored in this directory, for example,
oradata
The value of the initialization parameter DB_NAME (typically the same as the
instance SID for single-instance databases)
For example, to allocate two drives exclusively for the test database, name the mount
points /u01/app/oracle/oradata/test and
/u02/app/oracle/oradata/test.
Variable
Description
pm
type
The type of installation, for example Database (db), Client (client), or Oracle
Clusterware (crs)
An optional counter, which enables you to install the same product more than
once in the same Oracle base directory
For example:
/u01/app/oracle/product/11.1.0/db_1 indicates the Oracle home directory
for the first installation of Oracle Database on this system.
Set the ORACLE_HOME environment variable after installation to specify the Oracle
home directory.
Naming Subdirectories
To facilitate the organization of administrative data, Oracle recommends that you store
database-specific administration files in subdirectories matching the pattern
/h/admin/d/a/, where h is the Oracle base directory, d is the database name (DB_
NAME), and a is a subdirectory for specific types of database administration files.
Table D4 describes the database administration file subdirectories.
D-3
Table D4
Subdirectory
Description
adhoc
arch
adump
Audit files
(Set the AUDIT_FILE_DEST initialization parameter to specify the adump
directory. Clean out this subdirectory periodically.)
create
exp
logbook
pfile
Diagnostic Data
10g Location
11g Location
user_dump_dest
ADR_HOME/trace/
background_dump_dest
ADR_HOME/trace/
background_dump_dest
ADR_HOME/alert/
Core Dump
core_dump_dest
ADR_
HOME/incident/In/
Incident Dumps
user_dump_dest or
background_dump_dest
depending on the process.
ADR_
HOME/incident/In/
File Type
Control files
/h/q/d/control.ctl
File Type
/h/q/d/redon.log
Data files
/h/q/d/tn.dbf
Description
A string (typically oradata) distinguishing Oracle data from all other files
The value of the DB_NAME initialization parameter (typically, the same as the
instance SID for single-instance databases)
A two-digit string
Note: Do not store files other than control files, redo log files, or
data files associated with database d in the path /h/q/d.
See Also:
Table D6
Special Tablespaces
Tablespace
Required
Description
EXAMPLE
No
SYSAUX
Yes
SYSTEM
Yes
TEMP
Yes
Temporary segments
UNDOTBS1
Yes
USERS
No
Creating these special tablespaces is effective because data dictionary segments are
never dropped, and no other segments that can be dropped are allowed in the
SYSTEM tablespace.
D-5
Description
/u[0-9][0-9]
/*/home/*
/*/app/*
/*/app/applmgr
/*/app/oracle/product
/*/app/oracle/product/11.1.0
/*/app/oracle/admin/orcl
/*/app/oracle/admin/orcl/arch/*
/*/app/oracle/oradata
/*/app/oracle/oradata/orcl/*
Table D8
Directory
Description
Root directory
/u01/
/u01/app/
/u01/app/oracle/
/u01/app/oracle/admin/
/u01/app/oracle/admin/TAR
/u01/app/oracle/admin/db_name1/
/u01/app/oracle/admin/db_name2/
/u01/app/oracle/doc/
Online documentation
/u01/app/oracle/flash_recovery_area/
/u01/app/oracle/flash_recovery_area/db_
name1
Table D8
Directory
Description
/u01/app/oracle/flash_recovery_area/db_
name2
/u02/app/oracle/oradata
/u03/app/oracle/oradata
/u04/app/oracle/oradata
/u01/app/oracle/product/
Distribution files
/u01/app/oracle/product/11.1.0/db_1
/u01/app/crs/product/11.1.0/crs
/u01/app/kjf/
/u01/app/edm/
D-7