Previous Topic Next topic Print topic


Forward Recovery Log Files

Describes the location, creation, naming convention, and use of forward recovery log files.
Note: You must enable the creation of forward recovery log files and specify a location for generated log files. See Preparing for Database Recovery for details.

Log File Location

Once forward recovery logging is enabled, Server Enterprise Edition stores log files in the location specified by the ES_IMS_TLOG_PATH environment variable. Once created, you can move log files, but do not rename them. Before attempting to recover a database, all log files must reside in the directory specified by ES_IMS_TLOG_PATH.

When forward recovering logging is enabled, Enterprise Server IMS controls the size of the log files and any extensions.

Log File Naming Conventions

Each log file generated for forward recovery contains the name of the server that created it, and a timestamp representing the time it was created. The Recovery utility uses log file time stamps to determine which log files are required for the restoration, and excludes out-of-date log files from the recovery. This minimizes the time required to complete the recovery.

serverName-yymmddhhiisscc.TLOG

Where serverName is the name of the server on which the database is stored, and yymmddhhiisscc represents two digits for each: year, month, day, hour, minute, second, and microsecond.

Depending on the size of the database and the volume of transactions, recovery log files can become quite large. To better manage large-volume logs, Server Enterprise Edition occasionally creates extension logs. The name of an extension log file is the same as the originating log file, plus an appended extension number such as 001, 002, etc.

Previous Topic Next topic Print topic