Вы находитесь на странице: 1из 4

DirectoryStructure(UNIX)(SAPLibrary-SAPDatabaseGuide:Oracle(BC-DB-ORA-D...

Page1of4

Directory Structure (UNIX)


Definition
This section describes the directory structure for the Oracle database with the UNIX operating system.

Use
The directories contain a range of files such as profiles, log files, scripts, executables, and so on. The following conventions apply to this section: Term $<name> <DBSID> <TSP> Meaning Environment variable $ORACLE_SID Tablespace short name For example, BTABD for the tablespace PSAPBTABD.

Structure
There are the following main structures: $ORACLE_HOME for Oracle-specific objects with the default directory /oracle/<DBSID>/<Oracle version> $SAPDATA_HOME for SAP-specific objects with the default directory /oracle/<DBSID> Executables with the directory /usr/sap/<SAPSID>/SYS/exe/run

Oracle Home Directory


This directory contains the following subdirectories: dbs/
spfile<DBSID>.ora init<DBSID>.ora init<DBSID>.sap

Oracle spfile

Profile for Oracle Profile for BR*Tools Database control file

cntrl<DBSID>.dbf

bin/ contains binaries such as oracle, sqlplus, exp, imp rwsr-xr-x ora<dbsid> dba oracle

SAP Home Directory


For the files starting log_, gmeans group and m means member: origlogA/
log_g11m1.dbf log_g13m1.dbf

origlogB/
log_g12m1.dbf

http://help.sap.com/saphelp_nw70/helpdata/en/20/f8e36764b1e049beee648a987e4315/con... 2013/12/27

DirectoryStructure(UNIX)(SAPLibrary-SAPDatabaseGuide:Oracle(BC-DB-ORA-D... Page2of4

log_g14m1.dbf

Mirrored redo logs are optional although we strongly recommend using them so the specification for mirrlogA and mirrlogB might vary: mirrlogA/
log_g11m2.dbf log_g13m2.dbf

mirrlogB/
log_g12m2.dbf log_g14m2.dbf

sapdata1/
cntrl/cntrl<DBSID>.dbf system_1/system.data1 btabd_1/btabd.data1 ...

Database control file

First SYSTEM tablespace file

Example of a SAP data file for tablespace PSAPBTABD

sapdata2/
cntrl/cntrl<DBSID>.dbf system_2/system.data2 btabi_1/btabi.data1 ...

Database control file

Example of a SAP data file for tablespace PSAPBTABI

sapdata<n>/ saparch/
arch<DBSID>.log

BRARCHIVE summary log

BRARCHIVE detail logs:


<encoded <encoded <encoded <encoded <encoded <encoded <encoded <encoded <encoded <encoded <encoded <encoded <encoded <encoded

timestamp>.sve Original saved timestamp>.svd Original saved and deleted timestamp>.cpy Original copied timestamp>.cpd Original copied and deleted timestamp>.dsv Deleted, were saved once timestamp>.dcp Deleted, were saved twice timestamp>.ssv Parallel saved on two stations timestamp>.ssd Parallel saved on two stations and deleted timestamp>.cps Copy and save timestamp>.cds Copy, delete and save timestamp>.qua Query which tapes to be used timestamp>.cma Determination of software compression rate timestamp>.tia Tape initialization timestamp>.fst Stop archiving using brarchive f stop BRBACKUP summary log

sapbackup/
back<DBSID>.log <encoded

timestamp>.xyz BRBACKUP detail log, where:

x = a (whole, previously all), p (partial) , f (full) , i (incremental) y = n (online) or f (offline) z = t (tape), p (pipe), d (disk), f(util_file), r (RMAN), s (remote disk, stage), xyz = qub Query for which tapes are to be used xyz = cmb Determination of software compression rate xyz = tib Tape initialization

http://help.sap.com/saphelp_nw70/helpdata/en/20/f8e36764b1e049beee648a987e4315/con... 2013/12/27

DirectoryStructure(UNIX)(SAPLibrary-SAPDatabaseGuide:Oracle(BC-DB-ORA-D... Page3of4

xyz xyz xyz


<encoded

= rmp RMAN preparation run = dbv Database verification with DBVERIFY = ddb Delete of disk backup timestamp>.xyz BRRESTORE detail log, where: Restore backup files Restore archive files Restore individual files

xyz = rsb xyz = rsa xyz = rsf


<encoded

timestamp>/ Disk backups Copies of profiles and log files

Copies of database files


<DBSID>/

spfile<DBSID>.ora init<DBSID>.ora init<DBSID>.sap back<DBSID>.log Summary log <encoded timestamp).xyz Detail log
BRRECOVER

log files

sapcheck/
<encoded <encoded <encoded <encoded

timestamp>.sta: log of brconnect f stats timestamp>.chk: log of brconnect f check timestamp>.nxt: log of brconnect f next timestamp>.cln: log of brconnect f cleanup logs writes scripts, parameter files, and restart files as follows to the directory: datestamp>/ddl.sql: Data Definition Language (DDL) statements for datestamp>.edd/expdat.dmp: export dump file for table export datestamp>/parfile.exp: parameter file for table export

sapreorg/
BRSPACE BRSPACE

<encoded <encoded <encoded


saptrace/
background/

table reorganization

alert_<DBSID>.log Oracle Alert file *.trc Oracle trace files


usertrace/

*.trc
oraarch/

User trace files

Oracle offline redo log files

Executables in Directory /usr/sap/<SAPSID>/SYS/exe/run


brarchive brbackup brconnect brrecover brrestore brspace brtools

http://help.sap.com/saphelp_nw70/helpdata/en/20/f8e36764b1e049beee648a987e4315/con... 2013/12/27

DirectoryStructure(UNIX)(SAPLibrary-SAPDatabaseGuide:Oracle(BC-DB-ORA-D... Page4of4

See also: Directory Structure (Windows)

http://help.sap.com/saphelp_nw70/helpdata/en/20/f8e36764b1e049beee648a987e4315/con... 2013/12/27

Вам также может понравиться