Entering content frame

Function documentation Directories Locate the document in the library structure

Use

The database and its tools create a series of directories.

Important Directories in the Database System

Path

Default Value
(Microsoft Windows)

Default Value
(UNIX/Linux)

Description

<dependent_path>

Software installation only:

c:\Program Files\sdb\<version> *

Installation of software and database instance:

c:\Program Files\sdb\<database_name>

Software installation only:

/opt/sdb/<version>

Installation of software and database instance:

/opt/sdb/<database_name>

Database version-dependent server software

These programs are installed once for each database instance.

Many directories from different versions can co-exist.

All 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>.

<independent_data_path>

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

/var/opt/sdb/data

Data, configuration and run directories of database instances and applications

<independent_data_path>\config

 

 

Configuration files for database parameters, data for user authorization, etc.

<independent_data_path>\wrk\<database_name>

 

 

Run directory of database instance <database_name>

<independent_data_path>\wrk\<database_name>\DIAGHISTORY

 

 

Directory in which the database system saves diagnosis files (backups of the most important log files and memory dumps) after a database error

You can configure the path of this directory with the special database parameter DIAG_HISTORY_PATH

<independent_program_path>

c:\Program Files\sdb\programs *

/opt/sdb/programs

Programs and libraries jointly used by all database instances and applications

These programs are installed once for each computer. This directory contains the programs of the newest installed version of the database software.

It also contains the runtime environment of the clients. These are installed once per computer.

<inst_path>

c:\Program Files\sdb

/opt/sdb

Installation directory of the database software

<tool_application_data>

<user_home>\Application Data\sdb\<tool>

<user_home>/.sdb/<tool>

Includes log and configuration files of the database tool <tool>

<tool_user_data>

<user_home>\My Documents\sdb\<tool>

<user_home>/sdb/<tool>

Contains the data generated with the database tool <tool> by the logged-on operating system user

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

 

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

Path

Description

/var/spool/sql

Contains links to current directories and files

/usr/spool/sql

Contains links to current directories and files

The following additional 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

Activities

If you are designing the directory structure for a production system, read the Tips for Creating and Configuring a Database Instance.

You define the directories when you install the database software. You can either accept the system default or define a different path.

You can install the database tools either on the database computer or on another 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 or, in SAP systems, the CCMS:

·        Database Manager CLI, Software Installation

·        Database Administration in CCMS: MaxDB, Structure linkDirectories

·        Database Administration in CCMS: SAP liveCache Technology, Structure linkDirectories

See also:

Variables and Examples

Creating and Configuring a Database Instance

Installation Manual

 

Leaving content frame