Background documentationRun Directory Locate this document in the navigation structure


The run directory of a database is the directory where the database system saves the configuration and log files of the database. If you enter a relative path when working with a database, the database system will always interpret this path as being relative to the run directory.

The default value for the run directory path is <independent_data_path>\wrk\<database_name>. When creating a new database, you configure the directory <independent_data_path> and thus the run directory path.

Note Note

To display <independent_data_path> for the database <database_name>, enter the following command on the command line:

dbmcli -d <database_name> -u <dbm_operator_name>,<dbm_operator_password> dbm_getpath IndepDataPath

You require the name and password of a DBM operator.

More information: Database Manager CLI, dbm_getpath

End of the note.

The database system stores the run directory path in the RunDirectoryPath general database parameter.

When you restart the database after a system failure, the database system moves the old log files to the <diag_history_path> directory. The default value for this directory is <independent_data_path>\wrk\<database_name>\DIAGHISTORY.


Run directory of the DEMODB database

  • Microsoft Windows:

    C:\Documents and Settings\All Users\Application Data\sdb\data\wrk\DEMODB

  • Unix and Linux:


More Information

Glossary, Directory, Log File, Configuration File

Database Studio, Displaying Database Properties

Database Administration in CCMS, Properties