Attention: The OFA rule numbers provided correspond to the original OFA recommendations published in The OFA Standard: Oracle7 for Open Systems, by Cary V. Millsap.
where:
p | is a string constant |
m | is a unique fixed-length key used to distinguish each mount point |
/u01 and /u02, or /disk01 and /disk02
where:
q | is a string denoting that Oracle data is stored here |
d | is the value of the initialization parameter DB_NAME (synonymous with the instance sid for single-instance databases) |
m | is a unique, fixed-length key distinguishing one mount from another |
where:
pm | is a mount point name |
h | is a standard directory name |
u | is the name of the owner of the directory |
Placing home directories at the same level in the UNIX file system allows home directories on different mount points. Refer to the collection of login homes with a single pattern, such as /*/app/*.
where:
h | is the login home directory of the Oracle software owner |
v | represents the version of the software |
where:
h | is the Oracle software owner's home directory |
d | is the database $DB_NAME |
adhoc | ad hoc SQL scripts for a given database |
arch | archived redo log files |
adump | audit files. Set AUDIT_FILE_DEST in configdb_name.ora to point here. Clean out this subdirectory periodically. |
bdump | background process trace files |
cdump | core dump files |
create | programs used to create the database |
exp | database export files |
logbook | files recording the status and history of the database |
pfile | instance parameter files |
udump | user SQL trace files |
/pm/q/d/control.ctl | control files |
/pm/q/d/redon.log | redo log files |
/pm/q/d/tn.dbf | data files |
pm | is a mount point name described earlier in this chapter |
q | is a string distinguishing Oracle data from all other files. The q layer is normally named ORACLE or oradata, satisfying OFA requirement 10a. |
d | is the $DB_NAME of the database. Naming the d layer $DB_NAME satisfies Requirement 10b. |
t | is an Oracle tablespace name |
n | is a fixed-length key for a given file type |
For each Oracle database, create the following special tablespaces, in addition to those needed for application segments:
SYSTEM | data dictionary segments |
TEMP | temporary segments |
RBS | rollback segments |
TOOLS | general-purpose tools |
USERS | miscellaneous user segments |
Because rollback segments are not stored in tablespaces holding applications data, the administrator is not blocked from taking an applications tablespace offline for maintenance. The segments are partitioned physically by type, and the administrator can record and predict data growth rates without complicated tools.
Although Oracle7 tablespace names can be thirty characters long, portable UNIX file names are restricted to fourteen characters. The recommended standard for a data file basename is tn.dbf, where t is a tablespace name and n is a two-digit string.
Note: Do not embed reminders of the word "tablespace" in your tablespace names. Tablespaces are distinguishable by context, and names do not need to convey information about type.
/u[0-9][0-9] user data directories
/*/home/* user home directories
/*/app/* user application software directories
/*/app/applmgr Oracle applications software subtrees
/*/app/oracle/product Oracle Server software subtrees
/*/app/oracle/product/7.2.3 Oracle Server 7.2.3 distribution files
/*/app/oracle/admin/sab sab database administrative subtrees
/*/app/oracle/admin/sab/arch/* sab database archived log files
/*/oradata Oracle database directories
/*/oradata/sab/* sab database files
/*/oradata/sab/*.log sab database redo log files
/ | root mount point | |||||
u01/ | 'user data' mount point #1 | |||||
app/ | subtree for app software | |||||
oracle/ | home for oracle software owner | |||||
admin/ | subtree for database admin files | |||||
TAR/ | subtree for Support logs | |||||
db_name1/ | admin subtree for db_name1 database | |||||
db_name2/ | admin subtree for db_name2 database | |||||
db_name2/ | admin subtree for db_name2 database | |||||
local/ | subtree for local Oracle software | |||||
aps6/ | an Oracle6 admin package | |||||
aps7/ | an Oracle7 admin package | |||||
product/ | distribution files | |||||
7.1.6/ | ORACLE_HOME for 7.1.6 instances | |||||
7.3.2/ | ORACLE_HOME for 7.3.2 instances | |||||
home/ | subtree for login home directories | |||||
ltb/ | home for a user | |||||
sbm/ | home for a user | |||||
oradata/ | subtree for Oracle data | |||||
db_name1/ | subtree for db_name1 database files | |||||
db_name2/ | subtree for db_name2 database files | |||||
u02/ | 'user data' mount point #2 | |||||
home/ | subtree for login home directories | |||||
cvm/ | home for a user | |||||
vrm/ | home for a user | |||||
oradata/ | subtree for Oracle data | |||||
db_name1/ | subtree for db_name1 database files | |||||
db_name2/ | subtree for db_name2 database files | |||||
u03/ | 'user data' mount point #3 | |||||
home/ | subtree for login home directories | |||||
oradata/ | subtree for Oracle data | |||||
db_name1/ | subtree for db_name1 database files | |||||
db_name2/ | subtree for db_name2 database files | |||||
u01/app/oracle/admin/sab/ | administrative directory for sab database | |||
adhoc/ | directory for miscellaneous scripts | |||
arch/ | log archive dest for all instances | |||
redo001.arc | archived redo log file | |||
bdump/ | directory for background dump files | |||
inst1/ | background dump dest for inst1 instance | |||
inst2/ | background dump dest for inst2 instance | |||
cdump/ | directory for core dump files | |||
inst1/ | core dump dest for inst1 instance | |||
inst2/ | core dump dest for inst2 instance | |||
create/ | directory for creation scripts | |||
1-rdbms.sql | SQL script to create inst database | |||
exp/ | directory for exports | |||
950920full.dmp | Sept 20 full export dump file | |||
export/ | directory for export parfiles | |||
import/ | directory for import parfiles | |||
logbook/ | directory for inst logbook entries | |||
inst1/ | directory for inst1 instance reports | |||
params.lst | v$parameter report for inst1 instance | |||
inst2/ | directory for inst2 instance reports | |||
params.lst | v$parameter report for inst2 instance | |||
user.lst | dba_users report | |||
pfile/ | directory for instance parameter files | |||
inst1/ | directory for inst1 instance parameters | |||
init | instance parameters for inst1 instance | |||
inst2/ | directory for inst1 instance parameters | |||
init | instance parameters for inst2 instance | |||
udump/ | directory for user dump files | |||
inst1/ | user dump dest for inst1 instance | |||
inst2/ | user dump dest for inst1 instance parameters | |||