Directory Structure Within SAP Systems

Case1: Software installation with creation of a database instance (server and client installation)

In SAP systems, for each database instance a special MaxDB software package is installed which is only used by one database instance. This means, for example, that for 2 database instances of version 7.6, the MaxDB software of version 7.6 is installed twice.

The complete software installation on the database computer involves the following paths:

?     An Independent Program Path

?     A Dependent Path

?     An Independent Data Path

?     A run directory of the database instance

?     A path for storing the log volumes

?     A path for storing the data volumes

Default values for the directory structure

Path

Default Value under Microsoft Windows

Default Value  under UNIX/Linux

Independent Program Path

<drive>:\sapdb\programs

--bin

--pgm

--...

--...

/sapdb/programs

Dependent Path

<drive>:\sapdb\<database_name>\db

/sapdb/<database_name>/db

Independent Data Path

<drive>:\sapdb\data

/sapdb/data

Run directory of the database instance

<drive>:\sapdb\data\wrk\<database_name>

/var/opt/sdb/data/wrk/<database_name>

Storage of log volumes

<drive>:\sapdb\<database_name>\saplog

/var/opt/sdb/data/<database_name>/log

Storage of data volumes

<drive>:\sapdb\<database_name>\sapdata

/var/opt/sdb/data/<database_name>/data

To ensure the downward compatibility of the database software, the database system creates the following directories on UNIX/Linux:

Path

Contents of directory

/var/spool/sql

Links to current directories and files

/usr/spool/sql

Links to current directories and files

Case 2: Software installation as application server (client installation)

In a pure client installation, the following paths are created:

?     An Independent Program Path

?     An Independent Data Path

Default values for the directory structure

Path

Default Value on Microsoft Windows

Default Value on UNIX/Linux

Independent Program Path

<drive>:\sapdb\programs

--bin

--pgm

--...

--...

/sapdb/programs

Independent Data Path

<drive>:\sapdb\data

/sapdb/data

To ensure the downward compatibility of the database software, the database system creates the following directories on UNIX/Linux:

Path

Contents of directory

/var/spool/sql

Links to current directories and files

/usr/spool/sql

Links to current directories and files