Entering content frame

Function documentation Directories Locate the document in its SAP Library structure

Use

The database and its tools create a series of directories.

Important directories of the database system

Name

Path

Default Values / Description

Installation directory

<inst_path>

c:\Program Files\sdb (Windows)

/opt/sdb (UNIX/Linux)

Directory of the data, configuration and run directories of database instances and applications

<independent_data_path>

c:\Documents and Settings\All Users\Application Data\sdb\data (Windows*)

/var/opt/sdb/data (UNIX/Linux)

Configuration directory

<independent_data_path>\config

Includes the configuration files for database parameters and the files for user authorization, among others

Run directory of database instance <database_name>

<independent_data_path>\wrk\<database_name>

 

Directory of the programs and libraries used jointly by database instances and applications

<independent_program_path>

c:\Program Files\sdb\programs (Windows*)

/opt/sdb/programs (UNIX/Linux)

These programs are installed once for each computer only. This directory and its subdirectories always contain the programs for the latest version of the database software that is installed.

It also contains the libraries for the clients’ runtime environment. These are installed once for each computer, although it is possible that they are available in different versions.

Directory of the server software depending on the database version

<dependent_path>

Software installation only:

c:\Program Files\sdb\<version>

(Microsoft Windows*)

/opt/sdb/<version>

(UNIX/Linux)

 

Installation of software and database instance:

c:\Program Files\sdb\<database_name>

(Microsoft Windows*)

/opt/sdb/<database_name>

(UNIX/Linux)

 

These programs are installed once for each database instance only.

The path has to be unique. Several directories of different versions can exist.

The programs in these version-dependent directories are not executed directly by the user, but are called using the programs stored in the <independent_program_path>.

* System default if MaxDB software was not yet installed. If an older version of MaxDB exists, the installation program proposes the paths belonging to this version for the new installation.

 

The following conventions apply to SAP systems:

Path

Description

\sapdb\<database_name>\sapdata

Directory for the data volumes

\sapdb\<database_name>\saplog

Directory for the log volumes and the mirrored log volumes

When planning the directory structure for a production system, consider the Tips for Creating a Database Instance.

The directories are defined when the database software is installed (see Installation Manual). You can either use the system default or define different paths. You can choose the installation directory for the database tools without restrictions. You can install the database tools on the database computer as well as on a different computer. For an RPM-based installation on Linux, you cannot freely choose the directories.

Before you change a directory path or name, first check the dependencies on other directories and contact support if necessary.

To display the paths of the most important directories, use the Database Manager CLI (see Installation and Registration Management).

See also:

Variables and Examples

 

Leaving content frame