The database system stores configuration files and log files in the run directory of a database instance.
The run directory is created when a new database instance is generated. The path of the run directory is determined by the general database parameter RUNDIRECTORY. The default value is <independent_data_path>\wrk\<database_name>.
If you enter a relative path when working with a database instance, the database system will always interpret this path as being relative to the run directory.
When you restart the database after a system failure, the log files of the database instance are overwritten in the run directory. Older log files are therefore moved to the <diag_history_path> directory. The default value for this directory is <independent_data_path>\wrk\<database_name>\DIAGHISTORY.
See also:
Database Manager CLI:
· Querying the Current Run Directory (example for the command param_getfull)
Concepts of the Database System: